HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_Unit Class Reference

#include <MHO_Unit.hh>

Public Member Functions

MHO_Unit() MHO_Unit (const std::string &unit)
 
virtual ~MHO_Unit ()
 
std::string GetUnitString () const
 
void Invert ()
 
MHO_Unit operator* (const MHO_Unit &other) const
 
MHO_Unitoperator*= (const MHO_Unit &other)
 
MHO_Unit operator/ (const MHO_Unit &other) const
 
MHO_Unitoperator/= (const MHO_Unit &other)
 
MHO_Unitoperator= (const MHO_Unit &other)
 
bool operator== (const MHO_Unit &other) const
 
void RaiseToPower (int power)
 
void SetUnitString (const std::string unit)
 

Constructor & Destructor Documentation

◆ MHO_Unit()

MHO_Unit () hops::MHO_Unit::MHO_Unit ( const std::string &  unit)

◆ ~MHO_Unit()

virtual hops::MHO_Unit::~MHO_Unit ( )
virtual

Member Function Documentation

◆ GetUnitString()

std::string hops::MHO_Unit::GetUnitString ( ) const
inline

◆ Invert()

void hops::MHO_Unit::Invert ( )

◆ operator*()

MHO_Unit hops::MHO_Unit::operator* ( const MHO_Unit other) const

◆ operator*=()

MHO_Unit& hops::MHO_Unit::operator*= ( const MHO_Unit other)

◆ operator/()

MHO_Unit hops::MHO_Unit::operator/ ( const MHO_Unit other) const

◆ operator/=()

MHO_Unit& hops::MHO_Unit::operator/= ( const MHO_Unit other)

◆ operator=()

MHO_Unit& hops::MHO_Unit::operator= ( const MHO_Unit other)

◆ operator==()

bool hops::MHO_Unit::operator== ( const MHO_Unit other) const

◆ RaiseToPower()

void hops::MHO_Unit::RaiseToPower ( int  power)

◆ SetUnitString()

void hops::MHO_Unit::SetUnitString ( const std::string  unit)
inline

The documentation for this class was generated from the following file: