Honeycomb
0.1
Component-Model Framework
|
Base class for all properties. More...
#include <Property.h>
Public Types | |
typedef SharedPtr< PropertyBase > | Ptr |
typedef SharedPtr< const PropertyBase > | ConstPtr |
Public Member Functions | |
PropertyBase (const String &name) | |
const String & | name () const |
Get property name. More... | |
const Id & | id () const |
Get property id. More... | |
virtual const NameId & | type () const =0 |
Get property type info. More... | |
virtual PropertyBase & | clone () const =0 |
Create a clone of this property. 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... | |
Protected Attributes | |
const NameId | _name |
Protected Attributes inherited from honey::Object | |
Id | _instId |
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... | |
Base class for all properties.
typedef SharedPtr<const PropertyBase> honey::PropertyBase::ConstPtr |
|
inline |
|
pure virtual |
Create a clone of this property.
Implemented in honey::Property< T >, and honey::Property< vector< T > >.
|
inline |
Get property id.
|
inline |
Get property name.
|
pure virtual |
Get property type info.
Implemented in honey::Property< T >, and honey::Property< vector< T > >.
|
protected |