A a container for properties. More...
#include <PropertyContainer.hh>
Classes | |
| struct | ClearAll |
| struct | Delete |
| struct | Reserve |
| struct | Resize |
| struct | Swap |
Public Types | |
| typedef std::vector < BaseProperty * > | Properties |
Public Member Functions | |
| template<class T > | |
| BasePropHandleT< T > | add (const T &, const std::string &_name="<unknown>") |
| void | clear () |
| template<class T > | |
| BasePropHandleT< T > | handle (const T &, const std::string &_name) const |
| PropertyContainer & | operator= (const PropertyContainer &_rhs) |
| const Properties & | properties () const |
| template<class T > | |
| const PropertyT< T > & | property (BasePropHandleT< T > _h) const |
| template<class T > | |
| PropertyT< T > & | property (BasePropHandleT< T > _h) |
| BaseProperty * | property (const std::string &_name) const |
| PropertyContainer (const PropertyContainer &_rhs) | |
| PropertyContainer () | |
| template<class T > | |
| void | remove (BasePropHandleT< T > _h) |
| void | reserve (size_t _n) const |
| void | resize (size_t _n) const |
| size_t | size () const |
| void | swap (size_t _i0, size_t _i1) const |
| virtual | ~PropertyContainer () |
Protected Types | |
| typedef Properties::const_iterator | const_iterator |
| typedef Properties::iterator | iterator |
Protected Member Functions | |
| size_t | _add (BaseProperty *_bp) |
| const BaseProperty & | _property (size_t _idx) const |
| BaseProperty & | _property (size_t _idx) |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
Private Attributes | |
| Properties | properties_ |
Friends | |
| class | BaseKernel |
A a container for properties.
Definition at line 60 of file PropertyContainer.hh.
typedef Properties::const_iterator OpenMesh::PropertyContainer::const_iterator [protected] |
Definition at line 242 of file PropertyContainer.hh.
typedef Properties::iterator OpenMesh::PropertyContainer::iterator [protected] |
Definition at line 241 of file PropertyContainer.hh.
| typedef std::vector<BaseProperty*> OpenMesh::PropertyContainer::Properties |
Definition at line 72 of file PropertyContainer.hh.
| OpenMesh::PropertyContainer::PropertyContainer | ( | ) | [inline] |
Definition at line 66 of file PropertyContainer.hh.
| virtual OpenMesh::PropertyContainer::~PropertyContainer | ( | ) | [inline, virtual] |
Definition at line 67 of file PropertyContainer.hh.
| OpenMesh::PropertyContainer::PropertyContainer | ( | const PropertyContainer & | _rhs | ) | [inline] |
Definition at line 80 of file PropertyContainer.hh.
| size_t OpenMesh::PropertyContainer::_add | ( | BaseProperty * | _bp | ) | [inline, protected] |
Definition at line 212 of file PropertyContainer.hh.
| const BaseProperty& OpenMesh::PropertyContainer::_property | ( | size_t | _idx | ) | const [inline, protected] |
Definition at line 231 of file PropertyContainer.hh.
| BaseProperty& OpenMesh::PropertyContainer::_property | ( | size_t | _idx | ) | [inline, protected] |
Definition at line 222 of file PropertyContainer.hh.
| BasePropHandleT<T> OpenMesh::PropertyContainer::add | ( | const T & | , | |
| const std::string & | _name = "<unknown>" | |||
| ) | [inline] |
Definition at line 99 of file PropertyContainer.hh.
| const_iterator OpenMesh::PropertyContainer::begin | ( | ) | const [inline, protected] |
Definition at line 245 of file PropertyContainer.hh.
| iterator OpenMesh::PropertyContainer::begin | ( | ) | [inline, protected] |
Definition at line 243 of file PropertyContainer.hh.
| void OpenMesh::PropertyContainer::clear | ( | void | ) | [inline] |
Definition at line 179 of file PropertyContainer.hh.
| const_iterator OpenMesh::PropertyContainer::end | ( | ) | const [inline, protected] |
Definition at line 246 of file PropertyContainer.hh.
| iterator OpenMesh::PropertyContainer::end | ( | ) | [inline, protected] |
Definition at line 244 of file PropertyContainer.hh.
| BasePropHandleT<T> OpenMesh::PropertyContainer::handle | ( | const T & | , | |
| const std::string & | _name | |||
| ) | const [inline] |
Definition at line 111 of file PropertyContainer.hh.
| PropertyContainer& OpenMesh::PropertyContainer::operator= | ( | const PropertyContainer & | _rhs | ) | [inline] |
Definition at line 82 of file PropertyContainer.hh.
| const Properties& OpenMesh::PropertyContainer::properties | ( | ) | const [inline] |
Definition at line 73 of file PropertyContainer.hh.
| const PropertyT<T>& OpenMesh::PropertyContainer::property | ( | BasePropHandleT< T > | _h | ) | const [inline] |
Definition at line 157 of file PropertyContainer.hh.
| PropertyT<T>& OpenMesh::PropertyContainer::property | ( | BasePropHandleT< T > | _h | ) | [inline] |
Definition at line 143 of file PropertyContainer.hh.
| BaseProperty* OpenMesh::PropertyContainer::property | ( | const std::string & | _name | ) | const [inline] |
Definition at line 130 of file PropertyContainer.hh.
| void OpenMesh::PropertyContainer::remove | ( | BasePropHandleT< T > | _h | ) | [inline] |
Definition at line 171 of file PropertyContainer.hh.
| void OpenMesh::PropertyContainer::reserve | ( | size_t | _n | ) | const [inline] |
Definition at line 196 of file PropertyContainer.hh.
| void OpenMesh::PropertyContainer::resize | ( | size_t | _n | ) | const [inline] |
Definition at line 200 of file PropertyContainer.hh.
| size_t OpenMesh::PropertyContainer::size | ( | ) | const [inline] |
Definition at line 74 of file PropertyContainer.hh.
| void OpenMesh::PropertyContainer::swap | ( | size_t | _i0, | |
| size_t | _i1 | |||
| ) | const [inline] |
Definition at line 204 of file PropertyContainer.hh.
friend class BaseKernel [friend] |
Definition at line 248 of file PropertyContainer.hh.
Definition at line 289 of file PropertyContainer.hh.