62 operator T&() {
return _val; }
63 operator const T&()
const {
return _val; }
SharedPtr< const Property > ConstPtr
Definition: Property.h:41
Property & operator=(const Property &rhs)
Definition: Property.h:54
Property(const String &name)
Definition: Property.h:43
Holds both a name string and its hashed value, and unlike Id the name is never compiled out...
Definition: Id.h:144
const NameId _name
Definition: Property.h:32
const T * operator->() const
Definition: Property.h:61
Combined intrusive/non-intrusive smart pointer. Can reference and share any object automatically...
Definition: SharedPtr.h:175
Property(const String &name, const T &val)
Definition: Property.h:44
SharedPtr< Property > Ptr
Definition: Property.h:40
Property(const Property &rhs)
Definition: Property.h:46
virtual const NameId & type() const
Get property type info.
Definition: Property.h:50
static auto _
Definition: Module.cpp:8
T & operator*()
Definition: Property.h:58
Property & operator=(T &&rhs)
Definition: Property.h:56
const String & name() const
Get property name.
Definition: Property.h:23
SharedPtr< PropertyBase > Ptr
Definition: Property.h:17
virtual PropertyBase & clone() const =0
Create a clone of this property.
virtual Property & clone() const
Create a clone of this property.
Definition: Property.h:52
Base class for all properties.
Definition: Property.h:14
PropertyBase(const String &name)
Definition: Property.h:20
T * operator->()
Definition: Property.h:60
Unicode UTF-16 string class, wrapper around std::u16string.
Definition: String.h:23
virtual const NameId & type() const =0
Get property type info.
const Id & id() const
Get property id.
Definition: Property.h:25
const T & operator*() const
Definition: Property.h:59
Property(const String &name, T &&val)
Definition: Property.h:45
static const NameId & s_type()
Static function to get property type info.
Property & operator=(const T &rhs)
Definition: Property.h:55
Holds a name string and its hashed value for fast comparison ops. See String Identifier.
Definition: Id.h:25
SharedPtr< const PropertyBase > ConstPtr
Definition: Property.h:18
const String & name() const
Definition: Id.h:155
Base class for objects.
Definition: Object.h:12
Global Honeycomb namespace.
Generic property.
Definition: Property.h:37