A a container for properties.
More...
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Utils/PropertyContainer.hh>
A a container for properties.
Definition at line 58 of file PropertyContainer.hh.
◆ const_iterator
typedef Properties::const_iterator OpenMesh::PropertyContainer::const_iterator |
|
protected |
◆ iterator
typedef Properties::iterator OpenMesh::PropertyContainer::iterator |
|
protected |
◆ Properties
typedef std::vector<BaseProperty*> OpenMesh::PropertyContainer::Properties |
◆ PropertyContainer() [1/2]
OpenMesh::PropertyContainer::PropertyContainer |
( |
| ) |
|
|
inline |
◆ ~PropertyContainer()
virtual OpenMesh::PropertyContainer::~PropertyContainer |
( |
| ) |
|
|
inlinevirtual |
◆ PropertyContainer() [2/2]
◆ _add()
size_t OpenMesh::PropertyContainer::_add |
( |
BaseProperty * |
_bp | ) |
|
|
inlineprotected |
◆ _property() [1/2]
BaseProperty & OpenMesh::PropertyContainer::_property |
( |
size_t |
_idx | ) |
|
|
inlineprotected |
◆ _property() [2/2]
const BaseProperty & OpenMesh::PropertyContainer::_property |
( |
size_t |
_idx | ) |
const |
|
inlineprotected |
◆ add()
template<class T >
BasePropHandleT< T > OpenMesh::PropertyContainer::add |
( |
const T & |
, |
|
|
const std::string & |
_name = "<unknown>" |
|
) |
| |
|
inline |
◆ begin() [1/2]
iterator OpenMesh::PropertyContainer::begin |
( |
| ) |
|
|
inlineprotected |
◆ begin() [2/2]
const_iterator OpenMesh::PropertyContainer::begin |
( |
| ) |
const |
|
inlineprotected |
◆ clear()
void OpenMesh::PropertyContainer::clear |
( |
void |
| ) |
|
|
inline |
◆ end() [1/2]
iterator OpenMesh::PropertyContainer::end |
( |
| ) |
|
|
inlineprotected |
◆ end() [2/2]
const_iterator OpenMesh::PropertyContainer::end |
( |
| ) |
const |
|
inlineprotected |
◆ handle()
template<class T >
BasePropHandleT< T > OpenMesh::PropertyContainer::handle |
( |
const T & |
, |
|
|
const std::string & |
_name |
|
) |
| const |
|
inline |
◆ operator=()
◆ properties()
const Properties & OpenMesh::PropertyContainer::properties |
( |
| ) |
const |
|
inline |
◆ property() [1/3]
◆ property() [2/3]
◆ property() [3/3]
BaseProperty * OpenMesh::PropertyContainer::property |
( |
const std::string & |
_name | ) |
const |
|
inline |
◆ remove()
◆ reserve()
void OpenMesh::PropertyContainer::reserve |
( |
size_t |
_n | ) |
const |
|
inline |
◆ resize()
void OpenMesh::PropertyContainer::resize |
( |
size_t |
_n | ) |
const |
|
inline |
◆ resize_if_smaller()
void OpenMesh::PropertyContainer::resize_if_smaller |
( |
size_t |
_n | ) |
const |
|
inline |
Same as
- See also
- resize() but ignores property vectors that have a size larger than
_n
.
Use this method instead of
- See also
- resize() if you plan to frequently reduce and enlarge the property container and you don't want to waste time reallocating the property vectors every time.
Definition at line 250 of file PropertyContainer.hh.
◆ size()
size_t OpenMesh::PropertyContainer::size |
( |
| ) |
const |
|
inline |
◆ swap()
void OpenMesh::PropertyContainer::swap |
( |
size_t |
_i0, |
|
|
size_t |
_i1 |
|
) |
| const |
|
inline |
Swaps the items with index _i0
and index _i1
in all property vectors.
Definition at line 258 of file PropertyContainer.hh.
◆ BaseKernel
◆ properties_
Properties OpenMesh::PropertyContainer::properties_ |
|
private |
The documentation for this class was generated from the following file: