FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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< string > ChartNameMap_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 H5GlobalstheGlobals ()
 
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.

References std::map< typename _Key, typename _Tp, typename _Compare, typename _Alloc >::clear(), and std::map< typename _Key, typename _Tp, typename _Compare, typename _Alloc >::insert().

◆ 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(), and size().

Referenced by Fiber::FiberIOHDF5init().