Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
PatateCommon::PropertyContainer Class Reference

Public Member Functions

 PropertyContainer (const PropertyContainer &_rhs)
 
PropertyContaineroperator= (const PropertyContainer &_rhs)
 
size_t size () const
 
size_t nProperties () const
 
std::vector< std::string > properties () const
 
template<class T >
Property< T > add (const std::string &name, const T t=T())
 
template<class T >
Property< T > get (const std::string &name) const
 
template<class T >
Property< T > getOrAdd (const std::string &name, const T t=T())
 
const std::type_info & getType (const std::string &name)
 
template<class T >
void remove (Property< T > &h)
 
void clear ()
 
void reserve (size_t n) const
 
void resize (size_t n)
 
void freeMemory () const
 
void pushBack ()
 
void swap (size_t i0, size_t i1) const