Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::H5Globals Struct Reference

A data structure to bundle all global static variables into one object with precisely defined construction/destruction order. More...

#include <H5Globals.hpp>

Inheritance diagram for Fiber::H5Globals:

Public Types

typedef std::string string
typedef MemCore::typemap< stringChartNameMap_t
typedef std::map< string, MemCore::TypeInfoChartTypeMap_t
using TypeRegistry_t = Fiber::FiberTypeMap<H5DataType>
typedef std::list< MemCore::WeakPtr< Fiber::Slice::Loader > > Loaders_t
typedef std::list< MemCore::WeakPtr< MemCore::Creator< Fiber::MemBase, Fiber::CreativeArrayBase > > > CreatorBase_t
typedef std::map< std::string, std::string > AttributeNameMap_t

Public Member Functions

void cleanup ()
void registerLoader (const MemCore::WeakPtr< Fiber::Slice::Loader > &)
void initAttributeEncoding ()
 Initialize function to setup Fiber attribute to and from F5 attribute name mapping.

Static Public Member Functions

static H5Globals & theGlobals ()
static int initChartAndNativeTypes ()

Public Attributes

ChartNameMap_t ChartMap
ChartTypeMap_t ChartType
TypeRegistry_t TypeRegistry
Loaders_t H5Loaders
CreatorBase_t CreatorRegistry
AttributeNameMap_t AttributeNameF5ToFiber
AttributeNameMap_t AttributeNameFiberToF5
hid_t TriangleIJK_Bitfield = 0
Terminator< HDF5BinderArnold

Detailed Description

A data structure to bundle all global static variables into one object with precisely defined construction/destruction order.

Member Function Documentation

◆ initAttributeEncoding()

void Fiber::H5Globals::initAttributeEncoding ( )

Initialize function to setup Fiber attribute to and from F5 attribute name mapping.

To be called only once.

Referenced by Fiber::FiberIOHDF5init().

◆ initChartAndNativeTypes()

int Fiber::H5Globals::initChartAndNativeTypes ( )
static

HDF5TypeAction<unsigned long> ::registerHID( H5T_NATIVE_ULONG ); HDF5TypeAction<unsigned short>::registerHID( H5T_NATIVE_USHORT ); HDF5TypeAction<unsigned int> ::registerHID( H5T_NATIVE_UINT );

References Fiber::FiberType< T >::getFiberType(), Eagle::MetaInfo< T >::MULTIPLICITY, and std::size().

Referenced by Fiber::FiberIOHDF5init().