bool any_changes( )
Java: boolean Any_changes( )
[Declared in "../coresys/common/kdu_params.h"]
The return value from this function is the same no matter which element in the multi-dimensional parameter list structure it is invoked from. The function returns true if any attribute of any parameter object has changed since the last call to clear_marks, either by an explicit call to set, or by marker translation ( translate_marker_segment) or string parsing ( parse_string).
This functionality is exploited primarily for efficient re-use of constructed code-stream management machinery with video (see kdu_codestream::restart for more on this).
The return value may be excessively conservative, returning true even though it is possible that nothing might have changed. In particular, calls to parse_string implicitly invoke delete_unparsed_attribute, which will cause the present function to return true if the attribute for which values are being parsed was previously set by any other method.