|
| | IntOption (OwnerType eOwnerType, const std::string &sName, int32_t nDefaultValue, const std::string &sDesc, int32_t nMin, int32_t nMax) noexcept |
| |
| | IntOption (OwnerType eOwnerType, const std::string &sName, int32_t nDefaultValue, const std::string &sDesc, bool bReadOnly, bool bVisible, const shared_ptr< Option > &refMaster, const std::vector< Variant > &aMasterValues, int32_t nMin, int32_t nMax) noexcept |
| |
| | IntOption (OwnerType eOwnerType, const std::string &sName, int32_t nDefaultValue, const std::string &sDesc, bool bReadOnly, bool bVisible, const std::vector< std::pair< shared_ptr< Option >, std::vector< Variant >>> &aMastersValues, int32_t nMin, int32_t nMax) noexcept |
| |
| bool | isValidValue (const Variant &oValue) const noexcept override |
| | Whether the value is valid for this option. More...
|
| |
| std::string | getValueAsCode (const Variant &oValue) const noexcept override |
| | Return a value as code. More...
|
| |
| std::pair< Variant, std::string > | getValueFromCode (const std::string &sCode) const noexcept override |
| | Convert code to value. More...
|
| |
| std::string | getValueAsDescriptive (const Variant &oValue) const noexcept override |
| | Return the value as a human readable string. More...
|
| |
| std::pair< Variant, std::string > | getValueFromString (const std::string &sValue) const noexcept override |
| | Convert string to value. More...
|
| |
| bool | allowsRange () const noexcept override |
| | Whether range of values is supported. More...
|
| |
| int32_t | getMin () const noexcept |
| |
| int32_t | getMax () const noexcept |
| |
| OwnerType | getOwnerType () const noexcept |
| |
| const std::string & | getName () const noexcept |
| |
| Variant | getDefaultValue () const noexcept |
| |
| const std::string & | getDesc () const noexcept |
| |
| bool | isReadonly () const noexcept |
| |
| bool | isVisible () const noexcept |
| |
| const std::vector< std::pair< shared_ptr< Option >, std::vector< Variant > > > & | getMastersValues () const noexcept |
| | Get the masters and their corresonding values for which this option is enabled. More...
|
| |
| bool | isSlave () const noexcept |
| |
|
| virtual | ~Option ()=default |
| |
| | Option (OwnerType eOwnerType, const std::string &sName, const Variant &oDefaultValue, const std::string &sDesc) noexcept |
| | Constructor. More...
|
| |
| | Option (OwnerType eOwnerType, const std::string &sName, const Variant &oDefaultValue, const std::string &sDesc, bool bReadOnly, bool bVisible, const shared_ptr< Option > &refMaster, const std::vector< Variant > &aMasterValues) noexcept |
| | One master constructor. More...
|
| |
| | Option (OwnerType eOwnerType, const std::string &sName, const Variant &oDefaultValue, const std::string &sDesc, bool bReadOnly, bool bVisible, const std::vector< std::pair< shared_ptr< Option >, std::vector< Variant >>> &aMastersValues) noexcept |
| | Generic constructor. More...
|
| |