Go to the documentation of this file.
28 #include <Ice/Handle.h>
76 const std::string&
value) = 0;
95 std::string
const& key);
97 bool isSet(std::string
const& prefix,
98 std::string
const& propertyName,
118 setTypeIdName(std::string typeIdName)
120 this->typeIdName = typeIdName;
127 getTypeIdName()
const
135 std::string typeIdName;
virtual std::string toString(PropertyDefinitionFormatter &formatter, const std::string &value)=0
Converts the property definition into a string using a specified formatter.
Common interface of any property definition.
virtual ~PropertyDefinitionBase()
std::shared_ptr< Value > value()
static std::string icePropertyGet(Ice::PropertiesPtr const &iceProperties, std::string const &key)
bool isSet(std::string const &prefix, std::string const &propertyName, Ice::PropertiesPtr const &iceProperties) const
virtual std::string getDefaultAsString()=0
bool required
If set to true, the property must be explicitely set through configuration parameters.
PropertyDefinitionBase(bool required=true, PropertyConstness constness=eConstant)
PropertyDefinitionContainer.
PropertyConstness constness
virtual void writeValueToSetter(const std::string &prefix, Ice::PropertiesPtr)=0
::IceInternal::Handle<::Ice::Properties > PropertiesPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.