ReactOS  0.4.14-dev-608-gd495a4f
numpunct< char > Class Reference

#include <_numpunct.h>

Inheritance diagram for numpunct< char >:
Collaboration diagram for numpunct< char >:

Public Types

typedef char char_type
 
typedef string string_type
 

Public Member Functions

 numpunct (size_t __refs=0)
 
char decimal_point () const
 
char thousands_sep () const
 
string grouping () const
 
string truename () const
 
string falsename () const
 

Static Public Attributes

static _STLP_STATIC_DECLSPEC locale::id id = { 6 }
 

Protected Member Functions

 ~numpunct ()
 
virtual char do_decimal_point () const
 
virtual char do_thousands_sep () const
 
virtual string do_grouping () const
 
virtual string do_truename () const
 
virtual string do_falsename () const
 
- Protected Member Functions inherited from locale::facet
 facet (size_t __init_count=0)
 
virtual ~facet ()
 
- Protected Member Functions inherited from _Refcount_Base
 _Refcount_Base (__stl_atomic_t __n)
 
__stl_atomic_t _M_incr ()
 
__stl_atomic_t _M_decr ()
 

Detailed Description

Definition at line 48 of file _numpunct.h.

Member Typedef Documentation

◆ char_type

typedef char numpunct< char >::char_type

Definition at line 50 of file _numpunct.h.

◆ string_type

Definition at line 51 of file _numpunct.h.

Constructor & Destructor Documentation

◆ numpunct()

numpunct< char >::numpunct ( size_t  __refs = 0)
inlineexplicit

Definition at line 53 of file _numpunct.h.

54  : locale::facet(__refs) {}

◆ ~numpunct()

numpunct< char >::~numpunct ( )
protected

Definition at line 31 of file numpunct.cpp.

31 {}

Member Function Documentation

◆ decimal_point()

char numpunct< char >::decimal_point ( ) const
inline

Definition at line 56 of file _numpunct.h.

56 { return do_decimal_point(); }
virtual char do_decimal_point() const
Definition: numpunct.cpp:26

Referenced by LocaleTest::_num_put_get(), main(), and LocaleTest::numpunct_by_name().

◆ do_decimal_point()

_STLP_BEGIN_NAMESPACE char numpunct< char >::do_decimal_point ( ) const
protectedvirtual

Reimplemented in numpunct_byname< char >.

Definition at line 26 of file numpunct.cpp.

26 {return '.';}

◆ do_falsename()

string numpunct< char >::do_falsename ( ) const
protectedvirtual

Reimplemented in numpunct_byname< char >.

Definition at line 30 of file numpunct.cpp.

30 { return "false"; }

◆ do_grouping()

string numpunct< char >::do_grouping ( ) const
protectedvirtual

Reimplemented in CommaSepNumPunct, and numpunct_byname< char >.

Definition at line 28 of file numpunct.cpp.

28 { return string();}
char string[160]
Definition: util.h:11

◆ do_thousands_sep()

char numpunct< char >::do_thousands_sep ( ) const
protectedvirtual

Reimplemented in CommaSepNumPunct, and numpunct_byname< char >.

Definition at line 27 of file numpunct.cpp.

27 { return ','; }

◆ do_truename()

string numpunct< char >::do_truename ( ) const
protectedvirtual

Reimplemented in numpunct_byname< char >.

Definition at line 29 of file numpunct.cpp.

29 { return "true";}

◆ falsename()

string numpunct< char >::falsename ( ) const
inline

Definition at line 60 of file _numpunct.h.

60 { return do_falsename(); }
virtual string do_falsename() const
Definition: numpunct.cpp:30

Referenced by LocaleTest::numpunct_by_name().

◆ grouping()

string numpunct< char >::grouping ( ) const
inline

Definition at line 58 of file _numpunct.h.

58 { return do_grouping(); }
virtual string do_grouping() const
Definition: numpunct.cpp:28

Referenced by __put_integer(), LocaleTest::_num_put_get(), and LocaleTest::numpunct_by_name().

◆ thousands_sep()

char numpunct< char >::thousands_sep ( ) const
inline

Definition at line 57 of file _numpunct.h.

57 { return do_thousands_sep(); }
virtual char do_thousands_sep() const
Definition: numpunct.cpp:27

Referenced by __put_integer(), LocaleTest::_num_put_get(), and LocaleTest::numpunct_by_name().

◆ truename()

string numpunct< char >::truename ( ) const
inline

Definition at line 59 of file _numpunct.h.

59 { return do_truename(); }
virtual string do_truename() const
Definition: numpunct.cpp:29

Referenced by LocaleTest::numpunct_by_name().

Member Data Documentation

◆ id

locale::id numpunct< char >::id = { 6 }
static

Definition at line 62 of file _numpunct.h.


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