Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_XmlTokenizer Class Reference
[eFLTK XML module]

Base class for tokenizing through XML stream. More...

#include <Fl_XmlTokenizer.h>

Inheritance diagram for Fl_XmlTokenizer:

Fl_XmlDefaultTokenizer List of all members.

Public Methods

 Fl_XmlTokenizer ()
virtual ~Fl_XmlTokenizer ()
Fl_XmlLocatorlocator () const
 Returns current stream locator.

void locator (Fl_XmlLocator *locator)
 Set current stream locator. More...


Protected Methods

virtual bool stream_eos () const=0
 Derived tokenizers override this function. More...

virtual int stream_read (char *buf, int length)=0
 Derived tokenizers override this function. More...


Friends

class Fl_XmlParser

Detailed Description

Base class for tokenizing through XML stream.

Definition at line 49 of file Fl_XmlTokenizer.h.


Member Function Documentation

void Fl_XmlTokenizer::locator Fl_XmlLocator   locator [inline]
 

Set current stream locator.

Parameters:
locator  to set

Definition at line 65 of file Fl_XmlTokenizer.h.

virtual bool Fl_XmlTokenizer::stream_eos   const [protected, pure virtual]
 

Derived tokenizers override this function.

Returns true, if END-OF-STREAM

Implemented in Fl_XmlDefaultTokenizer.

virtual int Fl_XmlTokenizer::stream_read char *    buf,
int    length
[protected, pure virtual]
 

Derived tokenizers override this function.

Tries to 'length' data from stream to 'buf' buffer. Returns bytes readed.

Parameters:
buf  buffer to read
length  to read from stream to buffer

Implemented in Fl_XmlDefaultTokenizer.


The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:58 2003 for eFLTK by doxygen1.2.15