xml_lex Class Reference

#include <lex.h>

List of all members.

Public Types

enum  token_t {
  token_eof, token_eq, token_gt, token_junk,
  token_lt, token_name, token_slash, token_string,
  token_text
}

Public Member Functions

virtual ~xml_lex ()
 xml_lex (const input::pointer &src)
void get_next_control ()
void get_next_text ()
token_t cur_tok () const
rcstring get_token_value () const
void error (const char *,...)

Private Member Functions

unsigned char get_rest_of_entity ()
 xml_lex ()
 xml_lex (const xml_lex &)
xml_lexoperator= (const xml_lex &)

Private Attributes

input::pointer src
token_t current_token
rcstring token_value
rcstring_accumulator ac
int error_count


Detailed Description

The xml_lex class is used to represent

Definition at line 30 of file lex.h.


Member Enumeration Documentation

enum xml_lex::token_t

Enumerator:
token_eof 
token_eq 
token_gt 
token_junk 
token_lt 
token_name 
token_slash 
token_string 
token_text 

Definition at line 43 of file lex.h.


Constructor & Destructor Documentation

virtual xml_lex::~xml_lex (  )  [virtual]

The destructor.

xml_lex::xml_lex ( const input::pointer src  ) 

The constructor.

xml_lex::xml_lex (  )  [private]

The default constructor. Do not use.

xml_lex::xml_lex ( const xml_lex  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void xml_lex::get_next_control (  ) 

void xml_lex::get_next_text (  ) 

token_t xml_lex::cur_tok (  )  const [inline]

Definition at line 59 of file lex.h.

References current_token.

rcstring xml_lex::get_token_value (  )  const [inline]

Definition at line 61 of file lex.h.

References token_value.

void xml_lex::error ( const char *  ,
  ... 
)

unsigned char xml_lex::get_rest_of_entity (  )  [private]

xml_lex& xml_lex::operator= ( const xml_lex  )  [private]

The assignment operator. Do not use.


Member Data Documentation

input::pointer xml_lex::src [private]

Definition at line 66 of file lex.h.

token_t xml_lex::current_token [private]

Definition at line 67 of file lex.h.

Referenced by cur_tok().

rcstring xml_lex::token_value [private]

Definition at line 68 of file lex.h.

Referenced by get_token_value().

rcstring_accumulator xml_lex::ac [private]

Definition at line 69 of file lex.h.

int xml_lex::error_count [private]

Definition at line 70 of file lex.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 13 16:27:00 2007 for Icon-Compositor by  doxygen 1.5.3