\section{cppcms\+:\+:views\+:\+:view\+\_\+lock Class Reference}
\label{classcppcms_1_1views_1_1view__lock}\index{cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}}


A class that allows to use the view withing the internal lock used inside pool class.  




{\ttfamily \#include $<$cppcms/views\+\_\+pool.\+h$>$}

Inheritance diagram for cppcms\+:\+:views\+:\+:view\+\_\+lock\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcppcms_1_1views_1_1view__lock}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf view\+\_\+lock} (std\+::string const \&skin, std\+::string const \&template\+\_\+name, std\+::ostream \&out, {\bf base\+\_\+content} \&content)
\item 
{\bf $\sim$view\+\_\+lock} ()
\item 
{\footnotesize template$<$typename View $>$ }\\View \& {\bf use\+\_\+view} ()
\item 
{\bf base\+\_\+view} \& {\bf view} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class that allows to use the view withing the internal lock used inside pool class. 

It is similar in its operation in creating the view class similarly to \doxyref{pool\+::render()}{p.}{classcppcms_1_1views_1_1pool_abdcc8cffcd62efe199709f9eab948dad} but not calling \doxyref{base\+\_\+view\+::render}{p.}{classcppcms_1_1base__view_ab7d844a52db8bace9f8fc1cd0851a944} member function.

It is used with {\ttfamily $<$\% using ... from ... \%$>$} Cpp\+C\+MS template

\doxyref{New in Cpp\+C\+MS 1.\+2}{p.}{v1_2} 

\subsection{Constructor \& Destructor Documentation}
\index{cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}!view\+\_\+lock@{view\+\_\+lock}}
\index{view\+\_\+lock@{view\+\_\+lock}!cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}}
\subsubsection[{view\+\_\+lock(std\+::string const \&skin, std\+::string const \&template\+\_\+name, std\+::ostream \&out, base\+\_\+content \&content)}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::views\+::view\+\_\+lock\+::view\+\_\+lock (
\begin{DoxyParamCaption}
\item[{std\+::string const \&}]{skin, }
\item[{std\+::string const \&}]{template\+\_\+name, }
\item[{std\+::ostream \&}]{out, }
\item[{{\bf base\+\_\+content} \&}]{content}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1views_1_1view__lock_a00ee5e422b1324d6f8b27511c61f8e23}
Create a view and lock pool\textquotesingle{}s internal lock \index{cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}!````~view\+\_\+lock@{$\sim$view\+\_\+lock}}
\index{````~view\+\_\+lock@{$\sim$view\+\_\+lock}!cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}}
\subsubsection[{$\sim$view\+\_\+lock()}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::views\+::view\+\_\+lock\+::$\sim$view\+\_\+lock (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1views_1_1view__lock_ac5895558a13a9310747e2a83f18b6425}
Delete the view and unlock the pool\textquotesingle{}s lock 

\subsection{Member Function Documentation}
\index{cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}!use\+\_\+view@{use\+\_\+view}}
\index{use\+\_\+view@{use\+\_\+view}!cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}}
\subsubsection[{use\+\_\+view()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename View $>$ View\& cppcms\+::views\+::view\+\_\+lock\+::use\+\_\+view (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classcppcms_1_1views_1_1view__lock_a3ed5a61a21937e3012620f0cc35558d9}
Shortcut to dynamic\+\_\+cast$<$\+View \&$>$(view()) \index{cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}!view@{view}}
\index{view@{view}!cppcms\+::views\+::view\+\_\+lock@{cppcms\+::views\+::view\+\_\+lock}}
\subsubsection[{view()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf base\+\_\+view}\& cppcms\+::views\+::view\+\_\+lock\+::view (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1views_1_1view__lock_ab8aa9dcd994bd3f9ff7eb930012f6cac}
Get the underlying view object 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
cppcms/views\+\_\+pool.\+h\end{DoxyCompactItemize}
