Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Config::Writer Class Reference

#include <Config.h>

Inheritance diagram for Config::Writer:

Config::FileWriter Config::StringWriter List of all members.

Detailed Description

The super class for the writing targets.

This class is used to provide different targets like files and strings.

Definition at line 84 of file Config.h.

Public Member Functions

virtual bool Write (const char *string)=NULL
 Writes a string to the writer's target.

virtual bool Write (char character)=NULL
 Writes a character to the writer's target.

virtual ~Writer ()
 Destroys the writer.


Constructor & Destructor Documentation

virtual ~Writer  )  [virtual]
 

Destroys the writer.


Member Function Documentation

virtual bool Write const char *  string  )  [virtual]
 

Writes a string to the writer's target.

Parameters:
string The string to be written.
Returns:
Whether the writing was successful.
Note:
Implement this method in derivatives.

Reimplemented in Config::FileWriter, and Config::StringWriter.

virtual bool Write char  character  )  [virtual]
 

Writes a character to the writer's target.

Parameters:
character The character to be written.
Returns:
Whether the writing was successful.
Note:
Implement this method in derivatives.

Reimplemented in Config::FileWriter, and Config::StringWriter.


The documentation for this class was generated from the following file:
Generated on Tue Oct 3 00:23:39 2006 for ToolBox by doxygen 1.3.6