StdoutOutputStream Class Reference

Represents a standard (console) output stream. More...

#include <stdoutoutputstream.h>

Inheritance diagram for StdoutOutputStream:

Inheritance graph
[legend]
Collaboration diagram for StdoutOutputStream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StdoutOutputStream ()
 Constructor.
virtual ~StdoutOutputStream ()
void open ()
void close ()
void write (const char *str)
void writeln (const char *str)
bool isWriteable ()
void flush ()


Detailed Description

Represents a standard (console) output stream.

Represents a standard (console) output stream.

Author:
Michael Schmidt

Gunnar Jehl

Version:
2.1
License:
Software License Agreement (BSD License)

Definition at line 48 of file stdoutoutputstream.h.


Constructor & Destructor Documentation

StdoutOutputStream::StdoutOutputStream (  ) 

Constructor.

Constructor - creating object.

Definition at line 37 of file stdoutoutputstream.cpp.

StdoutOutputStream::~StdoutOutputStream (  )  [virtual]

Destructor.

Definition at line 41 of file stdoutoutputstream.cpp.

References close().


Member Function Documentation

void StdoutOutputStream::close (  )  [virtual]

Closes the corresponding output stream.

Closes the corresponding output stream.

Return values:
void 

Implements OutputStream.

Definition at line 49 of file stdoutoutputstream.cpp.

Referenced by ~StdoutOutputStream().

void StdoutOutputStream::flush (  )  [virtual]

Flushes the corresponding output stream.

Flushes the corresponding output stream.

Return values:
void 

Implements OutputStream.

Definition at line 65 of file stdoutoutputstream.cpp.

bool StdoutOutputStream::isWriteable (  )  [virtual]

Returns/Verifies if the corresponding output stream is writeable.

Returns/Verifies if the corresponding output stream is writeable.

Return values:
bool true if the corresponding output stream is writeable, false otherwise.

Implements OutputStream.

Definition at line 61 of file stdoutoutputstream.cpp.

void StdoutOutputStream::open (  )  [virtual]

Opens the corresponding output stream.

Opens the corresponding output stream.

Return values:
void 
Exceptions:
IOStreamException If an error occured (e.g. if it is not possible to open a file)

Implements OutputStream.

Definition at line 45 of file stdoutoutputstream.cpp.

void StdoutOutputStream::write ( const char *  str  )  [virtual]

Writes a string to the corresponding output stream.

Writes a string to the corresponding output stream.

Parameters:
[in] str Pointer to a char object (string to be written).
Return values:
void 

Implements OutputStream.

Definition at line 53 of file stdoutoutputstream.cpp.

void StdoutOutputStream::writeln ( const char *  str  )  [virtual]

Writes a string with an ending newline character to the corresponding output stream.

Writes a string with an ending newline character to the corresponding output stream.

Parameters:
[in] str Pointer to a char object (string to be written).
Return values:
void 

Implements OutputStream.

Definition at line 57 of file stdoutoutputstream.cpp.


Generated on Sun May 24 20:20:30 2009 for G(arbage) C(ollected) X(Query) Engine by  doxygen 1.5.9