35 return std::string(VALUE_CANNOT_BE_CONVERTED_TO_STRING);
49 if (
typeid(*
this) ==
typeid(rhs) && Assign(rhs))
59 return (
typeid(*
this) ==
typeid(property) && IsEqual(property));
BaseProperty & operator=(const BaseProperty &property)
Assigns property to this BaseProperty instance.
bool operator==(const BaseProperty &property) const
Subclasses must implement IsEqual(const BaseProperty&) to support comparison.
bool AssignProperty(const BaseProperty &property)
Assigns property to this BaseProperty instance.
Abstract base class for properties.
virtual std::string GetValueAsString() const
static const std::string VALUE_CANNOT_BE_CONVERTED_TO_STRING
Default return value if a property which can not be returned as string.