CQuantityConversionDescriptor Class Reference

#include <QuantityConversionDescriptor.h>

Public Member Functions

 CQuantityConversionDescriptor (double fromExp, const std::string &mappingUnit)
 
 ~CQuantityConversionDescriptor ()
 
void Validate (int fromQTID, int toQTID)
 
const double & GetFromExponent () const
 
const CCompoundUnitGetMappingUnit () const
 

Private Attributes

double m_dFromExponent
 
CCompoundUnitm_CUMappingUnit
 

Constructor & Destructor Documentation

◆ CQuantityConversionDescriptor()

CQuantityConversionDescriptor::CQuantityConversionDescriptor ( double  fromExp,
const std::string &  mappingUnit 
)

◆ ~CQuantityConversionDescriptor()

CQuantityConversionDescriptor::~CQuantityConversionDescriptor ( )

Member Function Documentation

◆ GetFromExponent()

const double& CQuantityConversionDescriptor::GetFromExponent ( ) const
inline

◆ GetMappingUnit()

const CCompoundUnit* CQuantityConversionDescriptor::GetMappingUnit ( ) const
inline

◆ Validate()

void CQuantityConversionDescriptor::Validate ( int  fromQTID,
int  toQTID 
)

Member Data Documentation

◆ m_CUMappingUnit

CCompoundUnit* CQuantityConversionDescriptor::m_CUMappingUnit
private

◆ m_dFromExponent

double CQuantityConversionDescriptor::m_dFromExponent
private