_Locale_impl Class Reference

#include <locale_impl.h>

Inheritance diagram for _Locale_impl:

_Refcount_Base List of all members.

Public Member Functions

 _Locale_impl (const char *s)
 _Locale_impl (const _Locale_impl &)
 _Locale_impl (size_t n, const char *s)
size_t size () const
locale::facetinsert (locale::facet *, size_t index)
void insert (_Locale_impl *from, const locale::id &n)
_Locale_name_hintinsert_ctype_facets (const char *name, _Locale_name_hint *hint)
_Locale_name_hintinsert_numeric_facets (const char *name, _Locale_name_hint *hint)
_Locale_name_hintinsert_time_facets (const char *name, _Locale_name_hint *hint)
_Locale_name_hintinsert_collate_facets (const char *name, _Locale_name_hint *hint)
_Locale_name_hintinsert_monetary_facets (const char *name, _Locale_name_hint *hint)
_Locale_name_hintinsert_messages_facets (const char *name, _Locale_name_hint *hint)
bool operator!= (const locale &__loc) const

Static Public Member Functions

static void _STLP_FUNCTION_THROWS
_STLP_CALL 
_M_throw_bad_cast ()
static void _STLP_CALL _S_initialize ()
static void _STLP_CALL _S_uninitialize ()
static void make_classic_locale ()
static void free_classic_locale ()

Public Attributes

basic_string< char, char_traits<
char >, allocator< char > > 
name

Friends

class Init
class locale
_Locale_impl *_STLP_CALL _copy_Locale_impl (_Locale_impl *)
_Locale_impl *_STLP_CALL _copy_Nameless_Locale_impl (_Locale_impl *)
void _STLP_CALL _release_Locale_impl (_Locale_impl *&loc)

Classes

class  Init

Detailed Description

Definition at line 60 of file locale_impl.h.


Constructor & Destructor Documentation

_Locale_impl::_Locale_impl ( const char *  s  ) 

Definition at line 84 of file locale_impl.cpp.

References Init, and vector< _Tp, >::reserve().

Referenced by make_classic_locale().

_Locale_impl::_Locale_impl ( const _Locale_impl  ) 

_Locale_impl::_Locale_impl ( size_t  n,
const char *  s 
)

Definition at line 97 of file locale_impl.cpp.

References Init.


Member Function Documentation

size_t _Locale_impl::size (  )  const [inline]

Definition at line 70 of file locale_impl.h.

Referenced by locale::_M_get_facet(), locale::_M_use_facet(), and insert().

void _STLP_CALL _Locale_impl::_M_throw_bad_cast (  )  [static]

Definition at line 126 of file locale_impl.cpp.

References _STLP_THROW.

Referenced by locale::_M_use_facet().

void _STLP_CALL _Locale_impl::_S_initialize (  )  [static]

Definition at line 110 of file locale_impl.cpp.

References make_classic_locale().

Referenced by _Locale_impl::Init::Init().

void _STLP_CALL _Locale_impl::_S_uninitialize (  )  [static]

Definition at line 118 of file locale_impl.cpp.

Referenced by _Locale_impl::Init::~Init().

void _Locale_impl::make_classic_locale (  )  [static]

static void _Locale_impl::free_classic_locale (  )  [static]

void _Locale_impl::insert ( _Locale_impl from,
const locale::id n 
)

Definition at line 130 of file locale_impl.cpp.

References locale::id::_M_index, facets_vec, insert(), and size().

_Locale_name_hint * _Locale_impl::insert_ctype_facets ( const char *  name,
_Locale_name_hint hint 
)

_Locale_name_hint * _Locale_impl::insert_numeric_facets ( const char *  name,
_Locale_name_hint hint 
)

_Locale_name_hint * _Locale_impl::insert_time_facets ( const char *  name,
_Locale_name_hint hint 
)

_Locale_name_hint * _Locale_impl::insert_collate_facets ( const char *  name,
_Locale_name_hint hint 
)

_Locale_name_hint * _Locale_impl::insert_monetary_facets ( const char *  name,
_Locale_name_hint hint 
)

_Locale_name_hint * _Locale_impl::insert_messages_facets ( const char *  name,
_Locale_name_hint hint 
)

bool _Locale_impl::operator!= ( const locale __loc  )  const [inline]

Definition at line 109 of file locale_impl.h.

References locale::_M_impl.


Friends And Related Function Documentation

friend class Init [friend]

Definition at line 94 of file locale_impl.h.

Referenced by _Locale_impl().

friend class locale [friend]

Definition at line 121 of file locale_impl.h.

_Locale_impl* _STLP_CALL _copy_Locale_impl ( _Locale_impl  )  [friend]

Definition at line 37 of file locale_impl.cpp.

Referenced by make_classic_locale().

_Locale_impl* _STLP_CALL _copy_Nameless_Locale_impl ( _Locale_impl locimpl  )  [friend]

Definition at line 834 of file locale_impl.cpp.

void _STLP_CALL _release_Locale_impl ( _Locale_impl *&  loc  )  [friend]

Definition at line 822 of file locale_impl.cpp.


Member Data Documentation


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



Generated on Mon Mar 10 15:32:54 2008 by  doxygen 1.5.1