ScalarValue Constructor

WRAPPER_API ScalarValue()

WRAPPER_API ScalarValue(const ScalarValue &source)

 

Description

The ScalarValue constructor creates a new instance of the ScalarValue class.  The default constructor takes no arguments and produces a ScalarValue where the Units are whole parts (unity), and the value is 1.  The second constructor is a copy-constructor, which produces a ScalarValue with the same value as the ScalarValue passed as argument.