Boost.Locale
boost::locale::ios_info Class Reference

This class holds external data beyond existing fmtflags that std::ios_base holds. More...

#include <boost/locale/formatting.hpp>

Public Member Functions

void display_flags (uint64_t flags)
 Set flags that define how to format data, e.g. number, spell, currency etc.
uint64_t display_flags () const
 Get flags that define how to format data, e.g. number, spell, currency etc.
void currency_flags (uint64_t flags)
 Set flags that define how to format currency.
uint64_t currency_flags () const
 Get flags that define how to format currency.
void date_flags (uint64_t flags)
 Set flags that define how to format date.
uint64_t date_flags () const
 Get flags that define how to format date.
void time_flags (uint64_t flags)
 Set flags that define how to format time.
uint64_t time_flags () const
 Get flags that define how to format time.
void domain_id (int)
 Set special message domain identification.
int domain_id () const
 Get special message domain identification.
void time_zone (const std::string &)
 Set time zone for formatting dates and time.
const std::string & time_zone () const
 Get time zone for formatting dates and time.
template<typename CharType>
void date_time_pattern (const std::basic_string< CharType > &str)
 Set date/time pattern (strftime like)
template<typename CharType>
std::basic_string< CharType > date_time_pattern () const
 Get date/time pattern (strftime like)

Static Public Member Functions

static ios_infoget (std::ios_base &ios)
 Get ios_info instance for specific stream object.

Detailed Description

This class holds external data beyond existing fmtflags that std::ios_base holds.

You should almost never create this object directly. Instead, you should access it via ios_info::get(stream_object) static member function. It automatically creates default formatting data for that stream


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