\hypertarget{a00935}{\section{Open\+Volume\+Mesh\+:\+:Open\+Volume\+Mesh\+Property\+T$<$ std\+:\+:string $>$ Class Template Reference}
\label{a00935}\index{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$@{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$}}
}


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

Inheritance diagram for Open\+Volume\+Mesh\+:\+:Open\+Volume\+Mesh\+Property\+T$<$ std\+:\+:string $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00935}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00935_acd144a3444da2136dddc807ab18aa740}{typedef std\+::string {\bfseries Value}}\label{a00935_acd144a3444da2136dddc807ab18aa740}

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

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

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

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

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

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

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

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

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

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

\begin{DoxyCompactList}\small\item\em Let two elements swap their storage place. \end{DoxyCompactList}\item 
\hypertarget{a00935_a147dbd627391524fc3b6d3f9df220083}{virtual void \hyperlink{a00935_a147dbd627391524fc3b6d3f9df220083}{delete\+\_\+element} (size\+\_\+t \+\_\+idx)}\label{a00935_a147dbd627391524fc3b6d3f9df220083}

\begin{DoxyCompactList}\small\item\em Erase an element of the vector. \end{DoxyCompactList}\item 
\hypertarget{a00935_a5eaf6648185cff1259aca7bd3630ee65}{virtual size\+\_\+t \hyperlink{a00935_a5eaf6648185cff1259aca7bd3630ee65}{n\+\_\+elements} () const }\label{a00935_a5eaf6648185cff1259aca7bd3630ee65}

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

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

\begin{DoxyCompactList}\small\item\em Return size of property in bytes. \end{DoxyCompactList}\item 
virtual size\+\_\+t \hyperlink{a00935_a23335481c242cb5cdd39f111f07a65b9}{size\+\_\+of} (size\+\_\+t) const 
\item 
\hypertarget{a00935_a996284eeb613f23fe19cae0b0396eda7}{virtual void {\bfseries stats} (std\+::ostream \&\+\_\+ostr) const }\label{a00935_a996284eeb613f23fe19cae0b0396eda7}

\item 
\hypertarget{a00935_a36bd7bf2d4828a8ac30fc7eb3c8c9f1d}{virtual void {\bfseries serialize} (std\+::ostream \&\+\_\+ostr) const }\label{a00935_a36bd7bf2d4828a8ac30fc7eb3c8c9f1d}

\item 
\hypertarget{a00935_ad50343b657368585a0106b3997e913da}{virtual void {\bfseries deserialize} (std\+::istream \&\+\_\+istr)}\label{a00935_ad50343b657368585a0106b3997e913da}

\item 
\hypertarget{a00935_a6848e6b8fca208b8acb5236db6ef3dfb}{const value\+\_\+type $\ast$ {\bfseries data} () const }\label{a00935_a6848e6b8fca208b8acb5236db6ef3dfb}

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

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

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

\begin{DoxyCompactList}\small\item\em Return a deep copy of self. \end{DoxyCompactList}\item 
\hypertarget{a00935_ab8de0c60694b50406f1012837419f145}{vector\+\_\+type\+::const\+\_\+iterator {\bfseries begin} () const }\label{a00935_ab8de0c60694b50406f1012837419f145}

\item 
\hypertarget{a00935_a65135f5a303736929a9abee81fc71872}{vector\+\_\+type\+::iterator {\bfseries begin} ()}\label{a00935_a65135f5a303736929a9abee81fc71872}

\item 
\hypertarget{a00935_a5ccc49be0dfa6aa91e7b04ff6f0516a8}{vector\+\_\+type\+::const\+\_\+iterator {\bfseries end} () const }\label{a00935_a5ccc49be0dfa6aa91e7b04ff6f0516a8}

\item 
\hypertarget{a00935_ad8a84cb26055e03d05b8a65691bd88dc}{vector\+\_\+type\+::iterator {\bfseries end} ()}\label{a00935_ad8a84cb26055e03d05b8a65691bd88dc}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00935_a5b818b9e9e010296263ef1928087b2a0}{virtual void \hyperlink{a00935_a5b818b9e9e010296263ef1928087b2a0}{delete\+\_\+multiple\+\_\+entries} (const std\+::vector$<$ bool $>$ \&\+\_\+tags)}\label{a00935_a5b818b9e9e010296263ef1928087b2a0}

\begin{DoxyCompactList}\small\item\em Delete multiple entries in list. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00935_a622ee1dae8aba3cbd53fa5c4573a6a91}{vector\+\_\+type {\bfseries data\+\_\+}}\label{a00935_a622ee1dae8aba3cbd53fa5c4573a6a91}

\item 
\hypertarget{a00935_a20ec28928ca865e1591cf3648ec8c9cd}{const std\+::string {\bfseries def\+\_\+}}\label{a00935_a20ec28928ca865e1591cf3648ec8c9cd}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00935_a65aa8a1d9c3671d4ba41bcde569b1e76}{{\footnotesize template$<$class Prop\+T , class Handle\+T $>$ }\\class {\bfseries Property\+Ptr}}\label{a00935_a65aa8a1d9c3671d4ba41bcde569b1e76}

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


\subsection{Detailed Description}
\subsubsection*{template$<$$>$class Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$}

Property specialization for std\+::string type. 

Definition at line 374 of file Open\+Volume\+Mesh\+Property.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00935_a23335481c242cb5cdd39f111f07a65b9}{\index{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$@{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$}!size\+\_\+of@{size\+\_\+of}}
\index{size\+\_\+of@{size\+\_\+of}!Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$@{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ std\+::string $>$}}
\subsubsection[{size\+\_\+of}]{\setlength{\rightskip}{0pt plus 5cm}virtual size\+\_\+t {\bf Open\+Volume\+Mesh\+::\+Open\+Volume\+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{a00935_a23335481c242cb5cdd39f111f07a65b9}
Estimated size of property if it has \+\_\+n\+\_\+elem elements. The member returns Unknown\+Size if the size cannot be estimated. 

Reimplemented from \hyperlink{a00928_af6cf5cfb1a7e4eab171a4988face09c0}{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Base\+Property}.



Definition at line 428 of file Open\+Volume\+Mesh\+Property.\+hh.



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