MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
Inheritance diagram for TSLMeasure:

Detailed Description

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 ()
 
TSLMeasureoperator= (const TSLMeasure &right)
 
void Uom (TSLUnitOfMeasure *val, bool assumeOwnership=true)
 
virtual TSLMeasureclone () const
 
virtual bool serialize (void *outputStreamOfXML, int indentation=-1, bool isRootHandler=true) const
 
double value () const
 
void value (double input)
 
const TSLUnitOfMeasureUom () const
 
TSLUnitOfMeasureUom ()
 

Static Public Member Functions

static TSLMeasurecreate ()
 

Constructor & Destructor Documentation

◆ TSLMeasure() [1/2]

TSLMeasure::TSLMeasure ( )

The default constructor.

◆ TSLMeasure() [2/2]

TSLMeasure::TSLMeasure ( const TSLMeasure & right)

The copy constructor.

◆ ~TSLMeasure()

virtual TSLMeasure::~TSLMeasure ( )
virtual

The destructor.

Member Function Documentation

◆ clone()

virtual TSLMeasure * TSLMeasure::clone ( ) const
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.

◆ create()

static TSLMeasure * TSLMeasure::create ( )
static

◆ operator=()

TSLMeasure & TSLMeasure::operator= ( const TSLMeasure & right)

Assignment operator.

◆ serialize()

virtual bool TSLMeasure::serialize ( void * outputStreamOfXML,
int indentation = -1,
bool isRootHandler = true ) const
virtual

◆ Uom() [1/3]

TSLUnitOfMeasure * TSLMeasure::Uom ( )
inline

◆ Uom() [2/3]

const TSLUnitOfMeasure * TSLMeasure::Uom ( ) const
inline

◆ Uom() [3/3]

void TSLMeasure::Uom ( TSLUnitOfMeasure * val,
bool assumeOwnership = true )

◆ value() [1/2]

double TSLMeasure::value ( ) const
inline

Returns the value attribute.

◆ value() [2/2]

void TSLMeasure::value ( double input)
inline

Sets the value attribute.