Developer Documentation
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ > Class Template Reference
Inheritance diagram for OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >:

Public Types

typedef Mesh_ Mesh
 
typedef PropertyHandle_ PropertyHandle
 
typedef PropertyHandle Base
 
typedef PropertyHandle::Value Value
 
typedef AutoPropertyHandleT< Mesh, PropertyHandle > Self
 

Public Member Functions

 AutoPropertyHandleT (const Self &_other)
 
 AutoPropertyHandleT (Mesh &_m, const std::string &_pp_name=std::string())
 
 AutoPropertyHandleT (Mesh &_m, PropertyHandle _pph)
 
void add_property (Mesh &_m, const std::string &_pp_name=std::string())
 
void remove_property ()
 
template<class _Handle >
Value & operator[] (_Handle _hnd)
 
template<class _Handle >
const Value & operator[] (_Handle _hnd) const
 
bool own_property () const
 
void free_property ()
 

Protected Attributes

Mesh * m_
 
bool own_property_
 

Detailed Description

template<class Mesh_, class PropertyHandle_>
class OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >

Definition at line 58 of file AutoPropertyHandleT.hh.

Member Typedef Documentation

◆ Base

template<class Mesh_ , class PropertyHandle_ >
typedef PropertyHandle OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::Base

Definition at line 63 of file AutoPropertyHandleT.hh.

◆ Mesh

template<class Mesh_ , class PropertyHandle_ >
typedef Mesh_ OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::Mesh

Definition at line 61 of file AutoPropertyHandleT.hh.

◆ PropertyHandle

template<class Mesh_ , class PropertyHandle_ >
typedef PropertyHandle_ OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::PropertyHandle

Definition at line 62 of file AutoPropertyHandleT.hh.

◆ Self

template<class Mesh_ , class PropertyHandle_ >
typedef AutoPropertyHandleT<Mesh, PropertyHandle> OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::Self

Definition at line 66 of file AutoPropertyHandleT.hh.

◆ Value

template<class Mesh_ , class PropertyHandle_ >
typedef PropertyHandle::Value OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::Value

Definition at line 64 of file AutoPropertyHandleT.hh.

Constructor & Destructor Documentation

◆ AutoPropertyHandleT() [1/4]

template<class Mesh_ , class PropertyHandle_ >
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::AutoPropertyHandleT ( )
inline

Definition at line 72 of file AutoPropertyHandleT.hh.

◆ AutoPropertyHandleT() [2/4]

template<class Mesh_ , class PropertyHandle_ >
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::AutoPropertyHandleT ( const Self _other)
inline

Definition at line 76 of file AutoPropertyHandleT.hh.

◆ AutoPropertyHandleT() [3/4]

template<class Mesh_ , class PropertyHandle_ >
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::AutoPropertyHandleT ( Mesh &  _m,
const std::string &  _pp_name = std::string() 
)
inlineexplicit

Definition at line 80 of file AutoPropertyHandleT.hh.

◆ AutoPropertyHandleT() [4/4]

template<class Mesh_ , class PropertyHandle_ >
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::AutoPropertyHandleT ( Mesh &  _m,
PropertyHandle  _pph 
)
inline

Definition at line 83 of file AutoPropertyHandleT.hh.

◆ ~AutoPropertyHandleT()

template<class Mesh_ , class PropertyHandle_ >
OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::~AutoPropertyHandleT ( )
inline

Definition at line 87 of file AutoPropertyHandleT.hh.

Member Function Documentation

◆ add_property()

template<class Mesh_ , class PropertyHandle_ >
void OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::add_property ( Mesh &  _m,
const std::string &  _pp_name = std::string() 
)
inline

Definition at line 95 of file AutoPropertyHandleT.hh.

◆ free_property()

template<class Mesh_ , class PropertyHandle_ >
void OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::free_property ( )
inline

Definition at line 125 of file AutoPropertyHandleT.hh.

◆ operator[]() [1/2]

template<class Mesh_ , class PropertyHandle_ >
template<class _Handle >
Value & OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::operator[] ( _Handle  _hnd)
inline

Definition at line 115 of file AutoPropertyHandleT.hh.

◆ operator[]() [2/2]

template<class Mesh_ , class PropertyHandle_ >
template<class _Handle >
const Value & OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::operator[] ( _Handle  _hnd) const
inline

Definition at line 119 of file AutoPropertyHandleT.hh.

◆ own_property()

template<class Mesh_ , class PropertyHandle_ >
bool OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::own_property ( ) const
inline

Definition at line 122 of file AutoPropertyHandleT.hh.

◆ remove_property()

template<class Mesh_ , class PropertyHandle_ >
void OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::remove_property ( )
inline

Definition at line 106 of file AutoPropertyHandleT.hh.

Member Data Documentation

◆ m_

template<class Mesh_ , class PropertyHandle_ >
Mesh* OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::m_
protected

Definition at line 68 of file AutoPropertyHandleT.hh.

◆ own_property_

template<class Mesh_ , class PropertyHandle_ >
bool OpenMesh::AutoPropertyHandleT< Mesh_, PropertyHandle_ >::own_property_
protected

Definition at line 69 of file AutoPropertyHandleT.hh.


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