An E57 element encoding an integer value. More...
An E57 element encoding an integer value.
An IntegerNode is a terminal node (i.e. having no children) that holds an integer value, and minimum/maximum bounds. Once the IntegerNode value and attributes are set at creation, they may not be modified.
The minimum attribute may be a number in the interval [-2^63, 2^63). The maximum attribute may be a number in the interval [minimum, 2^63). The value may be a number in the interval [minimum, maximum].
See Node class discussion for discussion of the common functions that StructureNode supports.
A class invariant is a list of statements about an object that are always true before and after any operation on the object. An invariant is useful for testing correct operation of an implementation. Statements in an invariant can involve only externally visible state, or can refer to internal implementation-specific state that is not visible to the API user. The following C++ code checks externally visible state for consistency and throws an exception if the invariant is violated: