<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Boost.Locale: boost::locale::gnu_gettext::messages_info::domain Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Boost.Locale
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">boost::locale::gnu_gettext::messages_info::domain Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This type represents GNU Gettext domain name for the messages.  
 <a href="structboost_1_1locale_1_1gnu__gettext_1_1messages__info_1_1domain.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gnu__gettext_8hpp_source.html">boost/locale/gnu_gettext.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<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>
<tr class="separator:a08bbb38698a079239430066b688d28ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="separator:a4a361b37db81571d440f0ec4d1e9038f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="separator:a26442fe81a0ce8c51775b1267455ecbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae2d68e6e122c01aa07e60142d8af54fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2d68e6e122c01aa07e60142d8af54fc"></a>
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>
<tr class="memdesc:ae2d68e6e122c01aa07e60142d8af54fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the domain. <br/></td></tr>
<tr class="separator:ae2d68e6e122c01aa07e60142d8af54fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7004c3d4bb7ff1ebdba50535723d84a5"></a>
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>
<tr class="memdesc:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The character encoding for the domain. <br/></td></tr>
<tr class="separator:a7004c3d4bb7ff1ebdba50535723d84a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This type represents GNU Gettext domain name for the messages. </p>
<p>It consists of two parameters:</p>
<ul>
<li>name - the name of the domain - used for opening the file name</li>
<li>encoding - the encoding of the keys in the sources, default - UTF-8 </li>
</ul>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a08bbb38698a079239430066b688d28ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::locale::gnu_gettext::messages_info::domain::domain </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<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>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a26442fe81a0ce8c51775b1267455ecbe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool boost::locale::gnu_gettext::messages_info::domain::operator!= </td>
          <td>(</td>
          <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>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Check whether two objects are distinct, only names are compared, encoding is ignored </p>

</div>
</div>
<a class="anchor" id="a4a361b37db81571d440f0ec4d1e9038f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool boost::locale::gnu_gettext::messages_info::domain::operator== </td>
          <td>(</td>
          <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>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Check whether two objects are equivalent, only names are compared, encoding is ignored </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>boost/locale/<a class="el" href="gnu__gettext_8hpp_source.html">gnu_gettext.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->

    <li class="footer">
&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.
    </li>
   </ul>
 </div>
</body>
</html>
