FiberBundleHDF5
$Id: FiberHDF5.dfg,v 1.8 2006/12/12 12:32:50 werner Exp $
|
Macros | |
#define | H5Gclose(x) _F5Gclose(x, __FILE__, __LINE__) |
Functions | |
F5_API hid_t | F5open (const char *filename, int socket) |
F5_API int | F5connect (const char *url) |
F5_API int | F5listen (const char *service) |
F5_API void | F5closesocket (int socket) |
F5_API void | F5socket_init () |
F5_API void | F5socket_cleanup () |
F5_API hid_t | F5Gcreate (hid_t loc_id, const char *name, int est_num_entries, int est_name_len) |
F5_API hid_t | F5append (const char *filename) |
F5_API hid_t | F5Gappend (hid_t loc_id, const char *name) |
F5_API hid_t | F5Gappend_hinted_creation (hid_t loc_id, const char *name, int est_num_entries, int est_name_len) |
F5_API hid_t | F5Gappend_external (hid_t loc_id, const char *name, const char *target_file_name, const char *target_obj_name, const char *prefix) |
F5_API hid_t | F5Dappend (hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t create_plist_id) |
F5_API hid_t | F5Dcreate (hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t create_plist_id) |
F5_API int | F5Gopen (hid_t location, const char *name) |
F5_API int | F5Gexist (hid_t location, const char *name) |
F5_API hid_t | F5Gtry_to_open (hid_t location, const char *name) |
F5_API int | F5Dexist (hid_t location, const char *name) |
F5_API hid_t | F5Dtry_to_open (hid_t location, const char *name) |
F5_API herr_t | F5Xclose (hid_t obj_id) |
F5_API herr_t | _F5Gclose (hid_t id, const char *filename, int lineno) |
These extensions are of general use, not only in conjunction with the fiber bundle concept, but they just happen to sit here in this library.
F5_API herr_t _F5Gclose | ( | hid_t | id, |
const char * | filename, | ||
int | lineno | ||
) |
Call H5Cclose with a debug message when F5_VERBOSITY is larger then 110
F5_API hid_t F5append | ( | const char * | filename | ) |
Open some file for appending data.
F5_API void F5closesocket | ( | int | socket | ) |
A forwarding call to the platformspecific system call to close a socket.
F5_API int F5connect | ( | const char * | url | ) |
Open a socket connection to the specified host and port. The URL must be of the form:
F5_API hid_t F5Dappend | ( | hid_t | loc_id, |
const char * | name, | ||
hid_t | type_id, | ||
hid_t | space_id, | ||
hid_t | create_plist_id | ||
) |
Open some dataset if it exists, otherwise create one.
Referenced by F5Cwrite_regular_surface(), and F5write_particle_cartesian3DvU().
F5_API hid_t F5Dcreate | ( | hid_t | loc_id, |
const char * | name, | ||
hid_t | type_id, | ||
hid_t | space_id, | ||
hid_t | create_plist_id | ||
) |
Create a new dataset, possibly deleting an old one if such exists.
Referenced by F5Lcreate().
F5_API int F5Dexist | ( | hid_t | location, |
const char * | name | ||
) |
Check if a dataset exists.
Referenced by F5P_has_vertices().
F5_API hid_t F5Gappend | ( | hid_t | loc_id, |
const char * | name | ||
) |
Open some group if it exists, otherwise create one.
References F5Gappend_hinted_creation().
Referenced by F5Bappend_slice(), F5Fwrite_linear_fraction(), F5LSwrite_fraction(), F5LTcreateV(), F5LTget_maximal_grid_refinement(), F5LTget_maximal_skeleton_refinement(), F5LTset_maximal_grid_refinement(), F5Lwrite_fraction(), and F5LwriteS().
F5_API hid_t F5Gappend_hinted_creation | ( | hid_t | loc_id, |
const char * | name, | ||
int | est_num_entries, | ||
int | est_name_len | ||
) |
Open or create a group, if created then with estimated hints about its number of entries and estimated length of its member names.
References F5Gcreate().
Referenced by F5Gappend().
F5_API hid_t F5Gcreate | ( | hid_t | loc_id, |
const char * | name, | ||
int | est_num_entries, | ||
int | est_name_len | ||
) |
Create a group using utf8 encoding for the link name and making use of the estimated group entry and name length properties for optimization. If these values are negative, no such hints will be set.
Referenced by F5Gappend_hinted_creation(), F5Lwrite_linear(), and F5Lwrites().
F5_API int F5Gexist | ( | hid_t | location, |
const char * | name | ||
) |
Check if a group exists.
Referenced by F5P_has_vertices().
F5_API int F5Gopen | ( | hid_t | location, |
const char * | name | ||
) |
Open a group
F5_API hid_t F5Gtry_to_open | ( | hid_t | location, |
const char * | name | ||
) |
Try to open an HDF5 group, silently return -1 if it does not exist.
Referenced by F5iterate_grids_per_bundle(), F5iterate_representations(), and F5iterate_topology_fields().
F5_API hid_t F5open | ( | const char * | filename, |
int | socket | ||
) |
Open some URL for reading data (read-only). Note that this function may well invoke the streaming HDF5 driver when a valid socket descriptor is given. Such might well be created by a call to F5connect(). Note that the socket needs to be closed explicitely.
F5_API void F5socket_cleanup | ( | ) |
Calling windows socket cleanup on windows
F5_API void F5socket_init | ( | ) |
Calling windows socket init on windows
F5_API herr_t F5Xclose | ( | hid_t | obj_id | ) |
Close an object regardless of its type.
Use this function to close any HDF5-Object, if you do not know the type of the object. This is especially usefull after a call to H5Rdereference(). @remark Normally you shouldn't use this function, because you should know the objects you are creating.
ret_type_id | A pointer to a storage to take the type of the given object. See H5Iget_type() for a list of types. |
obj_id | The ID of the object to be closed. |
Referenced by F5Fwrite_linear_fraction(), F5LSwrite_fraction(), and F5Lwrite_fraction().