bool check_loaded( )
Java: boolean Check_loaded( )
[Declared in "../coresys/common/kdu_compressed.h"]
Returns false unless all code-blocks belonging to the precinct have been loaded. Code-blocks are loaded by opening them using kdu_precinct::open_block or kdu_subband::open_block, filling in the relevant data, and then closing them using kdu_precinct::close_block or kdu_subband::close_block. A precinct's blocks become unloaded once the kdu_precinct::close function has been called. Currently, this is the only condition which unloads them, but we may well introduce other unloading conditions in the future. For example, it may make sense to unload all precincts which belong to a newly opened tile, but do not belong to the current region of interest, as specified in calls to kdu_codestream::apply_input_restrictions. By making sure you check whether or not the precinct is loaded before attempting to generate or simulate packet data, you can avoid any dependence on such policies.