HPGCC3 Documentation 3.0 R003

gString Class Reference

#include <gstring.h>

Inheritance diagram for gString:
MemBlock MemFrag

Public Member Functions

int TextWidth (int Offset, gFont &f)
int TextWidth (int Offset, int EndOffset, gFont &f)
int PrevLine (int Offset)
int NextLine (int Offset)
int StartOfLine (int Offset)
int EndOfPrevLine (int Offset)
int EndOfLine (int Offset)
int StartOfText ()
int EndOfText ()
int Strlen ()
int NumLines ()
int PrevWord (int Offset)
int NextWord (int Offset)
BOOL IsValidOffset (int Offset)
char GetChar (int Offset)
void InsertChar (int offset, char a)
void Delete (int offset)
 gString ()
virtual ~gString ()

Private Member Functions

virtual void vTable ()

Detailed Description

Definition at line 18 of file gstring.h.


Constructor & Destructor Documentation

gString::gString ( )
virtual gString::~gString ( ) [virtual]

Member Function Documentation

void gString::Delete ( int  offset)
int gString::EndOfLine ( int  Offset)
int gString::EndOfPrevLine ( int  Offset)
int gString::EndOfText ( ) [inline]

Definition at line 33 of file gstring.h.

References MemBlock::TotalUsed.

char gString::GetChar ( int  Offset) [inline]
void gString::InsertChar ( int  offset,
char  a 
)
BOOL gString::IsValidOffset ( int  Offset) [inline]

Definition at line 39 of file gstring.h.

References MemBlock::TotalUsed.

int gString::NextLine ( int  Offset)
int gString::NextWord ( int  Offset)
int gString::NumLines ( )
int gString::PrevLine ( int  Offset)
int gString::PrevWord ( int  Offset)
int gString::StartOfLine ( int  Offset)
int gString::StartOfText ( ) [inline]

Definition at line 32 of file gstring.h.

int gString::Strlen ( ) [inline]

Definition at line 34 of file gstring.h.

References MemBlock::TotalUsed.

Referenced by gEditBox::Strlen().

int gString::TextWidth ( int  Offset,
gFont f 
) [inline]

Definition at line 25 of file gstring.h.

References TextWidth().

Referenced by TextWidth().

int gString::TextWidth ( int  Offset,
int  EndOffset,
gFont f 
)
virtual void gString::vTable ( ) [private, virtual]

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