Honeycomb
0.1
Component-Model Framework
|
Generic vector property. More...
#include <PropertyList.h>
Public Types | |
typedef vector< T > | List |
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 List &list) | |
Property (const String &name, List &&list) | |
Property (const String &name, szt size, const T &val=T()) | |
template<class Iter > | |
Property (const String &name, Iter &&first, Iter &&last) | |
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 List &rhs) |
Property & | operator= (List &&rhs) |
Property & | operator= (const T &rhs) |
Assign to first element in list. More... | |
Property & | operator= (T &&rhs) |
operator T & () | |
Retrieve first element. More... | |
operator const T & () const | |
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 () |
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 vector property.
typedef SharedPtr<const Property> honey::Property< vector< T > >::ConstPtr |
typedef vector<T> honey::Property< vector< T > >::List |
typedef SharedPtr<Property> honey::Property< vector< T > >::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Create a clone of this property.
Implements honey::PropertyBase.
|
inline |
|
inline |
Retrieve first element.
|
inline |
|
inline |
|
inline |
|
inline |
Assign to first element in list.
|
inline |
|
static |
|
inlinevirtual |
Get property type info.
Implements honey::PropertyBase.