![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
The result from performing the act or process of ascertaining the extent, dimensions, or quantity of some entity. A measure is always associated to a unit of measure. Ratio measures where the two base measures are in the same units (often considered unit-less) should be associated to UnitOfMeasure (same meter/meter for map scale) so that conversions to non-unitless ratios can be accomplished (such as miles/inch).
Public Member Functions | |
TSLMeasure () | |
TSLMeasure (const TSLMeasure &right) | |
virtual | ~TSLMeasure () |
TSLMeasure & | operator= (const TSLMeasure &right) |
void | Uom (TSLUnitOfMeasure *val, bool assumeOwnership=true) |
virtual TSLMeasure * | clone () const |
virtual bool | serialize (void *outputStreamOfXML, int indentation=-1, bool isRootHandler=true) const |
double | value () const |
void | value (double input) |
const TSLUnitOfMeasure * | Uom () const |
TSLUnitOfMeasure * | Uom () |
Static Public Member Functions | |
static TSLMeasure * | create () |
TSLMeasure::TSLMeasure | ( | ) |
The default constructor.
TSLMeasure::TSLMeasure | ( | const TSLMeasure & | right | ) |
The copy constructor.
|
virtual |
The destructor.
|
virtual |
Clone method for derived or derived from classes. Creates object on the heap, so the pointer must be deleted
Reimplemented in TSLAngle, TSLAngularVelocity, TSLArea, TSLCurrency, TSLDistance, TSLLength, TSLScale, TSLTime, TSLVelocity, TSLVolume, and TSLWeight.
|
static |
TSLMeasure & TSLMeasure::operator= | ( | const TSLMeasure & | right | ) |
Assignment operator.
|
virtual |
Reimplemented in TSLAngle, TSLAngularVelocity, TSLArea, TSLCurrency, TSLDistance, TSLLength, TSLScale, TSLTime, TSLVelocity, TSLVolume, and TSLWeight.
|
inline |
|
inline |
void TSLMeasure::Uom | ( | TSLUnitOfMeasure * | val, |
bool | assumeOwnership = true ) |
|
inline |
Returns the value attribute.
|
inline |
Sets the value attribute.