\section{cppcms\+:\+:translation\+\_\+domain\+\_\+scope Class Reference}
\label{classcppcms_1_1translation__domain__scope}\index{cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}}


set gettext domain id withing specific scope  




{\ttfamily \#include $<$cppcms/filters.\+h$>$}

Inheritance diagram for cppcms\+:\+:translation\+\_\+domain\+\_\+scope\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcppcms_1_1translation__domain__scope}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf translation\+\_\+domain\+\_\+scope} (std\+::ostream \&output, int {\bf domain\+\_\+id})
\item 
{\bf translation\+\_\+domain\+\_\+scope} (std\+::ostream \&output, std\+::string const \&domain)
\item 
{\bf $\sim$translation\+\_\+domain\+\_\+scope} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int {\bf domain\+\_\+id} (std\+::ostream \&out, std\+::string const \&domain)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
set gettext domain id withing specific scope 

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

\subsection{Constructor \& Destructor Documentation}
\index{cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}!translation\+\_\+domain\+\_\+scope@{translation\+\_\+domain\+\_\+scope}}
\index{translation\+\_\+domain\+\_\+scope@{translation\+\_\+domain\+\_\+scope}!cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}}
\subsubsection[{translation\+\_\+domain\+\_\+scope(std\+::ostream \&output, int domain\+\_\+id)}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::translation\+\_\+domain\+\_\+scope\+::translation\+\_\+domain\+\_\+scope (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{output, }
\item[{int}]{domain\+\_\+id}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1translation__domain__scope_a74b4f1f69fd5948f974a081c0979425f}
Set domain id on the stream and save previous one to restore in the destructor \index{cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}!translation\+\_\+domain\+\_\+scope@{translation\+\_\+domain\+\_\+scope}}
\index{translation\+\_\+domain\+\_\+scope@{translation\+\_\+domain\+\_\+scope}!cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}}
\subsubsection[{translation\+\_\+domain\+\_\+scope(std\+::ostream \&output, std\+::string const \&domain)}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::translation\+\_\+domain\+\_\+scope\+::translation\+\_\+domain\+\_\+scope (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{output, }
\item[{std\+::string const \&}]{domain}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1translation__domain__scope_adc93324bc7af9eeaa109d44824dae8f4}
Set domain on the stream and save previous one to restore in the destructor \index{cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}!````~translation\+\_\+domain\+\_\+scope@{$\sim$translation\+\_\+domain\+\_\+scope}}
\index{````~translation\+\_\+domain\+\_\+scope@{$\sim$translation\+\_\+domain\+\_\+scope}!cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}}
\subsubsection[{$\sim$translation\+\_\+domain\+\_\+scope()}]{\setlength{\rightskip}{0pt plus 5cm}cppcms\+::translation\+\_\+domain\+\_\+scope\+::$\sim$translation\+\_\+domain\+\_\+scope (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classcppcms_1_1translation__domain__scope_ac45419a2c6a93ad7a2caf0ac16765874}
Restrore domain 

\subsection{Member Function Documentation}
\index{cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}!domain\+\_\+id@{domain\+\_\+id}}
\index{domain\+\_\+id@{domain\+\_\+id}!cppcms\+::translation\+\_\+domain\+\_\+scope@{cppcms\+::translation\+\_\+domain\+\_\+scope}}
\subsubsection[{domain\+\_\+id(std\+::ostream \&out, std\+::string const \&domain)}]{\setlength{\rightskip}{0pt plus 5cm}static int cppcms\+::translation\+\_\+domain\+\_\+scope\+::domain\+\_\+id (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{out, }
\item[{std\+::string const \&}]{domain}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classcppcms_1_1translation__domain__scope_abaa7c73c7e0f7cd6f3eed2b17c05bad3}
Get numeric id for the domain 

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