#include <QuantityTypeDescriptor.h>

Public Member Functions

 CQuantityTypeDescriptor (const std::string &name, int fundIdx, bool twentyLog)
 
 CQuantityTypeDescriptor (const std::string &name, CCompoundUnit *expansion, bool twentyLog)
 
 ~CQuantityTypeDescriptor ()
 
const std::string & GetName () const
 
int GetFundIdx () const
 
const CCompoundUnitGetExpansion () const
 
const CUnitDimensionGetDimension () const
 
double GetBigness () const
 
bool Is20LogRuleQuantity () const
 

Private Member Functions

 CQuantityTypeDescriptor (const CQuantityTypeDescriptor &)
 

Private Attributes

double m_dBigness
 
std::string m_sName
 
int m_iFundIdx
 
CCompoundUnitm_CUExpansion
 
CUnitDimensionm_CUD
 
bool m_bTwentyLogRule
 

Constructor & Destructor Documentation

◆ CQuantityTypeDescriptor() [1/3]

CQuantityTypeDescriptor::CQuantityTypeDescriptor ( const std::string &  name,
int  fundIdx,
bool  twentyLog 
)

◆ CQuantityTypeDescriptor() [2/3]

CQuantityTypeDescriptor::CQuantityTypeDescriptor ( const std::string &  name,
CCompoundUnit expansion,
bool  twentyLog 
)

◆ ~CQuantityTypeDescriptor()

CQuantityTypeDescriptor::~CQuantityTypeDescriptor ( )

◆ CQuantityTypeDescriptor() [3/3]

CQuantityTypeDescriptor::CQuantityTypeDescriptor ( const CQuantityTypeDescriptor )
private

Member Function Documentation

◆ GetBigness()

double CQuantityTypeDescriptor::GetBigness ( ) const
inline

◆ GetDimension()

const CUnitDimension * CQuantityTypeDescriptor::GetDimension ( ) const
inline

◆ GetExpansion()

const CCompoundUnit * CQuantityTypeDescriptor::GetExpansion ( ) const
inline

◆ GetFundIdx()

int CQuantityTypeDescriptor::GetFundIdx ( ) const
inline

◆ GetName()

const std::string & CQuantityTypeDescriptor::GetName ( ) const
inline

◆ Is20LogRuleQuantity()

bool CQuantityTypeDescriptor::Is20LogRuleQuantity ( ) const
inline

Member Data Documentation

◆ m_bTwentyLogRule

bool CQuantityTypeDescriptor::m_bTwentyLogRule
private

◆ m_CUD

CUnitDimension* CQuantityTypeDescriptor::m_CUD
private

◆ m_CUExpansion

CCompoundUnit* CQuantityTypeDescriptor::m_CUExpansion
private

◆ m_dBigness

double CQuantityTypeDescriptor::m_dBigness
private

◆ m_iFundIdx

int CQuantityTypeDescriptor::m_iFundIdx
private

◆ m_sName

std::string CQuantityTypeDescriptor::m_sName
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.