Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

deml::TagStream Class Reference

#include <tagstream.h>

List of all members.

Public Methods

 TagStream (fstream *file)
 ~TagStream ()
vector< string > nextTag (void)
vector< string > nextData (void)


Detailed Description

Parses out basic lexical elements: tags, fields, comments.

Author:
Solstice

Definition at line 28 of file tagstream.h.


Constructor & Destructor Documentation

TagStream::TagStream fstream * file
 

constructs a TagStream from a file

Definition at line 15 of file tagstream.cpp.

TagStream::~TagStream
 

deletes this TagStream, does not close the file

Definition at line 19 of file tagstream.cpp.


Member Function Documentation

vector< string > TagStream::nextData void
 

Intreprets until the next '<', effectivly reading until the beginning of the next tag

Returns:
a vector of all the tokens read

Definition at line 38 of file tagstream.cpp.

vector< string > TagStream::nextTag void
 

Interprets file until the next '>', effectivly reading until the end of the next tag.

Returns:
a vector of all the tag's tokens

Definition at line 27 of file tagstream.cpp.


The documentation for this class was generated from the following files:
Generated at Sun Mar 3 20:34:56 2002 for Chroma by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001