Interface for all kinds of handles. Handles are basically a key to refer to something. More...
#include <BaseHandle.hpp>
Public Member Functions | |
BaseHandle (IdxT idx) | |
IdxT | idx () const |
bool | operator!= (const BaseHandle &other) const |
bool | operator< (const BaseHandle &other) const |
bool | operator== (const BaseHandle &other) const |
void | setIdx (IdxT idx) |
Protected Attributes | |
IdxT | m_idx |
Interface for all kinds of handles. Handles are basically a key to refer to something.
From this class, a few concrete handle types (such as FaceHandle) will be derived.
Internally, the handle is just an index. How those indices are used is determined by the thing creating handles (e.g. the mesh implementation).
Definition at line 54 of file BaseHandle.hpp.
|
explicit |
IdxT lvr2::BaseHandle< IdxT >::idx | ( | ) | const |
bool lvr2::BaseHandle< IdxT >::operator!= | ( | const BaseHandle< IdxT > & | other | ) | const |
bool lvr2::BaseHandle< IdxT >::operator< | ( | const BaseHandle< IdxT > & | other | ) | const |
bool lvr2::BaseHandle< IdxT >::operator== | ( | const BaseHandle< IdxT > & | other | ) | const |
void lvr2::BaseHandle< IdxT >::setIdx | ( | IdxT | idx | ) |
|
protected |
Definition at line 67 of file BaseHandle.hpp.