Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Static Public Member Functions | List of all members
honey::Property< vector< T > > Class Template Reference

Generic vector property. More...

#include <PropertyList.h>

Inheritance diagram for honey::Property< vector< T > >:
Inheritance graph
[legend]
Collaboration diagram for honey::Property< vector< T > >:
Collaboration graph
[legend]

Public Types

typedef vector< T > List
 
typedef SharedPtr< PropertyPtr
 
typedef SharedPtr< const PropertyConstPtr
 
- Public Types inherited from honey::PropertyBase
typedef SharedPtr< PropertyBasePtr
 
typedef SharedPtr< const PropertyBaseConstPtr
 

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 NameIdtype () const
 Get property type info. More...
 
virtual Propertyclone () const
 Create a clone of this property. More...
 
Propertyoperator= (const Property &rhs)
 
Propertyoperator= (const List &rhs)
 
Propertyoperator= (List &&rhs)
 
Propertyoperator= (const T &rhs)
 Assign to first element in list. More...
 
Propertyoperator= (T &&rhs)
 
 operator T & ()
 Retrieve first element. More...
 
 operator const T & () const
 
- Public Member Functions inherited from honey::PropertyBase
 PropertyBase (const String &name)
 
const Stringname () const
 Get property name. More...
 
const Idid () 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 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...
 

Static Public Member Functions

static const NameIds_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
 

Detailed Description

template<class T>
class honey::Property< vector< T > >

Generic vector property.

Member Typedef Documentation

template<class T >
typedef SharedPtr<const Property> honey::Property< vector< T > >::ConstPtr
template<class T >
typedef vector<T> honey::Property< vector< T > >::List
template<class T >
typedef SharedPtr<Property> honey::Property< vector< T > >::Ptr

Constructor & Destructor Documentation

template<class T >
honey::Property< vector< T > >::Property ( const String name)
inline
template<class T >
honey::Property< vector< T > >::Property ( const String name,
const List list 
)
inline
template<class T >
honey::Property< vector< T > >::Property ( const String name,
List &&  list 
)
inline
template<class T >
honey::Property< vector< T > >::Property ( const String name,
szt  size,
const T &  val = T() 
)
inline
template<class T >
template<class Iter >
honey::Property< vector< T > >::Property ( const String name,
Iter &&  first,
Iter &&  last 
)
inline
template<class T >
honey::Property< vector< T > >::Property ( const Property< vector< T > > &  rhs)
inline

Member Function Documentation

template<class T >
virtual Property& honey::Property< vector< T > >::clone ( ) const
inlinevirtual

Create a clone of this property.

Implements honey::PropertyBase.

template<class T >
honey::Property< vector< T > >::operator const T & ( ) const
inline
template<class T >
honey::Property< vector< T > >::operator T & ( )
inline

Retrieve first element.

template<class T >
Property& honey::Property< vector< T > >::operator= ( const Property< vector< T > > &  rhs)
inline
template<class T >
Property& honey::Property< vector< T > >::operator= ( const List rhs)
inline
template<class T >
Property& honey::Property< vector< T > >::operator= ( List &&  rhs)
inline
template<class T >
Property& honey::Property< vector< T > >::operator= ( const T &  rhs)
inline

Assign to first element in list.

template<class T >
Property& honey::Property< vector< T > >::operator= ( T &&  rhs)
inline
template<class T >
static const NameId& honey::Property< vector< T > >::s_type ( )
static
template<class T >
virtual const NameId& honey::Property< vector< T > >::type ( ) const
inlinevirtual

Get property type info.

Implements honey::PropertyBase.


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