DGtal  1.3.beta
Public Types | Public Member Functions | Protected Attributes
DGtal::ParameterValue Struct Reference

#include <DGtal/helpers/Parameters.h>

Public Types

typedef ParameterValue Self

Public Member Functions

 ParameterValue ()=default
 ParameterValue (const Self &v)=default
 ParameterValue (Self &&v)=default
Selfoperator= (const Self &v)=default
 ParameterValue (const std::string &v)
template<typename X >
 ParameterValue (const X &v)
template<typename T >
as () const
void selfDisplay (std::ostream &out) const

Protected Attributes

std::string myValue

Detailed Description

This class represents a parameter value as a string. It mimicks parameter values of boost::program_options.

Definition at line 119 of file Parameters.h.

Member Typedef Documentation

◆ Self

Definition at line 120 of file Parameters.h.

Constructor & Destructor Documentation

◆ ParameterValue() [1/5]

DGtal::ParameterValue::ParameterValue ( )

◆ ParameterValue() [2/5]

DGtal::ParameterValue::ParameterValue ( const Self v)

◆ ParameterValue() [3/5]

DGtal::ParameterValue::ParameterValue ( Self &&  v)

◆ ParameterValue() [4/5]

DGtal::ParameterValue::ParameterValue ( const std::string &  v)

◆ ParameterValue() [5/5]

template<typename X >
DGtal::ParameterValue::ParameterValue ( const X &  v)

Member Function Documentation

◆ as()

template<typename T >
T DGtal::ParameterValue::as ( ) const

◆ operator=()

Self& DGtal::ParameterValue::operator= ( const Self v)

◆ selfDisplay()

void DGtal::ParameterValue::selfDisplay ( std::ostream &  out) const

Field Documentation

◆ myValue

std::string DGtal::ParameterValue::myValue

Definition at line 132 of file Parameters.h.

The documentation for this struct was generated from the following file: