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

tagstream.cpp

Go to the documentation of this file.
00001 
00002 //
00003 //  tagstream.cpp
00004 //
00005 //  begin       : Mon Feb 4 2002
00006 //  copyright   : (C) 2002 by Solstice
00007 //  email       : solstice@deninet.com
00008 //
00010 
00011 #include "tagstream.h"
00012 
00013 using namespace deml;
00014 
00015 TagStream::TagStream(fstream* file){
00016     fin = file; 
00017 }
00018 
00019 TagStream::~TagStream(){
00020 }
00021 
00027 vector<string> TagStream::nextTag(void){
00028     char line[1024];
00029     fin->getline(line, 1024, '>');
00030     return WhitespaceScrub::tokens(line);
00031 }
00032 
00038 vector<string> TagStream::nextData(void){
00039     char line[1024];
00040     fin->getline(line, 1024, '<');
00041     return WhitespaceScrub::tokens(line);
00042 }
00043 

Generated at Sun Mar 3 20:34:56 2002 for Chroma by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001