[Top] [Prev] [Next] [Bottom]
10.10 Programming Model for the Multifile Annotation Interface
The programming model for the multifile annotation interface is as follows:
- 1. Open a file.
- 2. Initialize the multifile annotation interface and obtain an interface id.
- 3. Create or obtain an annotation id.
- 4. Perform the desired annotation operation.
- 5. Terminate access to the annotation interface and the annotation.
- 6. Close the file.
As with the GR and SD interfaces an identifier to the object to be created or accessed is obtained when the interface is initialized. This programming model allows several files to be opened and the contents operated on as long as the calling program accurately keeps track of each file, interface and object identifier returned by the interface. Each object and file must be explicitly closed before the termination of the calling program.
[Top] [Prev] [Next] [Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Guide - 06/04/97, NCSA HDF
Development Group.