FiberVISH
0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
fiber
FiberIO
HDF5
H5Globals.hpp
1
#ifndef __FIBERIO_H5Globals_HPP
2
#define __FIBERIO_H5Globals_HPP
3
4
#include <field/FiberType.hpp>
5
#include <field/FiberTypeMap.hpp>
6
#include <bundle/Slice.hpp>
7
8
#include "HDF5Binder.hpp"
9
#include "H++/H5DataType.hpp"
10
11
12
#include <
string
>
13
#include <hdf5.h>
14
15
namespace
Fiber
16
{
17
22
struct
FiberIOHDF5_API
H5Globals
: HDF5User
23
{
24
typedef
std::string
string;
25
26
typedef
MemCore::typemap<string>
ChartNameMap_t
;
27
ChartNameMap_t
ChartMap;
28
29
typedef
std::map<string, MemCore::TypeInfo>
ChartTypeMap_t
;
30
ChartTypeMap_t
ChartType;
31
32
using
TypeRegistry_t
=
Fiber::FiberTypeMap<H5DataType>
;
33
TypeRegistry_t
TypeRegistry;
34
35
typedef
std::list<MemCore::WeakPtr<Fiber::Slice::Loader>
>
Loaders_t
;
36
Loaders_t
H5Loaders;
37
38
39
typedef
std::list<MemCore::WeakPtr<MemCore::Creator<Fiber::MemBase, Fiber::CreativeArrayBase>
> >
CreatorBase_t
;
40
CreatorBase_t
CreatorRegistry;
41
42
// typedef std::list<MemCore::WeakPtr<Fiber::HDF5Binder> >
43
// BinderRegistry_t;
44
// BinderRegistry_t BinderRegistry;
45
46
typedef
std::map<std::string, std::string>
AttributeNameMap_t
;
47
AttributeNameMap_t
AttributeNameF5ToFiber;
48
AttributeNameMap_t
AttributeNameFiberToF5;
49
50
hid_t
TriangleIJK_Bitfield = 0;
51
52
Terminator<HDF5Binder>
Arnold;
53
54
H5Globals
();
55
~H5Globals
();
56
57
void
cleanup();
58
59
void
registerLoader(
const
MemCore::WeakPtr<Fiber::Slice::Loader>
&);
60
65
void
initAttributeEncoding();
66
67
static
H5Globals
&theGlobals();
68
static
int
initChartAndNativeTypes();
69
70
};
71
72
}
// namespace Fiber
73
74
#endif
// __FIBERIO_H5Globals_HPP
string
std::string
basic_string< char > string
std::list
std::map
Fiber::CreativeIterator
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition
CreativeIterator.hpp:34
MemCore::WeakPtr
MemCore::typemap
Fiber
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition
FAQ.dox:2
Fiber::FiberTypeMap< H5DataType >
Fiber::H5Globals
A data structure to bundle all global static variables into one object with precisely defined constru...
Definition
H5Globals.hpp:23
Generated on Sun Mar 1 2026 10:23:03 for FiberVISH by
1.9.8