FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5Path.c
Go to the documentation of this file.
1#include "F5Path.h"
2#include <string.h>
3#include <stdlib.h>
4
5F5Path*newF5Path(hid_t File_id)
6{
7 /* Create an empty F5Path structure */
8F5Path*f = (F5Path*)malloc(sizeof(F5Path));
9 memset (f, 0, sizeof (F5Path)); /* clear all pointers and flags */
10
11 f->File_hid = File_id;
12 H5Iinc_ref( f->File_hid );
13
14 return f;
15}
16
17
19{
20 if (f)
21 {
22 H5Idec_ref( f->File_hid );
23 free(f);
24 }
25}
free(name)
F5Path * newF5Path(hid_t File_id)
Definition F5Path.c:5
void deleteF5Path(F5Path *f)
Definition F5Path.c:18
hid_t File_hid
Definition F5Path.h:50