Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::SceneGraph::OpenMesh::BaseHandle Class Reference

Base class for all handle types. More...

Inheritance diagram for ACG::SceneGraph::OpenMesh::BaseHandle:
ACG::SceneGraph::OpenMesh::BasePropHandleT< T > ACG::SceneGraph::OpenMesh::EdgeHandle ACG::SceneGraph::OpenMesh::FaceHandle ACG::SceneGraph::OpenMesh::HalfedgeHandle ACG::SceneGraph::OpenMesh::VertexHandle ACG::SceneGraph::OpenMesh::BasePropHandleT< bool > ACG::SceneGraph::OpenMesh::EPropHandleT< T > ACG::SceneGraph::OpenMesh::FPropHandleT< T > ACG::SceneGraph::OpenMesh::HPropHandleT< T > ACG::SceneGraph::OpenMesh::MPropHandleT< T > ACG::SceneGraph::OpenMesh::VPropHandleT< T > ACG::SceneGraph::OpenMesh::FPropHandleT< bool >

Public Member Functions

 BaseHandle (int _idx=-1)
int idx () const
 Get the underlying index of this handle.
bool is_valid () const
 The handle is valid iff the index is not equal to -1.
void reset ()
 reset handle to be invalid
void invalidate ()
 reset handle to be invalid
bool operator== (const BaseHandle &_rhs) const
bool operator!= (const BaseHandle &_rhs) const
bool operator< (const BaseHandle &_rhs) const
void __increment ()
void __decrement ()
void __increment (int amount)
void __decrement (int amount)

Private Attributes

int idx_

Detailed Description

Base class for all handle types.

Definition at line 67 of file

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