\hypertarget{a01045}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:Open\+Mesh\+:\+:Property\+T$<$ std\+:\+:string $>$ Class Template Reference}
\label{a01045}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}}
}
Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:Open\+Mesh\+:\+:Property\+T$<$ std\+:\+:string $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a01045}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01045_a7633cf9aec79232e46c9f39df30d638c}{typedef std\+::string {\bfseries Value}}\label{a01045_a7633cf9aec79232e46c9f39df30d638c}

\item 
\hypertarget{a01045_a40ae658971755603b0646b1f40e4ee62}{typedef std\+::vector$<$ std\+::string $>$ {\bfseries vector\+\_\+type}}\label{a01045_a40ae658971755603b0646b1f40e4ee62}

\item 
\hypertarget{a01045_a35f2e936786bf50647bf2b1cd07812bf}{typedef std\+::string {\bfseries value\+\_\+type}}\label{a01045_a35f2e936786bf50647bf2b1cd07812bf}

\item 
\hypertarget{a01045_aa24430090e8adb6e2904b5c213514740}{typedef vector\+\_\+type\+::reference {\bfseries reference}}\label{a01045_aa24430090e8adb6e2904b5c213514740}

\item 
\hypertarget{a01045_af90da9cfca009cd6d6984f5b8e8c4e84}{typedef \\*
vector\+\_\+type\+::const\+\_\+reference {\bfseries const\+\_\+reference}}\label{a01045_af90da9cfca009cd6d6984f5b8e8c4e84}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01045_a71d92428f281ba7788c9d53e19dc4e64}{{\bfseries Property\+T} (const std\+::string \&\+\_\+name=\char`\"{}$<$unknown$>$\char`\"{})}\label{a01045_a71d92428f281ba7788c9d53e19dc4e64}

\item 
\hypertarget{a01045_a004454f03487560b299e5f055616dee2}{virtual void \hyperlink{a01045_a004454f03487560b299e5f055616dee2}{reserve} (size\+\_\+t \+\_\+n)}\label{a01045_a004454f03487560b299e5f055616dee2}

\begin{DoxyCompactList}\small\item\em Reserve memory for n elements. \end{DoxyCompactList}\item 
\hypertarget{a01045_a487e8c72369184641b12d58458656704}{virtual void \hyperlink{a01045_a487e8c72369184641b12d58458656704}{resize} (size\+\_\+t \+\_\+n)}\label{a01045_a487e8c72369184641b12d58458656704}

\begin{DoxyCompactList}\small\item\em Resize storage to hold n elements. \end{DoxyCompactList}\item 
\hypertarget{a01045_a8ddf6a27e125be64781d60a0274379d4}{virtual void \hyperlink{a01045_a8ddf6a27e125be64781d60a0274379d4}{clear} ()}\label{a01045_a8ddf6a27e125be64781d60a0274379d4}

\begin{DoxyCompactList}\small\item\em Clear all elements and free memory. \end{DoxyCompactList}\item 
\hypertarget{a01045_aa70763381e9113c01a6888b040dfbabf}{virtual void \hyperlink{a01045_aa70763381e9113c01a6888b040dfbabf}{push\+\_\+back} ()}\label{a01045_aa70763381e9113c01a6888b040dfbabf}

\begin{DoxyCompactList}\small\item\em Extend the number of elements by one. \end{DoxyCompactList}\item 
\hypertarget{a01045_abcb9bf5ac452c86c413f223739953699}{virtual void \hyperlink{a01045_abcb9bf5ac452c86c413f223739953699}{swap} (size\+\_\+t \+\_\+i0, size\+\_\+t \+\_\+i1)}\label{a01045_abcb9bf5ac452c86c413f223739953699}

\begin{DoxyCompactList}\small\item\em Let two elements swap their storage place. \end{DoxyCompactList}\item 
\hypertarget{a01045_ae53cdeb85e0c7bcaf0369c7b71d51f7b}{virtual void \hyperlink{a01045_ae53cdeb85e0c7bcaf0369c7b71d51f7b}{copy} (size\+\_\+t \+\_\+i0, size\+\_\+t \+\_\+i1)}\label{a01045_ae53cdeb85e0c7bcaf0369c7b71d51f7b}

\begin{DoxyCompactList}\small\item\em Copy one element to another. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01045_ab13103daccd3565fe734410fddd33c63}{set\+\_\+persistent} (bool \+\_\+yn)
\item 
\hypertarget{a01045_a8ecfd36f583910ee3033b7f9b1fa2f19}{virtual size\+\_\+t \hyperlink{a01045_a8ecfd36f583910ee3033b7f9b1fa2f19}{n\+\_\+elements} () const }\label{a01045_a8ecfd36f583910ee3033b7f9b1fa2f19}

\begin{DoxyCompactList}\small\item\em Number of elements in property. \end{DoxyCompactList}\item 
\hypertarget{a01045_a4f89873b2a558a978f9639e4cbe06ec7}{virtual size\+\_\+t \hyperlink{a01045_a4f89873b2a558a978f9639e4cbe06ec7}{element\+\_\+size} () const }\label{a01045_a4f89873b2a558a978f9639e4cbe06ec7}

\begin{DoxyCompactList}\small\item\em Size of one element in bytes or Unknown\+Size if not known. \end{DoxyCompactList}\item 
\hypertarget{a01045_a2095a1d50c1f4a4dd6e3f041ef396e6b}{virtual size\+\_\+t \hyperlink{a01045_a2095a1d50c1f4a4dd6e3f041ef396e6b}{size\+\_\+of} () const }\label{a01045_a2095a1d50c1f4a4dd6e3f041ef396e6b}

\begin{DoxyCompactList}\small\item\em Return size of property in bytes. \end{DoxyCompactList}\item 
virtual size\+\_\+t \hyperlink{a01045_aeada782b333a79228d8a0c5a0a974ad7}{size\+\_\+of} (size\+\_\+t) const 
\item 
\hypertarget{a01045_aff5ec45873e9e39c49c92b4e9a7dcd7a}{size\+\_\+t \hyperlink{a01045_aff5ec45873e9e39c49c92b4e9a7dcd7a}{store} (std\+::ostream \&\+\_\+ostr, bool \+\_\+swap) const }\label{a01045_aff5ec45873e9e39c49c92b4e9a7dcd7a}

\begin{DoxyCompactList}\small\item\em Store self as one binary block. Max. length of a string is 65535 bytes. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{a01045_a4c3997737a9795b5c6d8c2788ddf7cca}{restore} (std\+::istream \&\+\_\+istr, bool \+\_\+swap)
\item 
\hypertarget{a01045_ab46b3234814b492a83c8435fc5ddcd1c}{const value\+\_\+type $\ast$ {\bfseries data} () const }\label{a01045_ab46b3234814b492a83c8435fc5ddcd1c}

\item 
\hypertarget{a01045_a6dbbcf4f02d824c627e14ea184b55fc5}{reference \hyperlink{a01045_a6dbbcf4f02d824c627e14ea184b55fc5}{operator\mbox{[}$\,$\mbox{]}} (int \+\_\+idx)}\label{a01045_a6dbbcf4f02d824c627e14ea184b55fc5}

\begin{DoxyCompactList}\small\item\em Access the i'th element. No range check is performed! \end{DoxyCompactList}\item 
\hypertarget{a01045_a33c428e6f7d547a4fe2a2293193224d3}{const\+\_\+reference \hyperlink{a01045_a33c428e6f7d547a4fe2a2293193224d3}{operator\mbox{[}$\,$\mbox{]}} (int \+\_\+idx) const }\label{a01045_a33c428e6f7d547a4fe2a2293193224d3}

\begin{DoxyCompactList}\small\item\em Const access the i'th element. No range check is performed! \end{DoxyCompactList}\item 
\hypertarget{a01045_a14a08418eca083dbbb9ff4bf49614a97}{\hyperlink{a01040}{Property\+T}$<$ value\+\_\+type $>$ $\ast$ \hyperlink{a01045_a14a08418eca083dbbb9ff4bf49614a97}{clone} () const }\label{a01045_a14a08418eca083dbbb9ff4bf49614a97}

\begin{DoxyCompactList}\small\item\em Return a deep copy of self. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01045_a7a5bd872e1c377e5589413a09b52c00b}{vector\+\_\+type {\bfseries data\+\_\+}}\label{a01045_a7a5bd872e1c377e5589413a09b52c00b}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$$>$class A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}

Property specialization for std\+::string type. 

Definition at line 390 of file Mesh\+Node2\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a01045_a4c3997737a9795b5c6d8c2788ddf7cca}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}!restore@{restore}}
\index{restore@{restore}!A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}}
\subsubsection[{restore}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T}$<$ std\+::string $>$\+::restore (
\begin{DoxyParamCaption}
\item[{std\+::istream \&}]{\+\_\+istr, }
\item[{bool}]{\+\_\+swap}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01045_a4c3997737a9795b5c6d8c2788ddf7cca}
Restore self from a binary block. Uses \hyperlink{a01045_a004454f03487560b299e5f055616dee2}{reserve()} to set the size of self before restoring. 

Implements \hyperlink{a00333_a99986d18bb42d1ff958fa0529d2a0e86}{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Base\+Property}.



Definition at line 435 of file Mesh\+Node2\+T.\+cc.

\hypertarget{a01045_ab13103daccd3565fe734410fddd33c63}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}!set\+\_\+persistent@{set\+\_\+persistent}}
\index{set\+\_\+persistent@{set\+\_\+persistent}!A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}}
\subsubsection[{set\+\_\+persistent}]{\setlength{\rightskip}{0pt plus 5cm}virtual void {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T}$<$ std\+::string $>$\+::set\+\_\+persistent (
\begin{DoxyParamCaption}
\item[{bool}]{\+\_\+yn}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01045_ab13103daccd3565fe734410fddd33c63}
Enable or disable persistency. Self must be a named property to enable persistency. 

Implements \hyperlink{a00333_a2d986f28e6c09cbb028e5e189c15a5db}{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Base\+Property}.



Definition at line 420 of file Mesh\+Node2\+T.\+cc.

\hypertarget{a01045_aeada782b333a79228d8a0c5a0a974ad7}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}!size\+\_\+of@{size\+\_\+of}}
\index{size\+\_\+of@{size\+\_\+of}!A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$@{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T$<$ std\+::string $>$}}
\subsubsection[{size\+\_\+of}]{\setlength{\rightskip}{0pt plus 5cm}virtual size\+\_\+t {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Property\+T}$<$ std\+::string $>$\+::size\+\_\+of (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{\+\_\+n\+\_\+elem}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01045_aeada782b333a79228d8a0c5a0a974ad7}
Estimated size of property if it has \+\_\+n\+\_\+elem elements. The member returns Unknown\+Size if the size cannot be estimated. 

Reimplemented from \hyperlink{a00333_aa5eebab2b4996b6ebae21c2d9a42b3df}{A\+C\+G\+::\+Scene\+Graph\+::\+Open\+Mesh\+::\+Base\+Property}.



Definition at line 428 of file Mesh\+Node2\+T.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\end{DoxyCompactItemize}
