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

std::collate Class Template Reference

#include <locale_facets.h>

Inheritance diagram for std::collate:

Inheritance graph
[legend]
Collaboration diagram for std::collate:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef basic_string<_CharT> string_type

Public Methods

 collate (size_t __refs=0)
int compare (const _CharT *__lo1, const _CharT *__hi1, const _CharT *__lo2, const _CharT *__hi2) const
string_type transform (const _CharT *__lo, const _CharT *__hi) const
long hash (const _CharT *__lo, const _CharT *__hi) const

Static Public Attributes

locale::id id

Protected Methods

 ~collate ()
virtual int do_compare (const _CharT *__lo1, const _CharT *__hi1, const _CharT *__lo2, const _CharT *__hi2) const
virtual string_type do_transform (const _CharT *__lo, const _CharT *__hi) const
virtual long do_hash (const _CharT *__lo, const _CharT *__hi) const

template<typename _CharT> class std::collate


Member Typedef Documentation

template<typename _CharT>
typedef _CharT std::collate<_CharT>::char_type
 

Reimplemented in std::collate_byname.

Definition at line 902 of file locale_facets.h.

template<typename _CharT>
typedef basic_string<_CharT> std::collate<_CharT>::string_type
 

Reimplemented in std::collate_byname.

Definition at line 903 of file locale_facets.h.


Constructor & Destructor Documentation

template<typename _CharT>
std::collate<_CharT>::collate<_CharT> ( size_t __refs = 0 ) [inline, explicit]
 

Definition at line 908 of file locale_facets.h.

template<typename _CharT>
std::collate<_CharT>::~collate<_CharT> ( ) [inline, protected]
 

Definition at line 924 of file locale_facets.h.


Member Function Documentation

template<typename _CharT>
int std::collate<_CharT>::compare ( const _CharT * __lo1,
const _CharT * __hi1,
const _CharT * __lo2,
const _CharT * __hi2 ) const [inline]
 

Definition at line 911 of file locale_facets.h.

template<typename _CharT>
virtual int std::collate<_CharT>::do_compare ( const _CharT * __lo1,
const _CharT * __hi1,
const _CharT * __lo2,
const _CharT * __hi2 ) const [protected, virtual]
 

Referenced by compare().

template<typename _CharT>
virtual long std::collate<_CharT>::do_hash ( const _CharT * __lo,
const _CharT * __hi ) const [protected, virtual]
 

Referenced by hash().

template<typename _CharT>
virtual string_type std::collate<_CharT>::do_transform ( const _CharT * __lo,
const _CharT * __hi ) const [protected, virtual]
 

Referenced by transform().

template<typename _CharT>
long std::collate<_CharT>::hash ( const _CharT * __lo,
const _CharT * __hi ) const [inline]
 

Definition at line 920 of file locale_facets.h.

template<typename _CharT>
string_type std::collate<_CharT>::transform ( const _CharT * __lo,
const _CharT * __hi ) const [inline]
 

Definition at line 916 of file locale_facets.h.


Member Data Documentation

template<typename _CharT>
locale::id std::collate<_CharT>::id [static]
 

Definition at line 905 of file locale_facets.h.


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