Public Types | Static Public Member Functions

Celartem::UnicodeCharTraits< T > Struct Template Reference

#include <cel_unicode.h>

List of all members.

Public Types

typedef UChar4 CharCodeType
 The type returned by getCharcode function.

Static Public Member Functions

static const T * next (const T *p)
static const CharCodeType getCharcode (const T *p)

Detailed Description

template<typename T>
struct Celartem::UnicodeCharTraits< T >

This structure works as a proxy to StringUtil defined in cel_stringutil.h.

See also:
DefaultCharTraits, StringUtil

Member Typedef Documentation

template<typename T >
typedef UChar4 Celartem::UnicodeCharTraits< T >::CharCodeType

The type returned by getCharcode function.


Member Function Documentation

template<typename T >
static const CharCodeType Celartem::UnicodeCharTraits< T >::getCharcode ( const T *  p  )  [inline, static]

This function obtains the character code of the current pointer position.
For the character sets that stores a character into an entry uniformly, this function only returns *p .

Parameters:
p The current pointer.
Returns:
The charcode of the character on the pointer position.
template<typename T >
static const T* Celartem::UnicodeCharTraits< T >::next ( const T *  p  )  [inline, static]

This function moves the pointer to the next character.
For the character sets that stores a character into an entry uniformly, this function only increments the pointer.

Parameters:
p The pointer to move.
Returns:
The next pointer position.

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

This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:19.
Caminova Logo