LinearUnit Class

Uses

GeoCalcPBW::Serializable

 

Description

The LinearUnit class represents a unit of measurement for a LinearValue.

 

Public Constructors

Constructor

Description

CreateLinearUnit

Creates a new instance of the LinearUnit class

LinearUnit

Creates a new instance of the LinearUnit class

 

Public Methods

Method

Description

Clone

Inherited from GeoCalcPBW::Serializable

DeepCopy

Produces a deep-copy of a LinearUnit

FromBaseUnits

Converts a value given in meters to the units defined by this LinearUnit

get_Abbreviation

Returns the abbreviation for this LinearUnit

get_Identifiers

Inherited from GeoCalcPBW::Serializable

get_Name

Inherited from GeoCalcPBW::Serializable

get_ObjectType

Inherited from GeoCalcPBW::Serializable

get_Remarks

Inherited from GeoCalcPBW::Serializable

get_UnitsPerMeter

Indicates the number of units defined by this LinearUnit that correspond to one meter

HasIdentifierIn

Inherited from GeoCalcPBW::Serializable

set_Abbreviation

Sets the abbreviation for this LinearUnit

set_Identifiers

Inherited from GeoCalcPBW::Serializable

set_Name

Inherited from GeoCalcPBW::Serializable

set_Remarks

Inherited from GeoCalcPBW::Serializable

set_UnitsPerMeter

Sets the number of units defined by this LinearUnit that correspond to one meter

ToBaseUnits

Converts a value given in the units defined by this LinearUnit to meters

ValueEquals

Compares the value of two LinearUnits

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this LinearUnit

operator==

Compares the value of two LinearUnits

operator!=

Compares the value of two LinearUnits