bool is_complete( )
Java: boolean Is_complete( )
[Declared in "../apps/compressed_io/jp2.h"]
This function is provided to substantially simply the processing of boxes which are recovered from dynamic caches, i.e., where the underlying jp2_family_src object was opened using a kdu_cache object as its information source. It indicates whether or not the cache contains sufficient contents to completely read this box. If the underlying data source is a file, or a kdu_compressed_source object, rather than a cache, the function always returns true, meaning that it is safe to plunge immediately into reading the box's contents.
Complex cache structures may not allow easy determination of whether or not sub-boxes of the present box are also completely available in the cache. For this reason, you may only reliably invoke this function on a box which has no sub-boxes.