template<typename T>
class neml2::Option< T >
Concrete definition of an option value for a specified type
|
| | Option (const std::string &name) |
| bool | operator== (const OptionBase &other) const override |
| | Test for option equality.
|
| bool | operator!= (const OptionBase &other) const override |
| | Test for option inequality.
|
| const T & | get () const |
| T & | set () |
| void | print (std::ostream &) const override |
| std::unique_ptr< OptionBase > | clone () const override |
| | OptionBase ()=default |
| | OptionBase (OptionBase &&)=delete |
| | OptionBase (const OptionBase &)=delete |
| OptionBase & | operator= (const OptionBase &)=delete |
| OptionBase & | operator= (OptionBase &&)=delete |
| virtual | ~OptionBase ()=default |
| const std::string & | name () const |
| | A readonly reference to the option's name.
|
| const std::string & | type () const |
| | A readonly reference to the option's type.
|
| const FType & | ftype () const |
| | A readonly reference to the option's ftype.
|
| FType & | ftype () |
| | A writable reference to the option's ftype.
|
| const std::string & | doc () const |
| | A readonly reference to the option's docstring.
|
| std::string & | doc () |
| | A writable reference to the option's docstring.
|
| const bool & | suppressed () const |
| | A readonly reference to the option's suppression status.
|
| bool & | suppressed () |
| | A writable reference to the option's suppression status.
|
| const bool & | user_specified () const |
| | A readonly reference to the option's user_specified status.
|
| bool & | user_specified () |
| | A writable reference to the option's user_specified status.
|