outputstream.h File Reference

Header file for outputstream.cpp. More...

#include <sstream>
#include <iostream>
#include "typeenums.h"
#include "expression.h"
#include "role.h"
#include "pathstepattribute.h"
#include "pathstepexpression.h"
#include "iostreamexception.h"

Include dependency graph for outputstream.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  OutputStream
 Represents base class of all output streams. More...

Namespaces

namespace  std
 STL namespace.

Defines

#define NEWLINE   "\n"
#define INDENT_TOKEN   " "
#define INDENT_MULTIPLICATOR   2
#define INDENT_SINGLE   1
#define INDENT_DOUBLE   2
#define NEWLINE   "\n"
#define INDENT_TOKEN   " "
#define INDENT_MULTIPLICATOR   2
#define INDENT_SINGLE   1
#define INDENT_DOUBLE   2

Functions

OutputStreamoperator<< (OutputStream &out, const char *str)
 Operator << overloading for strings.
OutputStreamoperator<< (OutputStream &out, const long double i)
 Operator << overloading for numbers.
OutputStreamoperator<< (OutputStream &out, const Expression &exp)
 Operator << overloading for Expression.
OutputStreamoperator<< (OutputStream &out, const PathStepAttribute &pstepattr)
 Operator << overloading for PathStepAttribute.
OutputStreamoperator<< (OutputStream &out, const Role &role)
 Operator << overloading for Role.


Detailed Description

Header file for outputstream.cpp.

Header file specifying constructors, destructor and functions for outputstream.cpp.

Author:
Michael Schmidt

Gunnar Jehl

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

Definition in file outputstream.h.


Define Documentation

#define INDENT_DOUBLE   2

Double indent character multiplicator specifiying two indent character to output.

Definition at line 92 of file outputstream.h.

#define INDENT_MULTIPLICATOR   2

Multiplicator specifiying number of indent characters.

Definition at line 80 of file outputstream.h.

Referenced by OutputStream::writeIndents().

#define INDENT_SINGLE   1

Single indent character multiplicator specifiying one indent character to output.

Definition at line 86 of file outputstream.h.

#define INDENT_TOKEN   " "

Indent character.

Definition at line 74 of file outputstream.h.

Referenced by OutputStream::writeIndents().

#define NEWLINE   "\n"


Function Documentation

OutputStream & operator<< ( OutputStream out,
const Role role 
) [inline]

Operator << overloading for Role.

Operator << overloading for Role.

Parameters:
[in] out Pointer to a OutputStream object.
[in] role Role to be written.
Return values:
OutputStream Pointer to a OutputStream object.

Definition at line 298 of file outputstream.h.

References Role::print().

OutputStream & operator<< ( OutputStream out,
const PathStepAttribute pstepattr 
) [inline]

Operator << overloading for PathStepAttribute.

Operator << overloading for PathStepAttribute.

Parameters:
[in] out Pointer to a OutputStream object.
[in] pstepattr PathStepAttribute to be written.
Return values:
OutputStream Pointer to a OutputStream object.

Definition at line 285 of file outputstream.h.

References PathStepAttribute::print().

OutputStream & operator<< ( OutputStream out,
const Expression exp 
) [inline]

Operator << overloading for Expression.

Operator << overloading for Expression.

Parameters:
[in] out Pointer to a OutputStream object.
[in] exp Expression to be written.
Return values:
OutputStream Pointer to a OutputStream object.

Definition at line 273 of file outputstream.h.

References Expression::print().

OutputStream & operator<< ( OutputStream out,
const long double  i 
) [inline]

Operator << overloading for numbers.

Operator << overloading for numbers.

Parameters:
[in] out Pointer to a OutputStream object.
[in] i Number to be written.
Return values:
OutputStream Pointer to a OutputStream object.

Definition at line 259 of file outputstream.h.

References OutputStream::write().

OutputStream & operator<< ( OutputStream out,
const char *  str 
) [inline]

Operator << overloading for strings.

Operator << overloading for strings.

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

Definition at line 247 of file outputstream.h.

References OutputStream::write().


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