GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEbounds.cpp File Reference

Energy boundary class implementation. More...

#include <cmath>
#include "GException.hpp"
#include "GTools.hpp"
#include "GFilename.hpp"
#include "GEbounds.hpp"
#include "GEnergies.hpp"
#include "GFits.hpp"
#include "GFitsTable.hpp"
#include "GFitsBinTable.hpp"
#include "GFitsTableDoubleCol.hpp"
#include "GXmlElement.hpp"

Go to the source code of this file.

Macros

#define G_SET_LIN   "GEbounds::set_lin(int&, GEnergy&, GEnergy&)"
 
#define G_SET_LOG   "GEbounds::set_log(int&, GEnergy&, GEnergy&)"
 
#define G_READ_XML   "GEbounds::read(GXmlElement&)"
 
#define G_WRITE_XML   "GEbounds::write(GXmlElement&)"
 
#define G_REMOVE   "GEbounds::remove(int&)"
 
#define G_EMIN_SET   "GEbounds::emin(int&, GEnergy&)"
 
#define G_EMAX_SET   "GEbounds::emax(int&, GEnergy&)"
 
#define G_EMIN_GET   "GEbounds::emin(int&)"
 
#define G_EMAX_GET   "GEbounds::emax(int&)"
 
#define G_EMEAN   "GEbounds::emean(int&)"
 
#define G_ELOGMEAN   "GEbounds::elogmean(int&)"
 
#define G_EWIDTH   "GEbounds::ewidth(int&)"
 
#define G_INSERT_ENG   "GEbounds::insert_eng(int&, GEnergy&, GEnergy&)"
 

Functions

bool operator== (const GEbounds &a, const GEbounds &b)
 Energy boundaries equality operator friend. More...
 

Detailed Description

Energy boundary class implementation.

Author
Juergen Knoedlseder

Definition in file GEbounds.cpp.

Macro Definition Documentation

#define G_ELOGMEAN   "GEbounds::elogmean(int&)"

Definition at line 54 of file GEbounds.cpp.

Referenced by GEbounds::elogmean().

#define G_EMAX_GET   "GEbounds::emax(int&)"

Definition at line 52 of file GEbounds.cpp.

Referenced by GEbounds::emax().

#define G_EMAX_SET   "GEbounds::emax(int&, GEnergy&)"

Definition at line 50 of file GEbounds.cpp.

Referenced by GEbounds::emax().

#define G_EMEAN   "GEbounds::emean(int&)"

Definition at line 53 of file GEbounds.cpp.

Referenced by GEbounds::emean().

#define G_EMIN_GET   "GEbounds::emin(int&)"

Definition at line 51 of file GEbounds.cpp.

Referenced by GEbounds::emin().

#define G_EMIN_SET   "GEbounds::emin(int&, GEnergy&)"

Definition at line 49 of file GEbounds.cpp.

Referenced by GEbounds::emin().

#define G_EWIDTH   "GEbounds::ewidth(int&)"

Definition at line 55 of file GEbounds.cpp.

Referenced by GEbounds::ewidth().

#define G_INSERT_ENG   "GEbounds::insert_eng(int&, GEnergy&, GEnergy&)"

Definition at line 56 of file GEbounds.cpp.

Referenced by GEbounds::insert_eng().

#define G_READ_XML   "GEbounds::read(GXmlElement&)"

Definition at line 46 of file GEbounds.cpp.

Referenced by GEbounds::read().

#define G_REMOVE   "GEbounds::remove(int&)"

Definition at line 48 of file GEbounds.cpp.

Referenced by GEbounds::remove().

#define G_SET_LIN   "GEbounds::set_lin(int&, GEnergy&, GEnergy&)"

Definition at line 44 of file GEbounds.cpp.

Referenced by GEbounds::set_lin().

#define G_SET_LOG   "GEbounds::set_log(int&, GEnergy&, GEnergy&)"

Definition at line 45 of file GEbounds.cpp.

Referenced by GEbounds::set_log().

#define G_WRITE_XML   "GEbounds::write(GXmlElement&)"

Definition at line 47 of file GEbounds.cpp.

Referenced by GEbounds::write().

Function Documentation

bool operator== ( const GEbounds a,
const GEbounds b 
)

Energy boundaries equality operator friend.

Parameters
[in]aFirst energy boundaries.
[in]bSecond energy boundaries.
Returns
True if both energy boundaries are identical.

Definition at line 1474 of file GEbounds.cpp.

References GEbounds::emax(), GEbounds::emin(), and GEbounds::size().