<!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::localization_backend_manager Class 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('classboost_1_1locale_1_1localization__backend__manager.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classboost_1_1locale_1_1localization__backend__manager-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">boost::locale::localization_backend_manager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Localization backend manager is a class that holds various backend and allows creation of their combination or selection.  
 <a href="classboost_1_1locale_1_1localization__backend__manager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="localization__backend_8hpp_source.html">boost/locale/localization_backend.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:a0407271db5e7722f901c510474c3581f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a0407271db5e7722f901c510474c3581f">localization_backend_manager</a> ()</td></tr>
<tr class="separator:a0407271db5e7722f901c510474c3581f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2fb02931f4b202eedc46b3da4a24449"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#ad2fb02931f4b202eedc46b3da4a24449">localization_backend_manager</a> (<a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;)</td></tr>
<tr class="separator:ad2fb02931f4b202eedc46b3da4a24449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af506ec1809f2f67c71f590862f63eeab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> <br class="typebreak"/>
const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#af506ec1809f2f67c71f590862f63eeab">operator=</a> (<a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;)</td></tr>
<tr class="separator:af506ec1809f2f67c71f590862f63eeab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e602229ef95ea60834fdea95110bf19"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a7e602229ef95ea60834fdea95110bf19">~localization_backend_manager</a> ()</td></tr>
<tr class="separator:a7e602229ef95ea60834fdea95110bf19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d377e934af287573212581cab70dd6"><td class="memItemLeft" align="right" valign="top">std::auto_ptr<br class="typebreak"/>
&lt; <a class="el" href="classboost_1_1locale_1_1localization__backend.html">localization_backend</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a89d377e934af287573212581cab70dd6">get</a> () const </td></tr>
<tr class="separator:a89d377e934af287573212581cab70dd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3c6eca5cc54c5161fef3bfd14509c64"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#ae3c6eca5cc54c5161fef3bfd14509c64">add_backend</a> (std::string const &amp;name, std::auto_ptr&lt; <a class="el" href="classboost_1_1locale_1_1localization__backend.html">localization_backend</a> &gt; backend)</td></tr>
<tr class="separator:ae3c6eca5cc54c5161fef3bfd14509c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9841c83aa85dbf8f61b2e17732499a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a8c9841c83aa85dbf8f61b2e17732499a">remove_all_backends</a> ()</td></tr>
<tr class="separator:a8c9841c83aa85dbf8f61b2e17732499a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd336cf325b0ee284ab8a07813679c0"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a7bd336cf325b0ee284ab8a07813679c0">get_all_backends</a> () const </td></tr>
<tr class="separator:a7bd336cf325b0ee284ab8a07813679c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf33775a09e7a765c3401e769019e915"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#adf33775a09e7a765c3401e769019e915">select</a> (std::string const &amp;backend_name, <a class="el" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a> category=<a class="el" href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a">all_categories</a>)</td></tr>
<tr class="separator:adf33775a09e7a765c3401e769019e915"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a65649bc161a0cc160da9b40a9ad14e20"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a65649bc161a0cc160da9b40a9ad14e20">global</a> (<a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;)</td></tr>
<tr class="separator:a65649bc161a0cc160da9b40a9ad14e20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0935a48d3012f62197f4e92119ee62b5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html#a0935a48d3012f62197f4e92119ee62b5">global</a> ()</td></tr>
<tr class="separator:a0935a48d3012f62197f4e92119ee62b5"><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>Localization backend manager is a class that holds various backend and allows creation of their combination or selection. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0407271db5e7722f901c510474c3581f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::locale::localization_backend_manager::localization_backend_manager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>New empty <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html" title="Localization backend manager is a class that holds various backend and allows creation of their combi...">localization_backend_manager</a> </p>

</div>
</div>
<a class="anchor" id="ad2fb02931f4b202eedc46b3da4a24449"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::locale::localization_backend_manager::localization_backend_manager </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html" title="Localization backend manager is a class that holds various backend and allows creation of their combi...">localization_backend_manager</a> </p>

</div>
</div>
<a class="anchor" id="a7e602229ef95ea60834fdea95110bf19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::locale::localization_backend_manager::~localization_backend_manager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae3c6eca5cc54c5161fef3bfd14509c64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void boost::locale::localization_backend_manager::add_backend </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::auto_ptr&lt; <a class="el" href="classboost_1_1locale_1_1localization__backend.html">localization_backend</a> &gt;&#160;</td>
          <td class="paramname"><em>backend</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add new backend to the manager, each backend should be uniquely defined by its name.</p>
<p>This library provides: "icu", "posix", "winapi" and "std" backends. </p>

</div>
</div>
<a class="anchor" id="a89d377e934af287573212581cab70dd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::auto_ptr&lt;<a class="el" href="classboost_1_1locale_1_1localization__backend.html">localization_backend</a>&gt; boost::locale::localization_backend_manager::get </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create new localization backend according to current settings. </p>

</div>
</div>
<a class="anchor" id="a7bd336cf325b0ee284ab8a07813679c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;std::string&gt; boost::locale::localization_backend_manager::get_all_backends </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get list of all available backends </p>

</div>
</div>
<a class="anchor" id="a65649bc161a0cc160da9b40a9ad14e20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> boost::locale::localization_backend_manager::global </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set new global backend manager, the old one is returned.</p>
<p>This function is thread safe </p>

</div>
</div>
<a class="anchor" id="a0935a48d3012f62197f4e92119ee62b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> boost::locale::localization_backend_manager::global </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get global backend manager</p>
<p>This function is thread safe </p>

</div>
</div>
<a class="anchor" id="af506ec1809f2f67c71f590862f63eeab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const&amp; boost::locale::localization_backend_manager::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html">localization_backend_manager</a> const &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Assign <a class="el" href="classboost_1_1locale_1_1localization__backend__manager.html" title="Localization backend manager is a class that holds various backend and allows creation of their combi...">localization_backend_manager</a> </p>

</div>
</div>
<a class="anchor" id="a8c9841c83aa85dbf8f61b2e17732499a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void boost::locale::localization_backend_manager::remove_all_backends </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clear backend </p>

</div>
</div>
<a class="anchor" id="adf33775a09e7a765c3401e769019e915"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void boost::locale::localization_backend_manager::select </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>backend_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceboost_1_1locale.html#a32e8cb87d2f68a5577dbb7ce55c0d2b1">locale_category_type</a>&#160;</td>
          <td class="paramname"><em>category</em> = <code><a class="el" href="namespaceboost_1_1locale.html#ab51b0b65a19b1db3adc14e9866097e2a">all_categories</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Select specific backend by name for a category <em>category</em>. It allows combining different backends for user preferences. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>boost/locale/<a class="el" href="localization__backend_8hpp_source.html">localization_backend.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>
