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


Base class for all handle types.  




{\ttfamily \#include $<$Open\+Flipper/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]{a08692}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08692_af4ba7b0ad5573aa45f722ba5abf870dc}\label{a08692_af4ba7b0ad5573aa45f722ba5abf870dc}} 
{\bfseries Base\+Handle} (int \+\_\+idx=-\/1)
\item 
\mbox{\Hypertarget{a08692_abdf740ab77f5d0e97aa1a0ba971354e0}\label{a08692_abdf740ab77f5d0e97aa1a0ba971354e0}} 
int \hyperlink{a08692_abdf740ab77f5d0e97aa1a0ba971354e0}{idx} () const
\begin{DoxyCompactList}\small\item\em Get the underlying index of this handle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08692_a1e7b69fe8f2d919e5d7086b95d1f309b}\label{a08692_a1e7b69fe8f2d919e5d7086b95d1f309b}} 
bool \hyperlink{a08692_a1e7b69fe8f2d919e5d7086b95d1f309b}{is\+\_\+valid} () const
\begin{DoxyCompactList}\small\item\em The handle is valid iff the index is not negative. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08692_ab0fdb6ed3edbfc180f3e419ba9b8bebd}\label{a08692_ab0fdb6ed3edbfc180f3e419ba9b8bebd}} 
void \hyperlink{a08692_ab0fdb6ed3edbfc180f3e419ba9b8bebd}{reset} ()
\begin{DoxyCompactList}\small\item\em reset handle to be invalid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08692_ab025c00d990cc69cd20e33e94abd2db9}\label{a08692_ab025c00d990cc69cd20e33e94abd2db9}} 
void \hyperlink{a08692_ab025c00d990cc69cd20e33e94abd2db9}{invalidate} ()
\begin{DoxyCompactList}\small\item\em reset handle to be invalid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08692_ad4f02445e632ed297fbfe1f88873b375}\label{a08692_ad4f02445e632ed297fbfe1f88873b375}} 
bool {\bfseries operator==} (const \hyperlink{a08692}{Base\+Handle} \&\+\_\+rhs) const
\item 
\mbox{\Hypertarget{a08692_a5cae86c508825d364935fdc278154b86}\label{a08692_a5cae86c508825d364935fdc278154b86}} 
bool {\bfseries operator!=} (const \hyperlink{a08692}{Base\+Handle} \&\+\_\+rhs) const
\item 
\mbox{\Hypertarget{a08692_a33c82ec3ad2e2c64a7256ac1468a5d5d}\label{a08692_a33c82ec3ad2e2c64a7256ac1468a5d5d}} 
bool {\bfseries operator$<$} (const \hyperlink{a08692}{Base\+Handle} \&\+\_\+rhs) const
\item 
\mbox{\Hypertarget{a08692_a920ae45d39fecd84691242965db44e81}\label{a08692_a920ae45d39fecd84691242965db44e81}} 
void {\bfseries \+\_\+\+\_\+increment} ()
\item 
\mbox{\Hypertarget{a08692_a407f932da7d3a2a30b8edb9d6ed27782}\label{a08692_a407f932da7d3a2a30b8edb9d6ed27782}} 
void {\bfseries \+\_\+\+\_\+decrement} ()
\item 
\mbox{\Hypertarget{a08692_ae0b47c188ef05f3f4162734f8830ff7f}\label{a08692_ae0b47c188ef05f3f4162734f8830ff7f}} 
void {\bfseries \+\_\+\+\_\+increment} (int amount)
\item 
\mbox{\Hypertarget{a08692_af2ba0dc2afcf29cf69dfcbf7f373af1a}\label{a08692_af2ba0dc2afcf29cf69dfcbf7f373af1a}} 
void {\bfseries \+\_\+\+\_\+decrement} (int amount)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08692_ac5d10e234f29fce221cd37d300a0b44c}\label{a08692_ac5d10e234f29fce221cd37d300a0b44c}} 
int {\bfseries idx\+\_\+}
\end{DoxyCompactItemize}


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

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



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