Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::StreamTokenizer::SectionToken Class Reference

#include <StreamTokenizer.h>

Inheritance diagram for util::StreamTokenizer::SectionToken:

util::StreamTokenizer::Token util::Object List of all members.

Detailed Description

Section token represents a section of any characters delimited by some special characters.


Public Methods

 SectionToken (Section *section, std::string sectionContents)
 Create a new section token with the given name and contents.

std::string getName () const
 Get the name of the section, i.e.

SectiongetSection ()
 Get a pointer to the Section object that was responsible for reading this section.

std::string getContents () const
 Get the contents of the section, i.e.


Member Function Documentation

std::string util::StreamTokenizer::SectionToken::getContents   const [inline]
 

Get the contents of the section, i.e.

the data between start and end delimiters.

std::string util::StreamTokenizer::SectionToken::getName   const [inline]
 

Get the name of the section, i.e.

"comment", "string" etc.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.