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