|
ActiveLib
|
Base class for an identified setting for interprocess communication. More...
#include <Setting.h>


Public Types | |
| using | Unique = std::unique_ptr<Setting> |
| Unique pointer. | |
| using | Shared = std::shared_ptr<Setting> |
| Shared pointer. | |
| using | Option = std::optional<Setting> |
| Optional. | |
Public Member Functions | |
| Setting (utility::NameID::Option identifier=std::nullopt) | |
| Setting (utility::String::Option name, utility::Guid::Option guid=std::nullopt) | |
| Setting (const Setting &source) | |
| virtual | ~Setting ()=default |
| virtual Setting * | clonePtr () const =0 |
| virtual bool | operator== (const Setting &ref) const =0 |
| virtual bool | operator< (const Setting &ref) const =0 |
| virtual Setting & | operator= (const Setting &source)=0 |
| virtual bool | empty () const =0 |
| True if the setting is empty. | |
| virtual utility::String | name () const |
| True if the setting is empty. | |
| virtual void | clear () |
| virtual void | setDefault ()=0 |
Public Member Functions inherited from active::utility::Cloner | |
| virtual | ~Cloner ()=default |
Public Attributes | |
| utility::NameID::Option | identity |
| Optional setting identity. | |
Base class for an identified setting for interprocess communication.
|
inline |
Constructor
| identifier | An optional identifier for the setting |
|
inline |
Constructor
| name | An optional identifying name for the setting |
| guid | An optional identifying guid for the setting |

|
inline |
Copy constructor
| source | The object to copy |
|
virtualdefault |
Destructor
|
inlinevirtual |
Clear the setting (remove any values)
Reimplemented in active::setting::ValueSetting.
|
pure virtual |
Clone method
Implements active::utility::Cloner.
Implemented in active::setting::ValueSetting.
|
pure virtual |
True if the setting is empty.
Implemented in active::setting::ValueSetting.
|
pure virtual |
Less-than operator
| ref | The value to compare |
Implemented in active::setting::ValueSetting.
Assignment operator
| source | The object to copy |
Implemented in active::setting::ValueSetting.
|
pure virtual |
Equality operator
| ref | The value to compare |
Implemented in active::setting::ValueSetting.
|
pure virtual |
Assign a default to the setting
Implemented in active::setting::ValueSetting.