GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GBase.hpp File Reference

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

#include <string>
#include <iostream>
#include "GTypemaps.hpp"

Go to the source code of this file.

Classes

class  GBase
 Interface class for all GammaLib classes. More...
 

Functions

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

Detailed Description

Definition of interface for all GammaLib classes.

Author
Juergen Knoedlseder

Definition in file GBase.hpp.

Function Documentation

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

Output operator.

Parameters
[in]osOutput stream.
[in]baseObject.

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.

Parameters
[in]logLogger.
[in]baseObject.

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().