Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::locale::_Impl Class Reference

#include <localefwd.h>

Collaboration diagram for std::locale::_Impl:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vector<facet*, allocator<
facet*> > 
__vec_facet

Private Methods

void _M_add_reference () throw ()
void _M_remove_reference () throw ()
 _Impl (const _Impl &, size_t)
 _Impl (string __name, size_t)
 ~_Impl () throw ()
bool _M_check_same_name ()
void _M_replace_categories (const _Impl *, category)
void _M_replace_category (const _Impl *, const locale::id *const *)
void _M_replace_facet (const _Impl *, const locale::id *)
void _M_install_facet (const locale::id *, facet *)
template<typename _Facet> void _M_init_facet (_Facet *__facet)

Private Attributes

size_t _M_references
__vec_facet_M_facets
string _M_names [_S_num_categories]
__c_locale _M_c_locale

Static Private Attributes

const locale::id* const _S_id_ctype []
const locale::id* const _S_id_numeric []
const locale::id* const _S_id_collate []
const locale::id* const _S_id_time []
const locale::id* const _S_id_monetary []
const locale::id* const _S_id_messages []
const locale::id* const* const _S_facet_categories []

Friends

class  locale
template<typename _Facet> const _Facet& use_facet (const locale &)
template<typename _Facet> bool has_facet (const locale &) throw ()

Member Typedef Documentation

typedef vector<facet*, allocator<facet*> > std::locale::_Impl::__vec_facet
 

Definition at line 294 of file localefwd.h.


Constructor & Destructor Documentation

std::locale::_Impl::_Impl ( const _Impl &,
size_t ) [private]
 

std::locale::_Impl::_Impl ( string __name,
size_t ) [private]
 

std::locale::_Impl::~_Impl ( ) throw () [private]
 


Member Function Documentation

void std::locale::_Impl::_M_add_reference ( ) throw () [inline, private]
 

Definition at line 323 of file localefwd.h.

bool std::locale::_Impl::_M_check_same_name ( ) [inline, private]
 

Definition at line 343 of file localefwd.h.

template<typename _Facet>
void std::locale::_Impl::_M_init_facet ( _Facet * __facet ) [inline, private]
 

Definition at line 364 of file localefwd.h.

void std::locale::_Impl::_M_install_facet ( const locale::id *,
facet * ) [private]
 

void std::locale::_Impl::_M_remove_reference ( ) throw () [inline, private]
 

Definition at line 327 of file localefwd.h.

void std::locale::_Impl::_M_replace_categories ( const _Impl *,
category ) [private]
 

void std::locale::_Impl::_M_replace_category ( const _Impl *,
const locale::id *const * ) [private]
 

void std::locale::_Impl::_M_replace_facet ( const _Impl *,
const locale::id * ) [private]
 


Friends And Related Function Documentation

template<typename _Facet>
bool has_facet ( const locale & __loc ) throw () [friend]
 

Definition at line 83 of file locale_facets.tcc.

friend class locale [friend]
 

Definition at line 297 of file localefwd.h.

template<typename _Facet>
const _Facet& use_facet ( const locale & __loc ) [friend]
 

Definition at line 70 of file locale_facets.tcc.


Member Data Documentation

__c_locale std::locale::_Impl::_M_c_locale [private]
 

Definition at line 313 of file localefwd.h.

__vec_facet* std::locale::_Impl::_M_facets [private]
 

Definition at line 311 of file localefwd.h.

string std::locale::_Impl::_M_names[_S_num_categories] [private]
 

Definition at line 312 of file localefwd.h.

size_t std::locale::_Impl::_M_references [private]
 

Definition at line 310 of file localefwd.h.

const locale::id* const* const std::locale::_Impl::_S_facet_categories[] [static, private]
 

Definition at line 320 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_collate[] [static, private]
 

Definition at line 316 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_ctype[] [static, private]
 

Definition at line 314 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_messages[] [static, private]
 

Definition at line 319 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_monetary[] [static, private]
 

Definition at line 318 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_numeric[] [static, private]
 

Definition at line 315 of file localefwd.h.

const locale::id* const std::locale::_Impl::_S_id_time[] [static, private]
 

Definition at line 317 of file localefwd.h.


The documentation for this class was generated from the following file:
Generated at Tue May 1 16:29:50 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001