\hypertarget{a01031}{\section{Property\+Handle\+T$<$ T $>$ Class Template Reference}
\label{a01031}\index{Property\+Handle\+T$<$ T $>$@{Property\+Handle\+T$<$ T $>$}}
}


The property handle, use it to access the properties.  




{\ttfamily \#include $<$Object\+Types/\+Skeleton/\+Properties.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01031_ad701483441944eaf0116c70fb8f55c36}{Property\+Handle\+T} (int \+\_\+idx=-\/1)
\begin{DoxyCompactList}\small\item\em Constructs a new property handle. \end{DoxyCompactList}\item 
\hypertarget{a01031_a703447332ab3a6f86054b9c0b9c5dab5}{virtual \hyperlink{a01031_a703447332ab3a6f86054b9c0b9c5dab5}{$\sim$\+Property\+Handle\+T} ()}\label{a01031_a703447332ab3a6f86054b9c0b9c5dab5}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
bool \hyperlink{a01031_a0347638060c6d2c68e2cc167a811789b}{is\+Valid} ()
\begin{DoxyCompactList}\small\item\em Returns true if the handle is valid, false otherwise. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01031_aae8f4e65c78f82cb18998661d0025ec8}{typedef T {\bfseries value\+\_\+type}}\label{a01031_aae8f4e65c78f82cb18998661d0025ec8}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01031_a8de75fc0505dc951b1834c5a7e8790ab}{int \hyperlink{a01031_a8de75fc0505dc951b1834c5a7e8790ab}{idx\+\_\+}}\label{a01031_a8de75fc0505dc951b1834c5a7e8790ab}

\begin{DoxyCompactList}\small\item\em The properties index. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01031_a07abafce4382a305ca01821acdae5cd9}{class {\bfseries Properties}}\label{a01031_a07abafce4382a305ca01821acdae5cd9}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$class Property\+Handle\+T$<$ T $>$}

The property handle, use it to access the properties. 

The template parameter corresponds to the type stored by this property. 

Definition at line 75 of file Properties.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01031_ad701483441944eaf0116c70fb8f55c36}{\index{Property\+Handle\+T@{Property\+Handle\+T}!Property\+Handle\+T@{Property\+Handle\+T}}
\index{Property\+Handle\+T@{Property\+Handle\+T}!Property\+Handle\+T@{Property\+Handle\+T}}
\subsubsection[{Property\+Handle\+T}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf Property\+Handle\+T}$<$ T $>$\+::{\bf Property\+Handle\+T} (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+idx = {\ttfamily -\/1}}
\end{DoxyParamCaption}
)}}\label{a01031_ad701483441944eaf0116c70fb8f55c36}


Constructs a new property handle. 

Do not use the index parameter, unless you really know what you do. Rather pass 0 and then use \hyperlink{a01027_a49327757ccb8e28c8003b9f2aba9b05f}{Properties\+::get\+\_\+property}.


\begin{DoxyParams}{Parameters}
{\em \+\_\+idx} & The properties internal index, use with caution (or better, don't use at all) \\
\hline
\end{DoxyParams}


Definition at line 200 of file Properties\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a01031_a0347638060c6d2c68e2cc167a811789b}{\index{Property\+Handle\+T@{Property\+Handle\+T}!is\+Valid@{is\+Valid}}
\index{is\+Valid@{is\+Valid}!Property\+Handle\+T@{Property\+Handle\+T}}
\subsubsection[{is\+Valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ bool {\bf Property\+Handle\+T}$<$ T $>$\+::is\+Valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01031_a0347638060c6d2c68e2cc167a811789b}


Returns true if the handle is valid, false otherwise. 

This method does not test if there is a property with that index, so make sure you don't use handles after their property was deleted or use invalid values in the constructor. 

Definition at line 224 of file Properties\+T.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Object\+Types/\+Skeleton/\hyperlink{a02382}{Properties.\+hh}\item 
Object\+Types/\+Skeleton/Properties\+T.\+cc\end{DoxyCompactItemize}
