E57 Foundation API v1.1.312
Aug. 10, 2011
|
Create an E57 element for storing a integer value.
An IntegerNode stores an integer value, and a lower and upper bound. The IntegerNode class corresponds to the ASTM E57 standard Integer element. See the class discussion at bottom of IntegerNode page for more details. The destImageFile indicates which ImageFile the IntegerNode will eventually be attached to. A node is attached to an ImageFile by adding it underneath the predefined root of the ImageFile (gotten from ImageFile::root). It is not an error to fail to attach the IntegerNode to the destImageFile. It is an error to attempt to attach the IntegerNode to a different ImageFile. Warning: it is an error to give an value outside the minimum / maximum bounds, even if the IntegerNode is destined to be used in a CompressedVectorNode prototype (where the value will be ignored). If the IntegerNode is to be used in a prototype, it is recommended to specify a value = 0 if 0 is within bounds, or a value = minimum if 0 is not within bounds.
|