FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5Path.c File Reference
#include "F5Path.h"
#include <string.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

F5PathnewF5Path (hid_t File_id)
void deleteF5Path (F5Path *f)

Function Documentation

◆ deleteF5Path()

void deleteF5Path ( F5Path * f)

Definition at line 18 of file F5Path.c.

19{
20 if (f)
21 {
22 H5Idec_ref( f->File_hid );
23 free(f);
24 }
25}
free(name)
hid_t File_hid
Definition F5Path.h:50

References F5Path::File_hid, and free().

Referenced by F5Bopen_coordinate_domain(), F5close(), and F5LTcreateV().

◆ newF5Path()

F5Path * newF5Path ( hid_t File_id)

Definition at line 5 of file F5Path.c.

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}

References F5Path::File_hid.

Referenced by F5Bopen_coordinate_domain(), and F5LTcreateV().