Go to the documentation of this file.
31 #include <Ice/Handle.h>
91 const std::string& prefix,
96 bool isSet(std::string
const& prefix, std::string
const& propertyName,
Ice::PropertiesPtr const& iceProperties)
const;
114 void setTypeIdName(std::string typeIdName)
116 this->typeIdName = typeIdName;
122 std::string getTypeIdName()
const
130 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.