collate< char > Class Reference

#include <_collate.h>

Inheritance diagram for collate< char >:

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

Public Types

typedef char char_type
typedef string string_type

Public Member Functions

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

Static Public Attributes

static _STLP_STATIC_MEMBER_DECLSPEC
locale::id 
id

Protected Member Functions

 ~collate ()
virtual int do_compare (const char *, const char *, const char *, const char *) const
virtual string_type do_transform (const char *, const char *) const
virtual long do_hash (const char *, const char *) const

Friends

class _Locale_impl

Detailed Description

Definition at line 43 of file _collate.h.


Member Typedef Documentation

typedef char collate< char >::char_type

Definition at line 48 of file _collate.h.

typedef string collate< char >::string_type

Definition at line 49 of file _collate.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file _collate.h.

_STLP_BEGIN_NAMESPACE collate< char >::~collate (  )  [protected]

Definition at line 26 of file collate.cpp.


Member Function Documentation

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

Definition at line 53 of file _collate.h.

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

Definition at line 58 of file _collate.h.

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

Definition at line 62 of file _collate.h.

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

Reimplemented in collate_byname< char >.

Definition at line 28 of file collate.cpp.

References __lexicographical_compare_3way(), and _STLP_PRIV.

string collate< char >::do_transform ( const char *  ,
const char *   
) const [protected, virtual]

Reimplemented in collate_byname< char >.

Definition at line 32 of file collate.cpp.

long collate< char >::do_hash ( const char *  ,
const char *   
) const [protected, virtual]

Definition at line 35 of file collate.cpp.


Friends And Related Function Documentation

friend class _Locale_impl [friend]

Reimplemented from locale::facet.

Definition at line 45 of file _collate.h.


Member Data Documentation

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

Definition at line 65 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