Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::logic::indeterminate_name< CharT > Class Template Reference

A locale facet specifying the name of the indeterminate value of a tribool. More...

#include <tribool_io.hpp>

Inheritance diagram for boost::logic::indeterminate_name< CharT >:
Collaboration diagram for boost::logic::indeterminate_name< CharT >:

Public Types

typedef CharT char_type
 
typedef std::basic_string< CharT > string_type
 

Public Member Functions

 indeterminate_name ()
 Construct the facet with the default name. More...
 
 indeterminate_name (const string_type &initial_name)
 Construct the facet with the given name for the indeterminate value. More...
 
string_type name () const
 Returns the name for the indeterminate value. More...
 

Static Public Attributes

static std::locale::id id
 Uniquily identifies this facet with the locale. More...
 

Detailed Description

template<typename CharT>
class boost::logic::indeterminate_name< CharT >

A locale facet specifying the name of the indeterminate value of a tribool.

The facet is used to perform I/O on tribool values when std::boolalpha has been specified. This class template is only available if the C++ standard library implementation supports locales.

Member Typedef Documentation

template<typename CharT>
typedef CharT boost::logic::indeterminate_name< CharT >::char_type
template<typename CharT>
typedef std::basic_string<CharT> boost::logic::indeterminate_name< CharT >::string_type

Constructor & Destructor Documentation

template<typename CharT>
boost::logic::indeterminate_name< CharT >::indeterminate_name ( )
inline

Construct the facet with the default name.

template<typename CharT>
boost::logic::indeterminate_name< CharT >::indeterminate_name ( const string_type initial_name)
inlineexplicit

Construct the facet with the given name for the indeterminate value.

Member Function Documentation

template<typename CharT>
string_type boost::logic::indeterminate_name< CharT >::name ( ) const
inline

Returns the name for the indeterminate value.

Referenced by boost::logic::operator<<().

Member Data Documentation

template<typename CharT>
std::locale::id boost::logic::indeterminate_name< CharT >::id
static

Uniquily identifies this facet with the locale.


The documentation for this class was generated from the following file: