STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
collate_byname< _Elem > Class Template Reference
Inheritance diagram for collate_byname< _Elem >:
collate< _Elem > locale::facet _Facet_base _Crt_new_delete

Public Member Functions

 collate_byname (const char *_Locname, size_t _Refs=0)
 
 collate_byname (const string &_Str, size_t _Refs=0)
 
- Public Member Functions inherited from collate< _Elem >
int compare (const _Elem *_First1, const _Elem *_Last1, const _Elem *_First2, const _Elem *_Last2) const
 
string_type transform (const _Elem *_First, const _Elem *_Last) const
 
long hash (const _Elem *_First, const _Elem *_Last) const
 
 collate (size_t _Refs=0)
 
 collate (const _Locinfo &_Lobj, size_t _Refs=0)
 
- Public Member Functions inherited from locale::facet
virtual void __CLR_OR_THIS_CALL _Incref ()
 
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref ()
 
__CLR_OR_THIS_CALL facet (const facet &)=delete
 
facet &__CLR_OR_THIS_CALL operator= (const facet &)=delete
 
- Public Member Functions inherited from _Facet_base
virtual __CLR_OR_THIS_CALL ~_Facet_base () _NOEXCEPT
 

Protected Member Functions

virtual __CLR_OR_THIS_CALL ~collate_byname () _NOEXCEPT
 
- Protected Member Functions inherited from collate< _Elem >
__CLR_OR_THIS_CALL ~collate () _NOEXCEPT
 
 collate (const char *_Locname, size_t _Refs=0)
 
void _Init (const _Locinfo &_Lobj)
 
virtual int __CLR_OR_THIS_CALL do_compare (const _Elem *_First1, const _Elem *_Last1, const _Elem *_First2, const _Elem *_Last2) const
 
virtual string_type __CLR_OR_THIS_CALL do_transform (const _Elem *_First, const _Elem *_Last) const
 
virtual long __CLR_OR_THIS_CALL do_hash (const _Elem *_First, const _Elem *_Last) const
 
- Protected Member Functions inherited from locale::facet
__CLR_OR_THIS_CALL facet (size_t _Initrefs=0)
 
virtual __CLR_OR_THIS_CALL ~facet () _NOEXCEPT
 

Additional Inherited Members

- Public Types inherited from collate< _Elem >
typedef _Elem char_type
 
typedef basic_string< _Elem, char_traits< _Elem >, allocator< _Elem > > string_type
 
- Static Public Member Functions inherited from collate< _Elem >
static size_t _Getcat (const locale::facet **_Ppf=0, const locale *_Ploc=0)
 
- Static Public Member Functions inherited from locale::facet
static size_t __CLRCALL_OR_CDECL _Getcat (const facet **=0, const locale *=0)
 
- Static Public Attributes inherited from collate< _Elem >
__PURE_APPDOMAIN_GLOBAL static _CRTIMP2_PURE locale::id id
 

Constructor & Destructor Documentation

template<class _Elem >
collate_byname< _Elem >::collate_byname ( const char *  _Locname,
size_t  _Refs = 0 
)
inlineexplicit
155  : collate<_Elem>(_Locname, _Refs)
156  { // construct for named locale
157  }
Definition: locale:23
template<class _Elem >
collate_byname< _Elem >::collate_byname ( const string _Str,
size_t  _Refs = 0 
)
inlineexplicit
160  : collate<_Elem>(_Locinfo(_Str.c_str()), _Refs)
161  { // construct for named locale
162  }
Definition: xlocinfo:54
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
Definition: locale:23
template<class _Elem >
virtual __CLR_OR_THIS_CALL collate_byname< _Elem >::~collate_byname ( )
inlineprotectedvirtual
166  { // destroy the object
167  }

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