FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
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
15namespace Fiber
16{
17
22struct FiberIOHDF5_API H5Globals : HDF5User
23{
24 typedef std::string string;
25
27 ChartNameMap_t ChartMap;
28
30 ChartTypeMap_t ChartType;
31
33 TypeRegistry_t TypeRegistry;
34
36 Loaders_t H5Loaders;
37
38
40 CreatorBase_t CreatorRegistry;
41
42// typedef std::list<MemCore::WeakPtr<Fiber::HDF5Binder> >
43// BinderRegistry_t;
44// BinderRegistry_t BinderRegistry;
45
47 AttributeNameMap_t AttributeNameF5ToFiber;
48 AttributeNameMap_t AttributeNameFiberToF5;
49
50 hid_t TriangleIJK_Bitfield = 0;
51
53
54 H5Globals();
55 ~H5Globals();
56
57 void cleanup();
58
59 void registerLoader(const MemCore::WeakPtr<Fiber::Slice::Loader>&);
60
65 void initAttributeEncoding();
66
67static H5Globals&theGlobals();
68static int initChartAndNativeTypes();
69
70};
71
72} // namespace Fiber
73
74#endif // __FIBERIO_H5Globals_HPP
basic_string< char > string
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
A data structure to bundle all global static variables into one object with precisely defined constru...
Definition H5Globals.hpp:23