| synopsis || return value || prev || next |

jp2_input_box::close

Java: Jp2_input_box::Close

virtual bool close( )

Java: boolean Close( )

Overrides kdu_compressed_source::close

[Declared in "../apps/compressed_io/jp2.h"]

Go to class description.


Synopsis

Implements kdu_compressed_source::close. It is safe to call this function at any time, even if the box is not currently open or if its super-box has somehow been closed or the underlying jp2_family_src object has ceased to exist (usually an error condition, but still safe). However, a super-box's members may be accessed by this function, so you should make sure that you do not destroy the super-box used to open a sub-box, until after the sub-box has at least closed.


Return Value

True if the contents of the box were completely consumed by calls to read, or by opening and closing of sub-boxes.


| top || synopsis || return value || prev || next |