ContentsIndexHome
PreviousUpNext
= Operator

The value of a scalar can be assigned easily by means of the operator '='. The right hand side must match the value type of the scalar, else an InvalidUseException is thrown.

Applies to string valued data and element valued data of which the range is not (a subset of) Integers.

IScalarData& operator =(const char* newvalue);

 

Applies to element valued data.

IScalarData& operator =(class IElement* newvalue);

 

Applies to double valued scalars.

IScalarData& operator =(const double& newvalue);

 

Applies to integer and double valued data, and element valued data of which the range is (a subset of) Integers.

IScalarData& operator =(const int& newvalue);