Honeycomb
0.1
Component-Model Framework
|
Generic property. More...
#include <Property.h>
Public Types | |
typedef SharedPtr< Property > | Ptr |
typedef SharedPtr< const Property > | ConstPtr |
Public Types inherited from honey::PropertyBase | |
typedef SharedPtr< PropertyBase > | Ptr |
typedef SharedPtr< const PropertyBase > | ConstPtr |
Public Member Functions | |
Property (const String &name) | |
Property (const String &name, const T &val) | |
Property (const String &name, T &&val) | |
Property (const Property &rhs) | |
virtual const NameId & | type () const |
Get property type info. More... | |
virtual Property & | clone () const |
Create a clone of this property. More... | |
Property & | operator= (const Property &rhs) |
Property & | operator= (const T &rhs) |
Property & | operator= (T &&rhs) |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
operator T & () | |
operator const T & () const | |
template<> | |
auto | s_type () -> const NameId & |
Integer property. More... | |
template<> | |
auto | s_type () -> const NameId & |
Real property. More... | |
template<> | |
auto | s_type () -> const NameId & |
String property. More... | |
template<> | |
auto | s_type () -> const NameId & |
template<> | |
auto | s_type () -> const NameId & |
template<> | |
auto | s_type () -> const NameId & |
String list property. More... | |
Public Member Functions inherited from honey::PropertyBase | |
PropertyBase (const String &name) | |
const String & | name () const |
Get property name. More... | |
const Id & | id () const |
Get property id. More... | |
Public Member Functions inherited from honey::Object | |
Object (const Id &id=idnull) | |
virtual | ~Object () |
virtual void | setInstId (const Id &id) |
Set per instance id. More... | |
const Id & | getInstId () const |
Public Member Functions inherited from honey::SharedObj< Object > | |
SharedObj (Alloc &&a=Alloc()) debug_if( | |
Construct with allocator that is called to deallocate this shared object when all references have been released. More... | |
Static Public Member Functions | |
static const NameId & | s_type () |
Static function to get property type info. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from honey::SharedObj< Object > | |
void | finalize () |
Destroys object. Called when strong reference count reaches 0. May be overridden to prevent destruction. More... | |
Protected Attributes inherited from honey::PropertyBase | |
const NameId | _name |
Protected Attributes inherited from honey::Object | |
Id | _instId |
Generic property.
typedef SharedPtr<const Property> honey::Property< T >::ConstPtr |
typedef SharedPtr<Property> honey::Property< T >::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Create a clone of this property.
Implements honey::PropertyBase.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Static function to get property type info.
|
inline |
|
inline |
String list property.
|
inline |
Integer property.
|
inline |
Real property.
|
inline |
String property.
|
inlinevirtual |
Get property type info.
Implements honey::PropertyBase.