OpenMesh
OpenMesh::BaseHandle Class Reference

Base class for all handle types. More...

#include <OpenMesh/Core/Mesh/Handles.hh>

Inheritance diagram for OpenMesh::BaseHandle:

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)
 

Detailed Description

Base class for all handle types.


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

Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .