All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GBase.cpp File Reference

Implementation of interface for all GammaLib classes. More...

#include "GBase.hpp"
#include "GLog.hpp"

Go to the source code of this file.


std::ostream & operator<< (std::ostream &os, const GBase &base)
 Output operator. More...
GLogoperator<< (GLog &log, const GBase &base)
 Log operator. More...

Detailed Description

Implementation of interface for all GammaLib classes.

Juergen Knoedlseder

Definition in file GBase.cpp.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GBase base 

Output operator.

[in]osOutput stream.

Put base object into output stream.

Definition at line 57 of file GBase.cpp.

References GBase::print().

GLog& operator<< ( GLog log,
const GBase base 

Log operator.


Put base object into logger. The chattiness of the base object is controlled by the chatter() attribute of the log logger.

Definition at line 76 of file GBase.cpp.

References GLog::chatter(), log(), and GBase::print().