| synopsis || return value || arguments || prev || next |
jpx_metanode add_delayed( kdu_uint32 box_type, int i_param, void * addr_param)
[Declared in "../apps/compressed_io/jpx.h"]
Use this function to add a descendant to the present node, assigning this descendant to represent a box of the indicated type, whose contents will not be provided until the metadata tree has been completed and jpx_target::write_metadata is invoked. If the new node is assigned its own descendants, it will be represented by an association box, whose first sub-box is the box referenced here via box_type and the placeholder parameters. More commonly, however, this function would be used to add leaf nodes, such as XML nodes, which might contain a lot of data.
Reference to the newly created node.
Application-defined integer parameter which will be returned via jpx_target::write_metadata when the time comes to write this box to the file. You might use this to identify the type of object whose reference has been encoded via addr_param.
Application-defined address which will be returned via jpx_target::write_metadata when the time comes to write this box to the file.
| top || synopsis || return value || arguments || prev || next |