\hypertarget{a00317}{\section{Open\+Mesh\+:\+:Base\+Handle Class Reference}
\label{a00317}\index{Open\+Mesh\+::\+Base\+Handle@{Open\+Mesh\+::\+Base\+Handle}}
}


Base class for all handle types.  




{\ttfamily \#include $<$libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+Mesh/\+Handles.\+hh$>$}

Inheritance diagram for Open\+Mesh\+:\+:Base\+Handle\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{a00317}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00317_af4ba7b0ad5573aa45f722ba5abf870dc}{{\bfseries Base\+Handle} (int \+\_\+idx=-\/1)}\label{a00317_af4ba7b0ad5573aa45f722ba5abf870dc}

\item 
\hypertarget{a00317_a3dc9929544c4e00e5e6e1ca8261ffe99}{int \hyperlink{a00317_a3dc9929544c4e00e5e6e1ca8261ffe99}{idx} () const }\label{a00317_a3dc9929544c4e00e5e6e1ca8261ffe99}

\begin{DoxyCompactList}\small\item\em Get the underlying index of this handle. \end{DoxyCompactList}\item 
\hypertarget{a00317_a8313d1ad8a3a571d23dd0b62ec696e7e}{bool \hyperlink{a00317_a8313d1ad8a3a571d23dd0b62ec696e7e}{is\+\_\+valid} () const }\label{a00317_a8313d1ad8a3a571d23dd0b62ec696e7e}

\begin{DoxyCompactList}\small\item\em The handle is valid iff the index is not equal to -\/1. \end{DoxyCompactList}\item 
\hypertarget{a00317_ab0fdb6ed3edbfc180f3e419ba9b8bebd}{void \hyperlink{a00317_ab0fdb6ed3edbfc180f3e419ba9b8bebd}{reset} ()}\label{a00317_ab0fdb6ed3edbfc180f3e419ba9b8bebd}

\begin{DoxyCompactList}\small\item\em reset handle to be invalid \end{DoxyCompactList}\item 
\hypertarget{a00317_ab025c00d990cc69cd20e33e94abd2db9}{void \hyperlink{a00317_ab025c00d990cc69cd20e33e94abd2db9}{invalidate} ()}\label{a00317_ab025c00d990cc69cd20e33e94abd2db9}

\begin{DoxyCompactList}\small\item\em reset handle to be invalid \end{DoxyCompactList}\item 
\hypertarget{a00317_abcc9664f93e20647a5ab5c5d85f0a292}{bool {\bfseries operator==} (const \hyperlink{a00317}{Base\+Handle} \&\+\_\+rhs) const }\label{a00317_abcc9664f93e20647a5ab5c5d85f0a292}

\item 
\hypertarget{a00317_a7ead06ba4994b58587b3ecc293d0e120}{bool {\bfseries operator!=} (const \hyperlink{a00317}{Base\+Handle} \&\+\_\+rhs) const }\label{a00317_a7ead06ba4994b58587b3ecc293d0e120}

\item 
\hypertarget{a00317_a2d3f93f05379be03f540aa20faffb5dd}{bool {\bfseries operator$<$} (const \hyperlink{a00317}{Base\+Handle} \&\+\_\+rhs) const }\label{a00317_a2d3f93f05379be03f540aa20faffb5dd}

\item 
\hypertarget{a00317_a920ae45d39fecd84691242965db44e81}{void {\bfseries \+\_\+\+\_\+increment} ()}\label{a00317_a920ae45d39fecd84691242965db44e81}

\item 
\hypertarget{a00317_a407f932da7d3a2a30b8edb9d6ed27782}{void {\bfseries \+\_\+\+\_\+decrement} ()}\label{a00317_a407f932da7d3a2a30b8edb9d6ed27782}

\item 
\hypertarget{a00317_ae0b47c188ef05f3f4162734f8830ff7f}{void {\bfseries \+\_\+\+\_\+increment} (int amount)}\label{a00317_ae0b47c188ef05f3f4162734f8830ff7f}

\item 
\hypertarget{a00317_af2ba0dc2afcf29cf69dfcbf7f373af1a}{void {\bfseries \+\_\+\+\_\+decrement} (int amount)}\label{a00317_af2ba0dc2afcf29cf69dfcbf7f373af1a}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00317_ac5d10e234f29fce221cd37d300a0b44c}{int {\bfseries idx\+\_\+}}\label{a00317_ac5d10e234f29fce221cd37d300a0b44c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for all handle types. 

Definition at line 67 of file Handles.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+Mesh/Handles.\+hh\end{DoxyCompactItemize}
