ScalarUnit Class

Inherits from

GEOCALCPBW_NAMESPACE::Unit

 

Description

The ScalarUnit class represents a unit of measurement for a ScalarValue.

 

Public Constructors

Constructor

Description

CreateScalarUnit

Creates a new instance of the ScalarUnit class

ScalarUnit

Creates a new instance of the ScalarUnit class

 

Public Methods

Method

Description

DeepCopy

Produces a deep-copy of a ScalarUnit

get_UnitsPerUnity

Returns the number of units defined by this ScalarUnit that correspond to a whole value (1)

set_UnitsPerUnity

Sets the number of units defined by this ScalarUnit that correspond to a whole (1)

ValueEquals

Compares the value of two ScalarUnits

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this ScalarUnit

operator==

Compares the value of two ScalarUnits

operator!=

Compares the value of two ScalarUnits