Public Types | Static Public Member Functions | List of all members
Celartem::UnicodeCharTraits< T > Struct Template Reference

#include <cel_unicode.h>

Public Types

typedef UChar4 CharCodeType
 The type returned by getCharcode function. More...
 

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)
inlinestatic

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
pThe 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)
inlinestatic

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
pThe pointer to move.
Returns
The next pointer position.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo