collate< wchar_t > Class Reference

#include <_collate.h>

Inheritance diagram for collate< wchar_t >:

locale::facet _Refcount_Base collate_byname< wchar_t > List of all members.

Public Types

typedef wchar_t char_type
typedef wstring string_type

Public Member Functions

 collate (size_t __refs=0)
int compare (const wchar_t *__low1, const wchar_t *__high1, const wchar_t *__low2, const wchar_t *__high2) const
string_type transform (const wchar_t *__low, const wchar_t *__high) const
long hash (const wchar_t *__low, const wchar_t *__high) const

Static Public Attributes

static _STLP_STATIC_MEMBER_DECLSPEC
locale::id 
id

Protected Member Functions

 ~collate ()
virtual int do_compare (const wchar_t *, const wchar_t *, const wchar_t *, const wchar_t *) const
virtual string_type do_transform (const wchar_t *, const wchar_t *) const
virtual long do_hash (const wchar_t *__low, const wchar_t *__high) const

Friends

class _Locale_impl

Detailed Description

Definition at line 82 of file _collate.h.


Member Typedef Documentation

typedef wchar_t collate< wchar_t >::char_type

Definition at line 87 of file _collate.h.

typedef wstring collate< wchar_t >::string_type

Definition at line 88 of file _collate.h.


Constructor & Destructor Documentation

collate< wchar_t >::collate ( size_t  __refs = 0  )  [inline, explicit]

Definition at line 90 of file _collate.h.

collate< wchar_t >::~collate (  )  [protected]

Definition at line 45 of file collate.cpp.


Member Function Documentation

int collate< wchar_t >::compare ( const wchar_t *  __low1,
const wchar_t *  __high1,
const wchar_t *  __low2,
const wchar_t *  __high2 
) const [inline]

Definition at line 92 of file _collate.h.

string_type collate< wchar_t >::transform ( const wchar_t *  __low,
const wchar_t *  __high 
) const [inline]

Definition at line 97 of file _collate.h.

long collate< wchar_t >::hash ( const wchar_t *  __low,
const wchar_t *  __high 
) const [inline]

Definition at line 101 of file _collate.h.

int collate< wchar_t >::do_compare ( const wchar_t *  ,
const wchar_t *  ,
const wchar_t *  ,
const wchar_t *   
) const [protected, virtual]

Reimplemented in collate_byname< wchar_t >.

Definition at line 48 of file collate.cpp.

References __lexicographical_compare_3way(), and _STLP_PRIV.

wstring collate< wchar_t >::do_transform ( const wchar_t *  ,
const wchar_t *   
) const [protected, virtual]

Reimplemented in collate_byname< wchar_t >.

Definition at line 52 of file collate.cpp.

long collate< wchar_t >::do_hash ( const wchar_t *  __low,
const wchar_t *  __high 
) const [protected, virtual]

Definition at line 55 of file collate.cpp.


Friends And Related Function Documentation

friend class _Locale_impl [friend]

Reimplemented from locale::facet.

Definition at line 84 of file _collate.h.


Member Data Documentation

_STLP_STATIC_MEMBER_DECLSPEC locale::id collate< wchar_t >::id [static]

Definition at line 104 of file _collate.h.


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



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