\hypertarget{a11936}{}\section{Properties\+:\+:PropertyT$<$ T $>$ Class Template Reference}
\label{a11936}\index{Properties\+::\+Property\+T$<$ T $>$@{Properties\+::\+Property\+T$<$ T $>$}}


A container storing a single property for all objects.  




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

Inheritance diagram for Properties\+:\+:PropertyT$<$ T $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a11936}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a11936_a0bf73de651e9ba0fab4c6cc9cb11c39b}{PropertyT} (unsigned long \+\_\+size=0)
\begin{DoxyCompactList}\small\item\em Creates a new property with the given size. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11936_a3d625bea3a3a55aad32b4de7a7c956a5}\label{a11936_a3d625bea3a3a55aad32b4de7a7c956a5}} 
virtual \hyperlink{a11936_a3d625bea3a3a55aad32b4de7a7c956a5}{$\sim$\+PropertyT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
T \& \hyperlink{a11936_a04b229d9187034ab8084757c69e1ee4d}{operator\mbox{[}$\,$\mbox{]}} (int \+\_\+index)
\begin{DoxyCompactList}\small\item\em Direct access to the value with the given index. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{Indent}\textbf{ Synchronization}\par
{\em Called by the \hyperlink{a11928}{Properties} container to keep the indices in sync. }\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11936_ac343e4fbca1d84b903c2c18e98cc92c0}\label{a11936_ac343e4fbca1d84b903c2c18e98cc92c0}} 
void \hyperlink{a11936_ac343e4fbca1d84b903c2c18e98cc92c0}{insert\+\_\+at} (int \+\_\+index)
\begin{DoxyCompactList}\small\item\em Insert element. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11936_a00352139090ae8d391bb4195b47cc075}\label{a11936_a00352139090ae8d391bb4195b47cc075}} 
void \hyperlink{a11936_a00352139090ae8d391bb4195b47cc075}{remove\+\_\+at} (int \+\_\+index)
\begin{DoxyCompactList}\small\item\em Remove element. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11936_a7bb2a24048f6198688ef0ed2ef841de5}\label{a11936_a7bb2a24048f6198688ef0ed2ef841de5}} 
void \hyperlink{a11936_a7bb2a24048f6198688ef0ed2ef841de5}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear the property. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11936_aeec3c0f8c5b6e01fc1faab0552e538f2}\label{a11936_aeec3c0f8c5b6e01fc1faab0552e538f2}} 
std\+::vector$<$ T $>$ \hyperlink{a11936_aeec3c0f8c5b6e01fc1faab0552e538f2}{values\+\_\+}
\begin{DoxyCompactList}\small\item\em Stores a property for every object in the class derived from the \hyperlink{a11928}{Properties} class. Access by index. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11936_a07abafce4382a305ca01821acdae5cd9}\label{a11936_a07abafce4382a305ca01821acdae5cd9}} 
class {\bfseries Properties}
\end{DoxyCompactItemize}


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

A container storing a single property for all objects. 

The template type is determined by the property handle \hyperlink{a11924}{Property\+HandleT} used to add it to the \hyperlink{a11928}{Properties} container. 

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



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a11936_a0bf73de651e9ba0fab4c6cc9cb11c39b}\label{a11936_a0bf73de651e9ba0fab4c6cc9cb11c39b}} 
\index{Properties\+::\+PropertyT@{Properties\+::\+PropertyT}!PropertyT@{PropertyT}}
\index{PropertyT@{PropertyT}!Properties\+::\+PropertyT@{Properties\+::\+PropertyT}}
\subsubsection{\texorpdfstring{Property\+T()}{PropertyT()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\hyperlink{a11936}{Properties\+::\+PropertyT}$<$ T $>$\+::\hyperlink{a11936}{PropertyT} (\begin{DoxyParamCaption}\item[{unsigned long}]{\+\_\+size = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Creates a new property with the given size. 

If a property is created when the derived class is already holding objects, it is of course not in sync with regard to the number of stored values (e.\+g. see \hyperlink{a11936_ac343e4fbca1d84b903c2c18e98cc92c0}{Properties\+::\+Property\+T\+::insert\+\_\+at}). The {\itshape \+\_\+size} parameter allocates the memory to get the new property in sync. 

Definition at line 235 of file Properties\+T\+\_\+impl.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11936_a04b229d9187034ab8084757c69e1ee4d}\label{a11936_a04b229d9187034ab8084757c69e1ee4d}} 
\index{Properties\+::\+PropertyT@{Properties\+::\+PropertyT}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Properties\+::\+PropertyT@{Properties\+::\+PropertyT}}
\subsubsection{\texorpdfstring{operator[]()}{operator[]()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
T \& \hyperlink{a11936}{Properties\+::\+PropertyT}$<$ T $>$\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{int}]{\+\_\+index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Direct access to the value with the given index. 

This method is used by the \hyperlink{a11928}{Properties} class to gain access to the \hyperlink{a11928}{Properties} values 

Definition at line 259 of file Properties\+T\+\_\+impl.\+hh.



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