#include "Misc1Unit.hpp"
Public Member Functions | |
Misc1Unit (const Misc1Expnt &exponents=Misc1Expnt(), int scaleExponent=0, const std::string &prettyString="") | |
Misc1Unit (const std::string &scaleAbbreviation, const Misc1Expnt &exponents=Misc1Expnt(), const std::string &prettyString="") | |
virtual | ~Misc1Unit () |
Related Functions | |
typedef std::vector< Misc1Unit > | Misc1UnitVector |
typedef boost::optional < Misc1Unit > | OptionalMisc1Unit |
Misc1Unit | createMisc1Pressure () |
Misc1Unit | createMisc1Length () |
Misc1Unit | createMisc1Time () |
Misc1Unit | createMisc1Temperature () |
Misc1Unit | createMisc1ElectricCurrent () |
Misc1Unit | createMisc1LuminousIntensity () |
Misc1Unit | createMisc1AmountOfSubstance () |
Misc1Unit | createMisc1Angle () |
Misc1Unit | createMisc1SolidAngle () |
Misc1Unit | createMisc1People () |
Misc1Unit | createMisc1Volume () |
Misc1Unit | createMisc1LuminousFlux () |
Misc1Unit is a Unit with baseUnits fixed by its constructors, see Misc1Expnt.
setBaseUnitExponent throws an exception if any other string is passed in as a baseUnit. Misc1Unit.hpp declares related operators and UnitFactory callback functions.
openstudio::Misc1Unit::Misc1Unit | ( | const Misc1Expnt & | exponents = Misc1Expnt() , |
int | scaleExponent = 0 , |
||
const std::string & | prettyString = "" |
||
) |
Default constructor.
[in] | exponents | holds the exponents for each base unit. |
[in] | scaleExponent | exponent for scale. For instance 3 for kilo. |
[in] | prettyString | optional string to use in place of standardString. |
openstudio::Misc1Unit::Misc1Unit | ( | const std::string & | scaleAbbreviation, |
const Misc1Expnt & | exponents = Misc1Expnt() , |
||
const std::string & | prettyString = "" |
||
) |
Alternate constructor.
Specify the abbreviation of the scale, rather than its exponent.
[in] | scaleAbbreviation | is string equal to a scale abbreviation. For instance "k" for kilo. |
[in] | exponents | holds the exponents for each base unit. |
[in] | prettyString | optional string to use in place of standardString. |
|
inlinevirtual |
|
related |
|
related |
|
related |
|
related |
|
related |
Lumen (lm) = cd*sr.
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
Liters (L).
|
related |
|
related |