[ HDF5 High Level Tutorial Top ] [ Next ]

Introduction

The HDF5 Lite programming model is simple: the user only has to obtain an identifier of the group or file where he or she wants to use these functions and then call the appropriate function. For example

/* Create a new HDF5 file using default properties. */
file_id = H5Fcreate( "image_test.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT );

/* Call some High Level function */
H5LTsome_function( file_id, ...extra parameters );

/* Close the file. */
status = H5Fclose( file_id );


HDF Help Desk
Last modified: November 14, 2002