Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Protected Attributes | List of all members
honey::PropertyBase Class Referenceabstract

Base class for all properties. More...

#include <Property.h>

Inheritance diagram for honey::PropertyBase:
Inheritance graph
[legend]
Collaboration diagram for honey::PropertyBase:
Collaboration graph
[legend]

Public Types

typedef SharedPtr< PropertyBasePtr
 
typedef SharedPtr< const PropertyBaseConstPtr
 

Public Member Functions

 PropertyBase (const String &name)
 
const Stringname () const
 Get property name. More...
 
const Idid () const
 Get property id. More...
 
virtual const NameIdtype () const =0
 Get property type info. More...
 
virtual PropertyBaseclone () 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 IdgetInstId () 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...
 

Detailed Description

Base class for all properties.

Member Typedef Documentation

Constructor & Destructor Documentation

honey::PropertyBase::PropertyBase ( const String name)
inline

Member Function Documentation

virtual PropertyBase& honey::PropertyBase::clone ( ) const
pure virtual

Create a clone of this property.

Implemented in honey::Property< T >, and honey::Property< vector< T > >.

const Id& honey::PropertyBase::id ( ) const
inline

Get property id.

const String& honey::PropertyBase::name ( ) const
inline

Get property name.

virtual const NameId& honey::PropertyBase::type ( ) const
pure virtual

Get property type info.

Implemented in honey::Property< T >, and honey::Property< vector< T > >.

Member Data Documentation

const NameId honey::PropertyBase::_name
protected

The documentation for this class was generated from the following file: