Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Char_Buff Struct Reference

List of all members.

Public Member Functions

 Char_Buff ()
void flush ()
void reset ()
void expect (unsigned int n)
unsigned int length ()
Char_Buffoperator+= (char c)
char pop ()
bool operator== (const char *text)
bool operator!= (const char *text)
char first () const throw ()

Public Attributes

char chars [len+1]
unsigned int pos
Text content

Static Public Attributes

static const unsigned int len = 100

Constructor & Destructor Documentation

Char_Buff::Char_Buff  )  [inline]
 

Definition at line 58 of file ParseImports.C.


Member Function Documentation

void Char_Buff::expect unsigned int  n  )  [inline]
 

Definition at line 84 of file ParseImports.C.

References flush(), len, and pos.

Referenced by operator+=().

char Char_Buff::first  )  const throw () [inline]
 

Definition at line 168 of file ParseImports.C.

References chars, content, and Text::Empty().

void Char_Buff::flush  )  [inline]
 

Definition at line 65 of file ParseImports.C.

References chars, content, and pos.

Referenced by expect(), operator!=(), and operator==().

unsigned int Char_Buff::length  )  [inline]
 

Definition at line 97 of file ParseImports.C.

References content, Text::Empty(), Text::Length(), and pos.

bool Char_Buff::operator!= const char *  text  )  [inline]
 

Definition at line 152 of file ParseImports.C.

References chars, content, Text::Empty(), flush(), and pos.

Char_Buff& Char_Buff::operator+= char  c  )  [inline]
 

Definition at line 103 of file ParseImports.C.

References chars, expect(), and pos.

bool Char_Buff::operator== const char *  text  )  [inline]
 

Definition at line 139 of file ParseImports.C.

References chars, content, Text::Empty(), flush(), and pos.

char Char_Buff::pop  )  [inline]
 

Definition at line 111 of file ParseImports.C.

References chars, content, Text::Empty(), Text::Length(), pos, and Text::Sub().

void Char_Buff::reset  )  [inline]
 

Definition at line 76 of file ParseImports.C.

References content, and pos.


Member Data Documentation

char Char_Buff::chars[len+1]
 

Definition at line 49 of file ParseImports.C.

Referenced by first(), flush(), operator!=(), operator+=(), operator==(), and pop().

Text Char_Buff::content
 

Definition at line 56 of file ParseImports.C.

Referenced by first(), flush(), length(), operator!=(), operator==(), pop(), and reset().

const unsigned int Char_Buff::len = 100 [static]
 

Definition at line 48 of file ParseImports.C.

Referenced by expect().

unsigned int Char_Buff::pos
 

Definition at line 52 of file ParseImports.C.

Referenced by expect(), flush(), length(), operator!=(), operator+=(), operator==(), pop(), and reset().


The documentation for this struct was generated from the following file:
Generated on Mon May 8 00:49:08 2006 for Vesta by  doxygen 1.4.2