[Top] [Prev] [Next]

11.3 Programming Model for the DFAN Interface

There are two general programming models for the DFAN interface; the first programming model addresses file annotation while the second addresses object annotation. In the case of file annotations, the DFAN interface relies on the calling program to initiate and terminate access to files. This approach necessitates the following programming model:

  1. Open the file.
  2. Perform the desired file annotation operation.
  3. Close the file.

The object annotation programming model is a simplified version of the file annotation programming model:

  1. Perform the desired object annotation operation.

Essentially, the difference between the two models is that file annotations require Hopen and Hclose to open and close the target files whereas object annotations do not.



[Top] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF User's Guide - 05/19/99, NCSA HDF Development Group.