Developer Documentation
Loading...
Searching...
No Matches
OpenMesh::ArrayKernel::ExtStatusSetT< HandleT > Class Template Reference

ExtStatusSet: A status set augmented with an array. More...

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/ArrayKernel.hh>

Inheritance diagram for OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >:
OpenMesh::ArrayKernel::AutoStatusSetT< HandleT > OpenMesh::ArrayKernel::StatusSetT< HandleT >

Public Types

typedef HandleT Handle
 
typedef AutoStatusSetT< Handle > Base
 
typedef HandleContainer::iterator iterator
 
typedef HandleContainer::const_iterator const_iterator
 
- Public Types inherited from OpenMesh::ArrayKernel::StatusSetT< HandleT >
typedef HandleT Handle
 

Public Member Functions

 ExtStatusSetT (ArrayKernel &_kernel, size_t _capacity_hint=0)
 
void insert (Handle _hnd)
 
void erase (Handle _hnd)
 Complexity: O(k), (k - number of the elements in the set)
 
void erase (iterator _it)
 Complexity: O(1)
 
void clear ()
 
unsigned int size () const
 Complexity: 0(1)
 
bool empty () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
Handle & front ()
 
const Handle & front () const
 
Handle & back ()
 
const Handle & back () const
 
- Public Member Functions inherited from OpenMesh::ArrayKernel::AutoStatusSetT< HandleT >
 AutoStatusSetT (ArrayKernel &_kernel)
 
- Public Member Functions inherited from OpenMesh::ArrayKernel::StatusSetT< HandleT >
 StatusSetT (ArrayKernel &_kernel, const unsigned int _bit_mask)
 
bool is_in (Handle _hnd) const
 
void insert (Handle _hnd)
 
void erase (Handle _hnd)
 
size_t size () const
 Note: 0(n) complexity.
 
void clear ()
 Note: O(n) complexity.
 

Protected Types

typedef std::vector< Handle > HandleContainer
 

Protected Attributes

HandleContainer handles_
 
- Protected Attributes inherited from OpenMesh::ArrayKernel::StatusSetT< HandleT >
ArrayKernelkernel_
 

Additional Inherited Members

- Public Attributes inherited from OpenMesh::ArrayKernel::StatusSetT< HandleT >
const unsigned int bit_mask_
 

Detailed Description

template<class HandleT>
class OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >

ExtStatusSet: A status set augmented with an array.

Definition at line 725 of file ArrayKernel.hh.

Member Typedef Documentation

◆ Base

template<class HandleT >
typedef AutoStatusSetT<Handle> OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::Base

Definition at line 729 of file ArrayKernel.hh.

◆ const_iterator

template<class HandleT >
typedef HandleContainer::const_iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::const_iterator

Definition at line 739 of file ArrayKernel.hh.

◆ Handle

template<class HandleT >
typedef HandleT OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::Handle

Definition at line 728 of file ArrayKernel.hh.

◆ HandleContainer

template<class HandleT >
typedef std::vector<Handle> OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::HandleContainer
protected

Definition at line 732 of file ArrayKernel.hh.

◆ iterator

template<class HandleT >
typedef HandleContainer::iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::iterator

Definition at line 737 of file ArrayKernel.hh.

Constructor & Destructor Documentation

◆ ExtStatusSetT()

template<class HandleT >
OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::ExtStatusSetT ( ArrayKernel _kernel,
size_t  _capacity_hint = 0 
)
inlineexplicit

Definition at line 741 of file ArrayKernel.hh.

◆ ~ExtStatusSetT()

template<class HandleT >
OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::~ExtStatusSetT ( )
inline

Definition at line 745 of file ArrayKernel.hh.

Member Function Documentation

◆ back() [1/2]

template<class HandleT >
Handle & OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::back ( )
inline

Definition at line 810 of file ArrayKernel.hh.

◆ back() [2/2]

template<class HandleT >
const Handle & OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::back ( ) const
inline

Definition at line 812 of file ArrayKernel.hh.

◆ begin() [1/2]

template<class HandleT >
iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::begin ( )
inline

Definition at line 795 of file ArrayKernel.hh.

◆ begin() [2/2]

template<class HandleT >
const_iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::begin ( ) const
inline

Definition at line 797 of file ArrayKernel.hh.

◆ clear()

template<class HandleT >
void OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::clear ( )
inline

Definition at line 778 of file ArrayKernel.hh.

◆ empty()

template<class HandleT >
bool OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::empty ( ) const
inline

Definition at line 791 of file ArrayKernel.hh.

◆ end() [1/2]

template<class HandleT >
iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::end ( )
inline

Definition at line 800 of file ArrayKernel.hh.

◆ end() [2/2]

template<class HandleT >
const_iterator OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::end ( ) const
inline

Definition at line 802 of file ArrayKernel.hh.

◆ erase() [1/2]

template<class HandleT >
void OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::erase ( Handle  _hnd)
inline

Complexity: O(k), (k - number of the elements in the set)

Definition at line 759 of file ArrayKernel.hh.

◆ erase() [2/2]

template<class HandleT >
void OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::erase ( iterator  _it)
inline

Complexity: O(1)

Definition at line 769 of file ArrayKernel.hh.

◆ front() [1/2]

template<class HandleT >
Handle & OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::front ( )
inline

Definition at line 805 of file ArrayKernel.hh.

◆ front() [2/2]

template<class HandleT >
const Handle & OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::front ( ) const
inline

Definition at line 807 of file ArrayKernel.hh.

◆ insert()

template<class HandleT >
void OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::insert ( Handle  _hnd)
inline

Definition at line 749 of file ArrayKernel.hh.

◆ size()

template<class HandleT >
unsigned int OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::size ( ) const
inline

Complexity: 0(1)

Definition at line 789 of file ArrayKernel.hh.

Member Data Documentation

◆ handles_

template<class HandleT >
HandleContainer OpenMesh::ArrayKernel::ExtStatusSetT< HandleT >::handles_
protected

Definition at line 733 of file ArrayKernel.hh.


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