Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Namespaces | Macros | Typedefs | Functions
22.locale.synopsis.cpp File Reference
#include <rw/_defs.h>
#include <iterator>
#include <locale>
#include <rw_driver.h>
#include <clocale>
#include <cwchar>
Include dependency graph for 22.locale.synopsis.cpp:

Go to the source code of this file.

Data Structures

struct  has_implicit_ctor
 
struct  Facet
 
struct  StringTypes< charT >
 
struct  CtypeDerived< charT >
 
struct  CtypeCharDerived
 
struct  CodecvtDerived< Base >
 
struct  std::numpunct< UDC >
 
struct  NumPunctDerived< charT >
 
struct  NumGetDerived< charT, IterT >
 
struct  NumPutDerived< charT, IterT >
 
struct  CollateDerived< charT >
 
struct  TimeGetDerived< charT, IterT >
 
struct  TimePutDerived< charT, IterT >
 
struct  std::moneypunct< UDC, false >
 
struct  std::moneypunct< UDC, true >
 
struct  MoneyPunctDerived< charT, Intl >
 
struct  MoneyGetDerived< charT, IterT >
 
struct  MoneyPutDerived< charT, IterT >
 
struct  MessagesDerived< charT >
 

Namespaces

namespace  std
 

Macros

#define FUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define ADDR(name)   pm = &std::ctype_base::name
 
#define MEMFUN(result, name, arg_list)
 
#define UDC   int
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define MEMFUN(result, name, arg_list)
 
#define FUN1(fun, charT)    fun< charT > (#charT)
 
#define FUN2(fun, charT, IterT)    fun< charT, IterT > (#charT, #IterT)
 

Typedefs

typedef std::ios_base IosBase
 
typedef std::ios_base::iostate IoState
 

Functions

 _RWSTD_NAMESPACE (std)
 
void is_explicit (const std::locale &)
 
void is_explicit (const std::locale::facet &)
 
void is_explicit (const std::collate< char > &)
 
void is_explicit (const std::ctype< char > &)
 
void is_explicit (const std::collate< wchar_t > &)
 
void is_explicit (const std::ctype< wchar_t > &)
 
void is_explicit (const has_implicit_ctor &)
 
template<class charT >
void test_ctype_specialization ()
 
_RWSTD_SPECIALIZED_FUNCTION void test_ctype_specialization< char > ()
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ ADDR

#define ADDR (   name)    pm = &std::ctype_base::name

◆ FUN

#define FUN (   result,
  name,
  arg_list 
)
Value:
do { \
/* make name unique to prevent bogus gcc -Wshadow warnings */ \
result (*_RWSTD_PASTE (pf, __LINE__)) arg_list = &name; \
_RWSTD_UNUSED (_RWSTD_PASTE (pf, __LINE__)); \
} while (0)
#define pf
Definition 17.names.cpp:516
#define _RWSTD_PASTE(a, b)
Definition _defs.h:618
const char * name
Definition codecvt1.cpp:72

Definition at line 154 of file 22.locale.synopsis.cpp.

◆ FUN1

#define FUN1 (   fun,
  charT 
)     fun< charT > (#charT)

◆ FUN2

#define FUN2 (   fun,
  charT,
  IterT 
)     fun< charT, IterT > (#charT, #IterT)

◆ MEMFUN [1/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
/* jumping thru hoops to avoid bogus gcc -Wshadow warnings */ \
result (std::locale::* _RWSTD_PASTE (pf, __LINE__)) \
arg_list = &std::locale::name; \
_RWSTD_UNUSED (_RWSTD_PASTE (pf, __LINE__)); \
} while (0)
Definition json.h:5363

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [2/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (CtypeT::* pf) arg_list = &CtypeT::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [3/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (Codecvt::*pf) arg_list = &Codecvt::name; \
_RWSTD_UNUSED (pf); \
} while (0)
std::codecvt< char, char, std::mbstate_t > Codecvt

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [4/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (NumPunct::*pf) arg_list = &NumPunct::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [5/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (NumGet::*pf) arg_list = &NumGet::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [6/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (NumPut::*pf) arg_list = &NumPut::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [7/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (Collate::* pf) arg_list = &Collate::name; \
_RWSTD_UNUSED (pf); \
} while (0)
std::collate< char > Collate

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [8/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (TimeGet::* pf) arg_list = &TimeGet::name; \
_RWSTD_UNUSED (pf); \
} while (0)
std::time_get< char > TimeGet

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [9/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (TimePut::*pf) arg_list = &TimePut::name; \
_RWSTD_UNUSED (pf); \
} while (0)
std::time_put< char > TimePut

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [10/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (MoneyPunct::* pf) arg_list = &MoneyPunct::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [11/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (MoneyGet::*pf) arg_list = &MoneyGet::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [12/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (MoneyPut::*pf) arg_list = &MoneyPut::name; \
_RWSTD_UNUSED (pf); \
} while (0)

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ MEMFUN [13/13]

#define MEMFUN (   result,
  name,
  arg_list 
)
Value:
do { \
result (Messages::* pf) arg_list = &Messages::name; \
_RWSTD_UNUSED (pf); \
} while (0)
std::messages< char > Messages

Definition at line 705 of file 22.locale.synopsis.cpp.

◆ UDC

#define UDC   int

Definition at line 1029 of file 22.locale.synopsis.cpp.

Typedef Documentation

◆ IosBase

typedef std::ios_base IosBase

Definition at line 1122 of file 22.locale.synopsis.cpp.

◆ IoState

typedef std::ios_base::iostate IoState

Definition at line 1123 of file 22.locale.synopsis.cpp.

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

Definition at line 215 of file 22.locale.synopsis.cpp.

◆ is_explicit() [1/7]

void is_explicit ( const has_implicit_ctor &  )

Definition at line 424 of file 22.locale.synopsis.cpp.

◆ is_explicit() [2/7]

void is_explicit ( const std::collate< char > &  )

◆ is_explicit() [3/7]

void is_explicit ( const std::collate< wchar_t > &  )

◆ is_explicit() [4/7]

void is_explicit ( const std::ctype< char > &  )

◆ is_explicit() [5/7]

void is_explicit ( const std::ctype< wchar_t > &  )

◆ is_explicit() [6/7]

void is_explicit ( const std::locale &  )

◆ is_explicit() [7/7]

void is_explicit ( const std::locale::facet &  )

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 1955 of file 22.locale.synopsis.cpp.

◆ test_ctype_specialization()

template<class charT >
void test_ctype_specialization ( )

Definition at line 736 of file 22.locale.synopsis.cpp.

◆ test_ctype_specialization< char >()

Definition at line 797 of file 22.locale.synopsis.cpp.