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


{\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$<$ bool $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00934}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00934_a91fdc24bde596a6a320fe9171c9e42f4}{typedef std\+::vector$<$ bool $>$ {\bfseries vector\+\_\+type}}\label{a00934_a91fdc24bde596a6a320fe9171c9e42f4}

\item 
\hypertarget{a00934_a4b5eb41443487e7b7c68cd3c6fe176a0}{typedef bool {\bfseries value\+\_\+type}}\label{a00934_a4b5eb41443487e7b7c68cd3c6fe176a0}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\item 
\hypertarget{a00934_ae8a91c5e133b12c2b7990392bcd88d4f}{const bool {\bfseries def\+\_\+}}\label{a00934_ae8a91c5e133b12c2b7990392bcd88d4f}

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

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


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

Property specialization for bool type. 

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



\subsection{Member Function Documentation}
\hypertarget{a00934_acced420f915d28b372fec0236518f23c}{\index{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ bool $>$@{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ bool $>$}!size\+\_\+of@{size\+\_\+of}}
\index{size\+\_\+of@{size\+\_\+of}!Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ bool $>$@{Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T$<$ bool $>$}}
\subsubsection[{size\+\_\+of}]{\setlength{\rightskip}{0pt plus 5cm}virtual size\+\_\+t {\bf Open\+Volume\+Mesh\+::\+Open\+Volume\+Mesh\+Property\+T}$<$ bool $>$\+::size\+\_\+of (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{\+\_\+n\+\_\+elem}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00934_acced420f915d28b372fec0236518f23c}
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 292 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}
