|
COPASI API
4.40.278
|
#include <CUnitComponent.h>
Public Member Functions | |
| CUnitComponent (CBaseUnit::Kind kind, double multiplier=1, double scale=0, double exponent=1) | |
| CUnitComponent (const CUnitComponent &src) | |
| double | getExponent () const |
| CBaseUnit::Kind | getKind () const |
| double | getMultiplier () const |
| double | getScale () const |
| bool | isValid () const |
| bool | operator< (const CUnitComponent &rightSide) const |
| bool | operator== (const CUnitComponent &rightSide) const |
| void | setExponent (double exponent) |
| void | setKind (CBaseUnit::Kind kind) |
| void | setMultiplier (double multiplier) |
| void | setScale (double scale) |
| ~CUnitComponent () | |
Private Member Functions | |
| CUnitComponent () | |
Private Attributes | |
| double | mExponent |
| CBaseUnit::Kind | mKind |
| double | mMultiplier |
| double | mScale |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CUnitComponent &o) |
|
private |
| CUnitComponent::CUnitComponent | ( | CBaseUnit::Kind | kind, |
| double | multiplier = 1, |
||
| double | scale = 0, |
||
| double | exponent = 1 |
||
| ) |
| CUnitComponent::CUnitComponent | ( | const CUnitComponent & | src | ) |
Copy constructor
| const | CUnitComponent & src |
| const | CDataContainer * pParent (default: NULL) |
| CUnitComponent::~CUnitComponent | ( | ) |
| double CUnitComponent::getExponent | ( | ) | const |
References mExponent.
Referenced by CUnit::addComponent(), addCUnitComponentToUnitDefinition(), addSymbolComponentToUnitDefinition(), and CUnit::exponentiate().
| CBaseUnit::Kind CUnitComponent::getKind | ( | ) | const |
References mKind.
Referenced by CUnit::addComponent(), and addCUnitComponentToUnitDefinition().
| double CUnitComponent::getMultiplier | ( | ) | const |
References mMultiplier.
Referenced by CUnit::addComponent(), addCUnitComponentToUnitDefinition(), addSymbolComponentToUnitDefinition(), and CUnit::exponentiate().
| double CUnitComponent::getScale | ( | ) | const |
References mScale.
Referenced by CUnit::addComponent(), addCUnitComponentToUnitDefinition(), addSymbolComponentToUnitDefinition(), and CUnit::exponentiate().
| bool CUnitComponent::operator< | ( | const CUnitComponent & | rightSide | ) | const |
References mKind.
| bool CUnitComponent::operator== | ( | const CUnitComponent & | rightSide | ) | const |
References mExponent, mKind, mMultiplier, and mScale.
| void CUnitComponent::setExponent | ( | double | exponent | ) |
References mExponent.
Referenced by CUnit::addComponent(), addSymbolComponentToUnitDefinition(), CUnit::exponentiate(), and CUnit::setDimensionLess().
| void CUnitComponent::setKind | ( | CBaseUnit::Kind | kind | ) |
References mKind.
| void CUnitComponent::setMultiplier | ( | double | multiplier | ) |
References mMultiplier.
Referenced by CUnit::addComponent(), addSymbolComponentToUnitDefinition(), CUnit::exponentiate(), and CUnit::setDimensionLess().
| void CUnitComponent::setScale | ( | double | scale | ) |
References mScale.
Referenced by CUnit::addComponent(), addSymbolComponentToUnitDefinition(), CUnit::exponentiate(), and CUnit::setDimensionLess().
|
friend |
|
private |
Referenced by getExponent(), isValid(), operator==(), and setExponent().
|
private |
Referenced by getKind(), operator<(), operator==(), and setKind().
|
private |
Referenced by getMultiplier(), operator==(), and setMultiplier().
|
private |
Referenced by getScale(), isValid(), operator==(), and setScale().