|
|
Common interface of any property definition. More...
#include <ArmarXCore/core/application/properties/PropertyDefinitionInterface.h>
Inheritance diagram for PropertyDefinitionBase:Public Types | |
| enum | PropertyConstness { eConstant, eModifiable } |
Public Member Functions | |
| virtual std::string | getDefaultAsString ()=0 |
| bool | isConstant () const |
| bool | isRequired () const |
| bool | isSet (std::string const &prefix, std::string const &propertyName, Ice::PropertiesPtr const &iceProperties) const |
| PropertyDefinitionBase (bool required=true, PropertyConstness constness=eConstant) | |
| virtual std::string | toString (PropertyDefinitionFormatter &formatter, const std::string &value)=0 |
| Converts the property definition into a string using a specified formatter. More... | |
| virtual void | writeValueToSetter (const std::string &prefix, Ice::PropertiesPtr)=0 |
| virtual | ~PropertyDefinitionBase () |
Static Public Member Functions | |
| static std::string | icePropertyGet (Ice::PropertiesPtr const &iceProperties, std::string const &key) |
Protected Attributes | |
| PropertyConstness | constness |
| bool | required |
| If set to true, the property must be explicitely set through configuration parameters. More... | |
Friends | |
| class | PropertyDefinitionContainer |
Common interface of any property definition.
This abstract class is part of the internal implementation
Definition at line 51 of file PropertyDefinitionInterface.h.
| enum PropertyConstness |
| Enumerator | |
|---|---|
| eConstant | |
| eModifiable | |
Definition at line 54 of file PropertyDefinitionInterface.h.
|
inline |
Definition at line 60 of file PropertyDefinitionInterface.h.
|
inlinevirtual |
Definition at line 65 of file PropertyDefinitionInterface.h.
|
pure virtual |
|
static |
Definition at line 289 of file PropertyDefinition.cpp.
|
inline |
Definition at line 85 of file PropertyDefinitionInterface.h.
|
inline |
Definition at line 79 of file PropertyDefinitionInterface.h.
| bool isSet | ( | std::string const & | prefix, |
| std::string const & | propertyName, | ||
| Ice::PropertiesPtr const & | iceProperties | ||
| ) | const |
|
pure virtual |
Converts the property definition into a string using a specified formatter.
| formatter | Custom definition formatter |
Implemented in PropertyDefinition< PropertyType >.
|
pure virtual |
Implemented in PropertyDefinition< PropertyType >.
|
friend |
Definition at line 110 of file PropertyDefinitionInterface.h.
|
protected |
Definition at line 107 of file PropertyDefinitionInterface.h.
|
protected |
If set to true, the property must be explicitely set through configuration parameters.
Definition at line 105 of file PropertyDefinitionInterface.h.