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. | |
GEnergy | operator- (const GEnergy &a, const GEnergy &b) |
Energy subtraction operator friend. | |
GEnergy | operator* (const double &a, const GEnergy &b) |
Energy multiplication operator friend. | |
GEnergy | operator* (const GEnergy &a, const double &b) |
Energy multiplication operator friend. | |
GEnergy | operator/ (const GEnergy &a, const double &b) |
Energy division operator friend. | |
double | operator/ (const GEnergy &a, const GEnergy &b) |
Energy division operator friend. | |
bool | operator== (const GEnergy &a, const GEnergy &b) |
Energy equality operator friend. | |
bool | operator!= (const GEnergy &a, const GEnergy &b) |
Energy non-equality operator friend. | |
bool | operator< (const GEnergy &a, const GEnergy &b) |
Energy smaller than operator friend. | |
bool | operator<= (const GEnergy &a, const GEnergy &b) |
Energy smaller than or equal to operator friend. | |
bool | operator> (const GEnergy &a, const GEnergy &b) |
Energy larger than operator friend. | |
bool | operator>= (const GEnergy &a, const GEnergy &b) |
Energy larger than or equal to operator friend. | |
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 315 of file GEnergy.hpp.
Energy multiplication operator friend.
[in] | a | Scale. |
[in] | b | Energy. |
Definition at line 239 of file GEnergy.hpp.
Energy multiplication operator friend.
[in] | a | Energy. |
[in] | b | Scale. |
Definition at line 255 of file GEnergy.hpp.
Energy addition operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 207 of file GEnergy.hpp.
Energy subtraction operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 223 of file GEnergy.hpp.
Energy division operator friend.
[in] | a | Energy. |
[in] | b | Scale. |
Definition at line 271 of file GEnergy.hpp.
Energy division operator friend.
[in] | a | Energy. |
[in] | b | Energy. |
Definition at line 287 of file GEnergy.hpp.
Energy smaller than operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 329 of file GEnergy.hpp.
Energy smaller than or equal to operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 343 of file GEnergy.hpp.
Energy equality operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 301 of file GEnergy.hpp.
Energy larger than operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 357 of file GEnergy.hpp.
Energy larger than or equal to operator friend.
[in] | a | First energy. |
[in] | b | Second energy. |
Definition at line 371 of file GEnergy.hpp.