Celartem::DefaultCharTraits< T > Struct Template Reference

#include <cel_stringutil.h>

List of all members.

Public Types

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

This struct provides the default traits for StringUtil.

Definition at line 18 of file cel_stringutil.h.


Member Typedef Documentation

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

The type returned by getCharcode function.

Definition at line 21 of file cel_stringutil.h.


Member Function Documentation

template<typename T>
static const T* Celartem::DefaultCharTraits< 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.

Definition at line 32 of file cel_stringutil.h.

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

Definition at line 44 of file cel_stringutil.h.


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:24 2008.