LAMA
/home/brandes/workspace/LAMA/src/lama/Printable.hpp File Reference

Base class to be used for base classes that will output on a stream. More...

#include <lama/config.hpp>
#include <ostream>

Go to the source code of this file.

Data Structures

class  Printable
 The class Printable can be used as a base class for classes that should provide the output operator << to print info about it. More...

Functions

LAMA_DLL_IMPORTEXPORT
std::ostream & 
operator<< (std::ostream &stream, const Printable &object)
 Calls Printable::writeAt() on the passed stream.

Detailed Description

Base class to be used for base classes that will output on a stream.

Author:
Jiri Kraus
Date:
05.08.2011 $Id$

Function Documentation

LAMA_DLL_IMPORTEXPORT std::ostream& operator<< ( std::ostream &  stream,
const Printable object 
)

Calls Printable::writeAt() on the passed stream.

Parameters:
[out]streamthe stream to write to.
[in]objectthe Printable which should write to stream.
Returns:
a reference to the passed stream.