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
5
F5Path
*
newF5Path
(hid_t File_id)
6
{
7
/* Create an empty F5Path structure */
8
F5Path
*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
18
void
deleteF5Path
(
F5Path
*f)
19
{
20
if
(f)
21
{
22
H5Idec_ref( f->
File_hid
);
23
free
(f);
24
}
25
}
free
free(name)
newF5Path
F5Path * newF5Path(hid_t File_id)
Definition
F5Path.c:5
deleteF5Path
void deleteF5Path(F5Path *f)
Definition
F5Path.c:18
F5Path.h
F5Path
Definition
F5Path.h:31
F5Path::File_hid
hid_t File_hid
Definition
F5Path.h:50
F5Path.c
Generated on
for FiberBundleHDF5 by
1.16.1