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

Detailed Description

The ratio of one quantity to another, often unitless in the case where the two quantities use the same unit.

Public Member Functions

 TSLScale ()
 TSLScale (const TSLScale &right)
virtual ~TSLScale ()
TSLScaleoperator= (const TSLScale &right)
virtual TSLScaleclone () const
virtual bool serialize (void *outputStreamOfXML, int indentation=-1, bool isRootHandler=true) const
const TSLUomScaleuom () const
TSLUomScaleuom ()
void uom (const TSLUomScale &input)
const TSLUomLengthsourceUnits () const
TSLUomLengthsourceUnits ()
void sourceUnits (const TSLUomLength &input)
const TSLUomLengthtargetUnits () const
TSLUomLengthtargetUnits ()
void targetUnits (const TSLUomLength &input)
Public Member Functions inherited from TSLMeasure
 TSLMeasure ()
 TSLMeasure (const TSLMeasure &right)
virtual ~TSLMeasure ()
TSLMeasureoperator= (const TSLMeasure &right)
void Uom (TSLUnitOfMeasure *val, bool assumeOwnership=true)
double value () const
void value (double input)
const TSLUnitOfMeasureUom () const
TSLUnitOfMeasureUom ()

Static Public Member Functions

static TSLScalecreate ()
Static Public Member Functions inherited from TSLMeasure
static TSLMeasurecreate ()

Constructor & Destructor Documentation

◆ TSLScale() [1/2]

TSLScale::TSLScale ( )

The default constructor.

◆ TSLScale() [2/2]

TSLScale::TSLScale ( const TSLScale & right)

The copy constructor.

◆ ~TSLScale()

virtual TSLScale::~TSLScale ( )
virtual

The destructor.

Member Function Documentation

◆ clone()

virtual TSLScale * TSLScale::clone ( ) const
virtual

Clone method for derived or derived from classes. Creates object on the heap, so the pointer must be deleted

Reimplemented from TSLMeasure.

◆ create()

TSLScale * TSLScale::create ( )
static

◆ operator=()

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

Assignment operator.

◆ serialize()

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

Reimplemented from TSLMeasure.

◆ sourceUnits() [1/3]

TSLUomLength & TSLScale::sourceUnits ( )
inline

Returns the sourceUnits attribute.

◆ sourceUnits() [2/3]

const TSLUomLength & TSLScale::sourceUnits ( ) const
inline

Returns the sourceUnits attribute.

◆ sourceUnits() [3/3]

void TSLScale::sourceUnits ( const TSLUomLength & input)
inline

Sets the sourceUnits attribute.

◆ targetUnits() [1/3]

TSLUomLength & TSLScale::targetUnits ( )
inline

Returns the targetUnits attribute.

◆ targetUnits() [2/3]

const TSLUomLength & TSLScale::targetUnits ( ) const
inline

Returns the targetUnits attribute.

◆ targetUnits() [3/3]

void TSLScale::targetUnits ( const TSLUomLength & input)
inline

Sets the targetUnits attribute.

◆ uom() [1/3]

TSLUomScale & TSLScale::uom ( )
inline

Returns the uom attribute.

◆ uom() [2/3]

const TSLUomScale & TSLScale::uom ( ) const
inline

Returns the uom attribute.

◆ uom() [3/3]

void TSLScale::uom ( const TSLUomScale & input)
inline

Sets the uom attribute.