structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.6"/>
  7. <title>Boost.Locale: boost::locale::gnu_gettext::messages_info::domain Struct Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="resize.js"></script>
  13. <script type="text/javascript" src="navtree.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(initResizable);
  16. $(window).load(resizeHeight);
  17. </script>
  18. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  19. </head>
  20. <body>
  21. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  22. <div id="titlearea">
  23. <table cellspacing="0" cellpadding="0">
  24. <tbody>
  25. <tr style="height: 56px;">
  26. <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
  27. <td style="padding-left: 0.5em;">
  28. <div id="projectname">Boost.Locale
  29. </div>
  30. </td>
  31. </tr>
  32. </tbody>
  33. </table>
  34. </div>
  35. <!-- end header part -->
  36. <!-- Generated by Doxygen 1.8.6 -->
  37. <div id="navrow1" class="tabs">
  38. <ul class="tablist">
  39. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  40. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  41. <li><a href="modules.html"><span>Modules</span></a></li>
  42. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  43. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  44. <li><a href="files.html"><span>Files</span></a></li>
  45. <li><a href="examples.html"><span>Examples</span></a></li>
  46. </ul>
  47. </div>
  48. <div id="navrow2" class="tabs2">
  49. <ul class="tablist">
  50. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  51. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  52. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  53. </ul>
  54. </div>
  55. </div><!-- top -->
  56. <div id="side-nav" class="ui-resizable side-nav-resizable">
  57. <div id="nav-tree">
  58. <div id="nav-tree-contents">
  59. <div id="nav-sync" class="sync"></div>
  60. </div>
  61. </div>
  62. <div id="splitbar" style="-moz-user-select:none;"
  63. class="ui-resizable-handle">
  64. </div>
  65. </div>
  66. <script type="text/javascript">
  67. $(document).ready(function(){initNavTree('structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html','');});
  68. </script>
  69. <div id="doc-content">
  70. <div class="header">
  71. <div class="summary">
  72. <a href="#pub-methods">Public Member Functions</a> &#124;
  73. <a href="#pub-attribs">Public Attributes</a> &#124;
  74. <a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain-members.html">List of all members</a> </div>
  75. <div class="headertitle">
  76. <div class="title">boost::locale::gnu_gettext::messages_info::domain Struct Reference</div> </div>
  77. </div><!--header-->
  78. <div class="contents">
  79. <p>This type represents GNU Gettext domain name for the messages.
  80. <a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#details">More...</a></p>
  81. <p><code>#include &lt;<a class="el" href="gnu__gettext_8hpp_source.html">boost/locale/gnu_gettext.hpp</a>&gt;</code></p>
  82. <table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  84. Public Member Functions</h2></td></tr>
  85. <tr class="memitem:a08bbb38698a079239430066b688d28ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a08bbb38698a079239430066b688d28ab">domain</a> (std::string const &amp;n)</td></tr>
  86. <tr class="separator:a08bbb38698a079239430066b688d28ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:a4a361b37db81571d440f0ec4d1e9038f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a4a361b37db81571d440f0ec4d1e9038f">operator==</a> (<a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> const &amp;other) const </td></tr>
  88. <tr class="separator:a4a361b37db81571d440f0ec4d1e9038f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:a26442fe81a0ce8c51775b1267455ecbe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a26442fe81a0ce8c51775b1267455ecbe">operator!=</a> (<a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> const &amp;other) const </td></tr>
  90. <tr class="separator:a26442fe81a0ce8c51775b1267455ecbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. </table><table class="memberdecls">
  92. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  93. Public Attributes</h2></td></tr>
  94. <tr class="memitem:ae2d68e6e122c01aa07e60142d8af54fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2d68e6e122c01aa07e60142d8af54fc"></a>
  95. std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#ae2d68e6e122c01aa07e60142d8af54fc">name</a></td></tr>
  96. <tr class="memdesc:ae2d68e6e122c01aa07e60142d8af54fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the domain. <br/></td></tr>
  97. <tr class="separator:ae2d68e6e122c01aa07e60142d8af54fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7004c3d4bb7ff1ebdba50535723d84a5"></a>
  99. std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#a7004c3d4bb7ff1ebdba50535723d84a5">encoding</a></td></tr>
  100. <tr class="memdesc:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The character encoding for the domain. <br/></td></tr>
  101. <tr class="separator:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. </table>
  103. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  104. <div class="textblock"><p>This type represents GNU Gettext domain name for the messages. </p>
  105. <p>It consists of two parameters:</p>
  106. <ul>
  107. <li>name - the name of the domain - used for opening the file name</li>
  108. <li>encoding - the encoding of the keys in the sources, default - UTF-8 </li>
  109. </ul>
  110. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  111. <a class="anchor" id="a08bbb38698a079239430066b688d28ab"></a>
  112. <div class="memitem">
  113. <div class="memproto">
  114. <table class="mlabels">
  115. <tr>
  116. <td class="mlabels-left">
  117. <table class="memname">
  118. <tr>
  119. <td class="memname">boost::locale::gnu_gettext::messages_info::domain::domain </td>
  120. <td>(</td>
  121. <td class="paramtype">std::string const &amp;&#160;</td>
  122. <td class="paramname"><em>n</em></td><td>)</td>
  123. <td></td>
  124. </tr>
  125. </table>
  126. </td>
  127. <td class="mlabels-right">
  128. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  129. </tr>
  130. </table>
  131. </div><div class="memdoc">
  132. <p>Create a domain object from the name that can hold an encoding after symbol "/" such that if n is "hello/cp1255" then the name would be "hello" and "encoding" would be "cp1255" and if n is "hello" then the name would be the same but encoding would be "UTF-8" </p>
  133. </div>
  134. </div>
  135. <h2 class="groupheader">Member Function Documentation</h2>
  136. <a class="anchor" id="a26442fe81a0ce8c51775b1267455ecbe"></a>
  137. <div class="memitem">
  138. <div class="memproto">
  139. <table class="mlabels">
  140. <tr>
  141. <td class="mlabels-left">
  142. <table class="memname">
  143. <tr>
  144. <td class="memname">bool boost::locale::gnu_gettext::messages_info::domain::operator!= </td>
  145. <td>(</td>
  146. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> const &amp;&#160;</td>
  147. <td class="paramname"><em>other</em></td><td>)</td>
  148. <td> const</td>
  149. </tr>
  150. </table>
  151. </td>
  152. <td class="mlabels-right">
  153. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. <p>Check whether two objects are distinct, only names are compared, encoding is ignored </p>
  158. </div>
  159. </div>
  160. <a class="anchor" id="a4a361b37db81571d440f0ec4d1e9038f"></a>
  161. <div class="memitem">
  162. <div class="memproto">
  163. <table class="mlabels">
  164. <tr>
  165. <td class="mlabels-left">
  166. <table class="memname">
  167. <tr>
  168. <td class="memname">bool boost::locale::gnu_gettext::messages_info::domain::operator== </td>
  169. <td>(</td>
  170. <td class="paramtype"><a class="el" href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html">domain</a> const &amp;&#160;</td>
  171. <td class="paramname"><em>other</em></td><td>)</td>
  172. <td> const</td>
  173. </tr>
  174. </table>
  175. </td>
  176. <td class="mlabels-right">
  177. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  178. </tr>
  179. </table>
  180. </div><div class="memdoc">
  181. <p>Check whether two objects are equivalent, only names are compared, encoding is ignored </p>
  182. </div>
  183. </div>
  184. <hr/>The documentation for this struct was generated from the following file:<ul>
  185. <li>boost/locale/<a class="el" href="gnu__gettext_8hpp_source.html">gnu_gettext.hpp</a></li>
  186. </ul>
  187. </div><!-- contents -->
  188. </div><!-- doc-content -->
  189. <li class="footer">
  190. &copy; Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
  191. </li>
  192. </ul>
  193. </div>
  194. </body>
  195. </html>