CQuantityConversionKey Class Reference

#include <QuantityConversionKey.h>

Public Member Functions

 CQuantityConversionKey (int fromId, int toID)
 
 CQuantityConversionKey (const CUnitDimension *fromDim, const CUnitDimension *toDim)
 
bool operator< (const CQuantityConversionKey &rhs) const
 
bool operator> (const CQuantityConversionKey &rhs) const
 
bool operator<= (const CQuantityConversionKey &rhs) const
 
bool operator>= (const CQuantityConversionKey &rhs) const
 
bool operator== (const CQuantityConversionKey &rhs) const
 
bool operator!= (const CQuantityConversionKey &rhs) const
 
size_t hash_value () const
 

Private Attributes

const CUnitDimensionm_CUDfromDim
 
const CUnitDimensionm_CUDtoDim
 

Constructor & Destructor Documentation

◆ CQuantityConversionKey() [1/2]

CQuantityConversionKey::CQuantityConversionKey ( int  fromId,
int  toID 
)

◆ CQuantityConversionKey() [2/2]

CQuantityConversionKey::CQuantityConversionKey ( const CUnitDimension fromDim,
const CUnitDimension toDim 
)
inline

Member Function Documentation

◆ hash_value()

size_t CQuantityConversionKey::hash_value ( ) const

◆ operator!=()

bool CQuantityConversionKey::operator!= ( const CQuantityConversionKey rhs) const
inline

◆ operator<()

bool CQuantityConversionKey::operator< ( const CQuantityConversionKey rhs) const

◆ operator<=()

bool CQuantityConversionKey::operator<= ( const CQuantityConversionKey rhs) const
inline

◆ operator==()

bool CQuantityConversionKey::operator== ( const CQuantityConversionKey rhs) const

◆ operator>()

bool CQuantityConversionKey::operator> ( const CQuantityConversionKey rhs) const
inline

◆ operator>=()

bool CQuantityConversionKey::operator>= ( const CQuantityConversionKey rhs) const
inline

Member Data Documentation

◆ m_CUDfromDim

const CUnitDimension* CQuantityConversionKey::m_CUDfromDim
private

◆ m_CUDtoDim

const CUnitDimension* CQuantityConversionKey::m_CUDtoDim
private