16 RealEnergy() : value(0.0), initialized(
false) {}
17 RealEnergy(
long double value) : value(value), initialized(
true) {}
19 RealEnergy& operator=(
long double rop);
20 operator long double()
const;
25 static const char debugName[];
26 const char* debugString()
const;
28 RealEnergy& operator+=(
const RealEnergy& rhs);
29 RealEnergy& operator-=(
const RealEnergy& rhs);
30 RealEnergy& operator*=(
const RealEnergy& rhs);
31 RealEnergy& operator/=(
const RealEnergy& rhs);
33 friend std::istream& operator>>(std::istream& lop, RealEnergy& rop);
34 friend std::ostream& operator<<(std::ostream& os,
const RealEnergy& obj);