std::money_base Class Reference

Money format ordering data. More...

#include <locale_facets.h>

Inheritance diagram for std::money_base:

std::moneypunct< _CharT, _Intl > std::moneypunct_byname< _CharT, _Intl > List of all members.

Public Types

 none
 space
 symbol
 sign
 value
 _S_minus
 _S_zero
 _S_end = 11
enum  part {
  none, space, symbol, sign,
  value
}
enum  { _S_minus, _S_zero, _S_end = 11 }

Static Public Member Functions

static pattern _S_construct_pattern (char __precedes, char __space, char __posn)

Static Public Attributes

static const pattern _S_default_pattern
static const char * _S_atoms

Classes

struct  pattern

Detailed Description

Money format ordering data.

This class contains an ordered array of 4 fields to represent the pattern for formatting a money amount. Each field may contain one entry from the part enum. symbol, sign, and value must be present and the remaining field must contain either none or space.

See also:
moneypunct::pos_format() and moneypunct::neg_format() for details of how these fields are interpreted.

Definition at line 3475 of file locale_facets.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
_S_minus 
_S_zero 
_S_end 

Definition at line 3483 of file locale_facets.h.

enum std::money_base::part

Enumerator:
none 
space 
symbol 
sign 
value 

Definition at line 3478 of file locale_facets.h.


Member Function Documentation

static pattern std::money_base::_S_construct_pattern ( char  __precedes,
char  __space,
char  __posn 
) [static]


Member Data Documentation

const char* std::money_base::_S_atoms [static]

Definition at line 3492 of file locale_facets.h.

Referenced by std::__moneypunct_cache< _CharT, _Intl >::_M_cache(), and std::money_get< _CharT, _InIter >::_M_extract().

const pattern std::money_base::_S_default_pattern [static]

Definition at line 3481 of file locale_facets.h.


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:59:02 2010 for GNU C++ STL by  doxygen 1.4.7