Nektar++
|
Represents a command-line configuration option. More...
#include <Module.h>
Public Member Functions | |
ConfigOption (bool isBool, string defValue, string desc) | |
Construct a new configuration option. More... | |
ConfigOption () | |
template<typename T > | |
T | as () |
Re-interpret the value stored in value as some type using boost::lexical_cast. More... | |
ConfigOption (bool isBool, string defValue, string desc) | |
Construct a new configuration option. More... | |
ConfigOption () | |
template<typename T > | |
T | as () |
Re-interpret the value stored in value as some type using boost::lexical_cast. More... | |
template<typename T > | |
bool | isType () |
Interpret the value stored in value as some type using boost::lexical_cast and return true of false depending on cast. More... | |
Public Attributes | |
bool | m_isBool |
True if the configuration option is a boolean (thus does not need additional arguments). More... | |
bool | m_beenSet |
True if the configuration option has been set at command line. If false, the default value will be put into value. More... | |
string | m_value |
The value of the configuration option. More... | |
string | m_defValue |
Default value of the configuration option. More... | |
string | m_desc |
Description of the configuration option. More... | |
bool | isBool |
True if the configuration option is a boolean (thus does not need additional arguments). More... | |
bool | beenSet |
True if the configuration option has been set at command line. If false, the default value will be put into value. More... | |
string | value |
The value of the configuration option. More... | |
string | defValue |
Default value of the configuration option. More... | |
string | desc |
Description of the configuration option. More... | |
Represents a command-line configuration option.
Definition at line 84 of file FieldConvert/Module.h.
|
inline |
Construct a new configuration option.
isBool | True if the option is boolean type. |
defValue | Default value of the option. |
desc | Description of the option. |
Definition at line 93 of file FieldConvert/Module.h.
|
inline |
Definition at line 96 of file FieldConvert/Module.h.
|
inline |
Construct a new configuration option.
isBool | True if the option is boolean type. |
defValue | Default value of the option. |
desc | Description of the option. |
Definition at line 88 of file NekMesh/Module.h.
|
inline |
Definition at line 91 of file NekMesh/Module.h.
|
inline |
Re-interpret the value stored in value as some type using boost::lexical_cast.
Definition at line 99 of file NekMesh/Module.h.
|
inline |
Re-interpret the value stored in value as some type using boost::lexical_cast.
Definition at line 105 of file FieldConvert/Module.h.
|
inline |
Interpret the value stored in value as some type using boost::lexical_cast and return true of false depending on cast.
Definition at line 117 of file NekMesh/Module.h.
bool Nektar::Utilities::ConfigOption::beenSet |
True if the configuration option has been set at command line. If false, the default value will be put into value.
Definition at line 138 of file NekMesh/Module.h.
string Nektar::Utilities::ConfigOption::defValue |
Default value of the configuration option.
Definition at line 142 of file NekMesh/Module.h.
string Nektar::Utilities::ConfigOption::desc |
Description of the configuration option.
Definition at line 144 of file NekMesh/Module.h.
bool Nektar::Utilities::ConfigOption::isBool |
True if the configuration option is a boolean (thus does not need additional arguments).
Definition at line 135 of file NekMesh/Module.h.
bool Nektar::Utilities::ConfigOption::m_beenSet |
True if the configuration option has been set at command line. If false, the default value will be put into value.
Definition at line 123 of file FieldConvert/Module.h.
string Nektar::Utilities::ConfigOption::m_defValue |
Default value of the configuration option.
Definition at line 127 of file FieldConvert/Module.h.
string Nektar::Utilities::ConfigOption::m_desc |
Description of the configuration option.
Definition at line 129 of file FieldConvert/Module.h.
bool Nektar::Utilities::ConfigOption::m_isBool |
True if the configuration option is a boolean (thus does not need additional arguments).
Definition at line 120 of file FieldConvert/Module.h.
string Nektar::Utilities::ConfigOption::m_value |
The value of the configuration option.
Definition at line 125 of file FieldConvert/Module.h.
string Nektar::Utilities::ConfigOption::value |
The value of the configuration option.
Definition at line 140 of file NekMesh/Module.h.