GammaLib
2.1.0.dev
|
Energy value class definition. More...
Go to the source code of this file.
Classes | |
class | GEnergy |
Class that handles energies in a unit independent way. More... | |
Functions | |
GEnergy | operator+ (const GEnergy &a, const GEnergy &b) |
Energy addition operator friend. More... | |
GEnergy | operator- (const GEnergy &a, const GEnergy &b) |
Energy subtraction operator friend. More... | |
GEnergy | operator* (const double &a, const GEnergy &b) |
Energy multiplication operator friend. More... | |
GEnergy | operator* (const GEnergy &a, const double &b) |
Energy multiplication operator friend. More... | |
GEnergy | operator/ (const GEnergy &a, const double &b) |
Energy division operator friend. More... | |
double | operator/ (const GEnergy &a, const GEnergy &b) |
Energy division operator friend. More... | |
bool | operator== (const GEnergy &a, const GEnergy &b) |
Energy equality operator friend. More... | |
bool | operator!= (const GEnergy &a, const GEnergy &b) |
Energy non-equality operator friend. More... | |
bool | operator< (const GEnergy &a, const GEnergy &b) |
Energy smaller than operator friend. More... | |
bool | operator<= (const GEnergy &a, const GEnergy &b) |
Energy smaller than or equal to operator friend. More... | |
bool | operator> (const GEnergy &a, const GEnergy &b) |
Energy larger than operator friend. More... | |
bool | operator>= (const GEnergy &a, const GEnergy &b) |
Energy larger than or equal to operator friend. More... | |
Energy value class definition.
Definition in file GEnergy.hpp.
Energy non-equality operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 311 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy multiplication operator friend.
[in] | a | Scale. |
[in] | b | Energy. |
Definition at line 235 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy multiplication operator friend.
[in] | a | Energy. |
[in] | b | Scale. |
Definition at line 251 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy addition operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 203 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy subtraction operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 219 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy division operator friend.
[in] | a | Energy. |
[in] | b | Scale. |
Definition at line 267 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy division operator friend.
[in] | a | Energy. |
[in] | b | Energy. |
Definition at line 283 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy smaller than operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 325 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy smaller than or equal to operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 339 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy equality operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 297 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy larger than operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 353 of file GEnergy.hpp.
References GEnergy::m_energy.
Energy larger than or equal to operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 367 of file GEnergy.hpp.
References GEnergy::m_energy.