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

#include <cel_stringutil.h>

Public Types

typedef T 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::DefaultCharTraits< T >

This struct provides the default traits for StringUtil.

Member Typedef Documentation

template<typename T >
typedef T Celartem::DefaultCharTraits< T >::CharCodeType

The type returned by getCharcode function.

Member Function Documentation

template<typename T >
static const CharCodeType Celartem::DefaultCharTraits< 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::DefaultCharTraits< 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:06.
Cuminas Logo