1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>Class template indeterminate_name</title> 6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> 9<link rel="up" href="../../tribool/reference.html#header.boost.logic.tribool_io_hpp" title="Header <boost/logic/tribool_io.hpp>"> 10<link rel="prev" href="../../BOOST_TRIBOOL_THIRD_STATE.html" title="Macro BOOST_TRIBOOL_THIRD_STATE"> 11<link rel="next" href="get_defa_idm46053020440096.html" title="Function template get_default_indeterminate_name"> 12</head> 13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 14<table cellpadding="2" width="100%"><tr> 15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 16<td align="center"><a href="../../../../index.html">Home</a></td> 17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 20<td align="center"><a href="../../../../more/index.htm">More</a></td> 21</tr></table> 22<hr> 23<div class="spirit-nav"> 24<a accesskey="p" href="../../BOOST_TRIBOOL_THIRD_STATE.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../tribool/reference.html#header.boost.logic.tribool_io_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get_defa_idm46053020440096.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="refentry"> 27<a name="boost.logic.indeterminate_name"></a><div class="titlepage"></div> 28<div class="refnamediv"> 29<h2><span class="refentrytitle">Class template indeterminate_name</span></h2> 30<p>boost::logic::indeterminate_name — A locale facet specifying the name of the indeterminate value of a tribool. </p> 31</div> 32<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> 33<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../tribool/reference.html#header.boost.logic.tribool_io_hpp" title="Header <boost/logic/tribool_io.hpp>">boost/logic/tribool_io.hpp</a>> 34 35</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> CharT<span class="special">></span> 36<span class="keyword">class</span> <a class="link" href="indeterminate_name.html" title="Class template indeterminate_name">indeterminate_name</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">facet</span>, <span class="keyword">private</span> <span class="identifier">noncopyable</span> <span class="special">{</span> 37<span class="keyword">public</span><span class="special">:</span> 38 <span class="comment">// types</span> 39 <span class="keyword">typedef</span> <span class="identifier">CharT</span> <a name="boost.logic.indeterminate_name.char_type"></a><span class="identifier">char_type</span><span class="special">;</span> 40 <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span> <span class="identifier">CharT</span> <span class="special">></span> <a name="boost.logic.indeterminate_name.string_type"></a><span class="identifier">string_type</span><span class="special">;</span> 41 42 <span class="comment">// <a class="link" href="indeterminate_name.html#boost.logic.indeterminate_nameconstruct-copy-destruct">construct/copy/destruct</a></span> 43 <a class="link" href="indeterminate_name.html#idm46053020442112-bb"><span class="identifier">indeterminate_name</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span> 44 <span class="keyword">explicit</span> <a class="link" href="indeterminate_name.html#idm46053020441600-bb"><span class="identifier">indeterminate_name</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 45 46 <span class="comment">// <a class="link" href="indeterminate_name.html#idm46053020443984-bb">public member functions</a></span> 47 <span class="identifier">string_type</span> <a class="link" href="indeterminate_name.html#idm46053020443488-bb"><span class="identifier">name</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> 48 49 <span class="comment">// public data members</span> 50 <span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">::</span><span class="identifier">id</span> <span class="identifier">id</span><span class="special">;</span> <span class="comment">// Uniquily identifies this facet with the locale. </span> 51<span class="special">}</span><span class="special">;</span></pre></div> 52<div class="refsect1"> 53<a name="id-1.3.24.5.4.3.4"></a><h2>Description</h2> 54<p>The facet is used to perform I/O on tribool values when <code class="computeroutput">std::boolalpha</code> has been specified. This class template is only available if the C++ standard library implementation supports locales. </p> 55<div class="refsect2"> 56<a name="id-1.3.24.5.4.3.4.3"></a><h3> 57<a name="boost.logic.indeterminate_nameconstruct-copy-destruct"></a><code class="computeroutput">indeterminate_name</code> 58 public 59 construct/copy/destruct</h3> 60<div class="orderedlist"><ol class="orderedlist" type="1"> 61<li class="listitem"> 62<pre class="literallayout"><a name="idm46053020442112-bb"></a><span class="identifier">indeterminate_name</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Construct the facet with the default name. </li> 63<li class="listitem"> 64<pre class="literallayout"><span class="keyword">explicit</span> <a name="idm46053020441600-bb"></a><span class="identifier">indeterminate_name</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&</span> initial_name<span class="special">)</span><span class="special">;</span></pre>Construct the facet with the given name for the indeterminate value. </li> 65</ol></div> 66</div> 67<div class="refsect2"> 68<a name="id-1.3.24.5.4.3.4.4"></a><h3> 69<a name="idm46053020443984-bb"></a><code class="computeroutput">indeterminate_name</code> public member functions</h3> 70<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> 71<pre class="literallayout"><span class="identifier">string_type</span> <a name="idm46053020443488-bb"></a><span class="identifier">name</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns the name for the indeterminate value. </li></ol></div> 72</div> 73</div> 74</div> 75<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 76<td align="left"></td> 77<td align="right"><div class="copyright-footer">Copyright © 2002-2004 Douglas Gregor<p>Use, modification and distribution is subject to the Boost 78 Software License, Version 1.0. (See accompanying file 79 <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p> 80</div></td> 81</tr></table> 82<hr> 83<div class="spirit-nav"> 84<a accesskey="p" href="../../BOOST_TRIBOOL_THIRD_STATE.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../tribool/reference.html#header.boost.logic.tribool_io_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get_defa_idm46053020440096.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 85</div> 86</body> 87</html> 88