GUtf8Ptr Class Reference

Pointer to utf-8 string. More...

#include <GUtf8.h>

Inheritance diagram for GUtf8Ptr:

GUtf8Str

List of all members.

Public Member Functions

GUtf8Ptroperator= (char *s)
 Assign a new pointer to the string.
GUtf8Ptroperator= (uint8 *s)
 Assign a new pointer to the string.
 operator uint32 ()
uint32 operator++ (const int n)
 Seeks 1 character forward.
uint32 operator-- (const int n)
 Seeks 1 character backward.
uint32 operator+= (const int n)
 Seeks 'n' characters forward.
uint32 operator-= (const int n)
 Seeks 'n' characters backward.
int GetBytes ()
 Gets the bytes between the cur pointer and the end of the buffer or string.
int GetChars ()
 Gets the characters between the cur pointer and the end of the buffer or string.
uint8GetCurrent ()
 Gets the current ptr.
void Add (char16 c)
 Encodes a utf-8 char at the current location and moves the pointer along.
uint8GetPtr ()
 Returns the current pointer.


Detailed Description

Pointer to utf-8 string.

Member Function Documentation

GUtf8Ptr::operator uint32 (  ) 

Returns:
the current character in the string

References LgiUtf8To32().


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:05 2010 for Lgi by  doxygen 1.5.7.1