\section{booster\+:\+:locale\+:\+:gnu\+\_\+gettext\+:\+:messages\+\_\+info Struct Reference}
\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info}\index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}


This structure holds all information required for creating gnu-\/gettext message catalogs,.  




{\ttfamily \#include $<$booster/booster/locale/gnu\+\_\+gettext.\+h$>$}

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf domain}
\begin{DoxyCompactList}\small\item\em This type represents G\+NU Gettext domain name for the messages. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::vector$<$ {\bf domain} $>$ {\bf domains\+\_\+type}
\item 
typedef {\bf function}$<$ std\+::vector$<$ char $>$ std\+::string const \&file\+\_\+name, std\+::string const \&{\bf encoding}) $>$ {\bf callback\+\_\+type}
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::string {\bf language}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_a0216d1c7e62f61f6b4eadd81cc9eb092}

\begin{DoxyCompactList}\small\item\em The language we load the catalog for, like \char`\"{}ru\char`\"{}, \char`\"{}en\char`\"{}, \char`\"{}de\char`\"{}. \end{DoxyCompactList}\item 
std\+::string {\bf country}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_ae2e404c7ba9b929f44f82eaf856b8bb5}

\begin{DoxyCompactList}\small\item\em The country we load the catalog for, like \char`\"{}\+U\+S\char`\"{}, \char`\"{}\+I\+L\char`\"{}. \end{DoxyCompactList}\item 
std\+::string {\bf variant}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_abff6052c58b8153f7f363b014a16a8bb}

\begin{DoxyCompactList}\small\item\em Language variant, like \char`\"{}euro\char`\"{} so it would look for catalog like de\+\_\+\+DE@euro. \end{DoxyCompactList}\item 
std\+::string {\bf encoding}
\item 
std\+::string {\bf locale\+\_\+category}
\item 
{\bf domains\+\_\+type} {\bf domains}
\item 
std\+::vector$<$ std\+::string $>$ {\bf paths}
\item 
{\bf callback\+\_\+type} {\bf callback}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This structure holds all information required for creating gnu-\/gettext message catalogs,. 

The user is expected to set its parameters to load these catalogs correctly. This structure also allows providing functions for charset conversion. Note, you need to provide them, so this structure is not useful for wide characters without subclassing and it will also ignore gettext catalogs that use a charset different from {\itshape encoding}. 

\subsection{Member Typedef Documentation}
\index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!callback\+\_\+type@{callback\+\_\+type}}
\index{callback\+\_\+type@{callback\+\_\+type}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{callback\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf function}$<$ std\+::vector$<$char$>$ std\+::string const \&file\+\_\+name, std\+::string const \&{\bf encoding} ) $>$ {\bf booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::callback\+\_\+type}}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_aee4d15538c8e5df67d223ad683483d3d}
The callback for custom file system support. This callback should read the file named {\itshape file\+\_\+name} encoded in {\itshape encoding} character set into std\+::vector$<$char$>$ and return it.


\begin{DoxyItemize}
\item If the file does not exist, it should return an empty vector.
\item If a error occurs during file read it should throw a error.
\end{DoxyItemize}

\begin{DoxyNote}{Note}
The user should support only the encodings the locales are created for. So if the user uses only one encoding or the file system is encoding agnostic, he may ignore the {\itshape encoding} parameter. 
\end{DoxyNote}
\index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!domains\+\_\+type@{domains\+\_\+type}}
\index{domains\+\_\+type@{domains\+\_\+type}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{domains\+\_\+type}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\+::vector$<${\bf domain}$>$ {\bf booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::domains\+\_\+type}}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_ac45a61d428200334bd0c1fa05d8ee430}
Type that defines a list of domains that are loaded The first one is the default one 

\subsection{Member Data Documentation}
\index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!callback@{callback}}
\index{callback@{callback}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{callback}]{\setlength{\rightskip}{0pt plus 5cm}{\bf callback\+\_\+type} booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::callback}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_a36951144ac6a71cdca5cc11a8e53f681}
The callback for handling custom file systems, if it is empty, the real OS file-\/system is being used. \index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!domains@{domains}}
\index{domains@{domains}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{domains}]{\setlength{\rightskip}{0pt plus 5cm}{\bf domains\+\_\+type} booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::domains}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_a1571eeef85b4728d5f143134c65a0b2c}
Message domains -\/ application name, like my\+\_\+app. So files named my\+\_\+app.\+mo would be loaded \index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!encoding@{encoding}}
\index{encoding@{encoding}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{encoding}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::encoding}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_a067c03b260be53f0ecf9c9ccc21fdeea}
Required target charset encoding. Ignored for wide characters. For narrow, should specify the correct encoding required for this catalog \index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!locale\+\_\+category@{locale\+\_\+category}}
\index{locale\+\_\+category@{locale\+\_\+category}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{locale\+\_\+category}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::locale\+\_\+category}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_abb1d83a941adc7c050c648432fe25f4b}
Locale category, is set by default to L\+C\+\_\+\+M\+E\+S\+S\+A\+G\+ES, but may be changed \index{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}!paths@{paths}}
\index{paths@{paths}!booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info@{booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info}}
\subsubsection[{paths}]{\setlength{\rightskip}{0pt plus 5cm}std\+::vector$<$std\+::string$>$ booster\+::locale\+::gnu\+\_\+gettext\+::messages\+\_\+info\+::paths}\label{structbooster_1_1locale_1_1gnu__gettext_1_1messages__info_a2d4964dc765fb8aea8f6126a4041d1cb}
Paths to search files in. Under MS Windows it uses encoding parameter to convert them to wide OS specific paths. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
booster/locale/gnu\+\_\+gettext.\+h\end{DoxyCompactItemize}
