The Python option class. More...
Public Member Functions | |
PyOption (const T defaultValue, const std::string &identifier, const std::string &description, const std::string &alias, const std::string &cppName, const bool required=false, const bool input=true, const bool noTranspose=false, const std::string &bindingName="") | |
Construct a PyOption object. More... | |
The Python option class.
Definition at line 35 of file py_option.hpp.
|
inline |
Construct a PyOption object.
When constructed, it will register itself with IO.
Definition at line 42 of file py_option.hpp.
References IO::AddFunction(), IO::AddParameter(), ParamData::alias, ParamData::cppType, ParamData::desc, ParamData::input, ParamData::loaded, ParamData::name, ParamData::noTranspose, ParamData::required, ParamData::tname, TYPENAME, ParamData::value, and ParamData::wasPassed.