DGtal
1.5.beta
|
#include <DGtal/helpers/Parameters.h>
Public Types | |
typedef ParameterValue | Self |
Public Member Functions | |
ParameterValue ()=default | |
ParameterValue (const Self &v)=default | |
ParameterValue (Self &&v)=default | |
Self & | operator= (const Self &v)=default |
ParameterValue (const std::string &v) | |
template<typename X > | |
ParameterValue (const X &v) | |
template<typename T > | |
T | as () const |
void | selfDisplay (std::ostream &out) const |
Protected Attributes | |
std::string | myValue |
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.
Definition at line 120 of file Parameters.h.
|
default |
|
default |
|
default |
DGtal::ParameterValue::ParameterValue | ( | const std::string & | v | ) |
DGtal::ParameterValue::ParameterValue | ( | const X & | v | ) |
T DGtal::ParameterValue::as | ( | ) | const |
void DGtal::ParameterValue::selfDisplay | ( | std::ostream & | out | ) | const |
|
protected |
Definition at line 132 of file Parameters.h.