GammaLib 2.0.0
Loading...
Searching...
No Matches
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.
 
GLogoperator<< (GLog &log, const GBase &base)
 Log operator.
 

Detailed Description

Definition of interface for all GammaLib classes.

Author
Juergen Knoedlseder

Definition in file GBase.hpp.

Function Documentation

◆ operator<<() [1/2]

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 log(), and GBase::print().

◆ operator<<() [2/2]

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