KaliVeda
Toolkit for HIC analysis
kaliveda::dimensioned_types::Energy Struct Reference

Detailed Description

Definition at line 170 of file KVUnits.h.

#include <KVUnits.h>

Inheritance diagram for kaliveda::dimensioned_types::Energy:

Public Member Functions

 dimensioned_type ()=default
 
 dimensioned_type (const dimensioned_type &)=default
 
 dimensioned_type (const Type &t)
 
 dimensioned_type (const Type &t, const BaseUnit &U)
 
 dimensioned_type (dimensioned_type &&)=default
 
- Public Member Functions inherited from kaliveda::dimensioned_types::dimensioned_type< long double, kaliveda::energy_units::energy_unit, kaliveda::energy_units::MeV_ >
 dimensioned_type ()=default
 
 dimensioned_type (const dimensioned_type &)=default
 
 dimensioned_type (const long double &t)
 
 dimensioned_type (const long double &t, const kaliveda::energy_units::energy_unit &U)
 
 dimensioned_type (dimensioned_type &&)=default
 
long double as (const NewUnit &u) const
 
long double convert (const NewUnit &u) const
 
long double in (const NewUnit &u) const
 
 operator long double () const
 
long double operator() () const
 
dimensioned_typeoperator= (const dimensioned_type &)=default
 
dimensioned_typeoperator= (dimensioned_type &&)=default
 

Friends

Energy operator+ (const Energy &a, const Energy &b)
 
Energy operator- (const Energy &a, const Energy &b)
 

Additional Inherited Members

- Public Attributes inherited from kaliveda::dimensioned_types::dimensioned_type< long double, kaliveda::energy_units::energy_unit, kaliveda::energy_units::MeV_ >
kaliveda::energy_units::MeV_ default_units
 
long double val
 

Member Function Documentation

◆ dimensioned_type() [1/5]

◆ dimensioned_type() [2/5]

◆ dimensioned_type() [3/5]

Definition at line 146 of file KVUnits.h.

◆ dimensioned_type() [4/5]

Definition at line 147 of file KVUnits.h.

◆ dimensioned_type() [5/5]

Friends And Related Function Documentation

◆ operator+

Energy operator+ ( const Energy a,
const Energy b 
)
friend

Definition at line 176 of file KVUnits.h.

◆ operator-

Energy operator- ( const Energy a,
const Energy b 
)
friend

Definition at line 180 of file KVUnits.h.