SimpleTokenWriter Class Reference

#include <scripttokenwriter.h>

Inheritance diagram for SimpleTokenWriter:
Inheritance graph
[legend]
Collaboration diagram for SimpleTokenWriter:
Collaboration graph
[legend]

Public Member Functions

 SimpleTokenWriter (TextOutputStream &ostream)
 ~SimpleTokenWriter ()
void nextLine ()
void writeToken (const char *token)
void writeString (const char *string)
void writeInteger (int i)
void writeUnsigned (std::size_t i)
void writeFloat (double f)

Private Member Functions

void writeSeparator ()

Private Attributes

TextOutputStream & m_ostream
char m_separator

Detailed Description

Definition at line 27 of file scripttokenwriter.h.


Constructor & Destructor Documentation

SimpleTokenWriter::SimpleTokenWriter ( TextOutputStream &  ostream  )  [inline]

Definition at line 29 of file scripttokenwriter.h.

SimpleTokenWriter::~SimpleTokenWriter (  )  [inline]

Definition at line 32 of file scripttokenwriter.h.

References writeSeparator().


Member Function Documentation

void SimpleTokenWriter::nextLine (  )  [inline, virtual]

Implements TokenWriter.

Definition at line 36 of file scripttokenwriter.h.

References m_separator.

void SimpleTokenWriter::writeFloat ( double  f  )  [inline, virtual]

Implements TokenWriter.

Definition at line 56 of file scripttokenwriter.h.

References m_ostream, and writeSeparator().

void SimpleTokenWriter::writeInteger ( int  i  )  [inline, virtual]

Implements TokenWriter.

Definition at line 48 of file scripttokenwriter.h.

References m_ostream, and writeSeparator().

void SimpleTokenWriter::writeSeparator (  )  [inline, private]
void SimpleTokenWriter::writeString ( const char *  string  )  [inline, virtual]

Implements TokenWriter.

Definition at line 44 of file scripttokenwriter.h.

References m_ostream, and writeSeparator().

void SimpleTokenWriter::writeToken ( const char *  token  )  [inline, virtual]

Implements TokenWriter.

Definition at line 39 of file scripttokenwriter.h.

References m_ostream, and writeSeparator().

void SimpleTokenWriter::writeUnsigned ( std::size_t  i  )  [inline, virtual]

Implements TokenWriter.

Definition at line 52 of file scripttokenwriter.h.

References m_ostream, and writeSeparator().


Field Documentation

TextOutputStream& SimpleTokenWriter::m_ostream [private]

Definition at line 67 of file scripttokenwriter.h.

Referenced by nextLine(), and writeSeparator().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2