FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Fiber::FiberIO::HDF5::HDF5Saver< Attributes > Struct Reference

Class to store attributes collected in an fiber/field/Attributes container to an HDF5 location. More...

#include <HDF5Attributes.hpp>

Public Member Functions

 HDF5Saver (hid_t location, const Attributes &theOverrideAttributes, const AttributeSet_t &theDontSaveAttributeSet)
 
std::string toString () const
 Stores the attributes in the file at the given location.
 
bool saveAttribute (const std::string &attribute_name, const MemCore::RefPtr< MemCore::ChunkBase > &chunk) const
 
int save (const MemCore::Attributes &, hid_t location)
 

Static Public Member Functions

static std::string encodeF5 (const std::string &vish_name)
 Get the F5 attribute name from the Fiber attribute name.
 
static std::string decodeF5 (const std::string &f5_name)
 Get the Fiber attribute name from the F5 attribute name.
 

Public Attributes

hid_t m_location
 
const AttributesOverrideAttributes
 Allow to override the value of certain attributes when saving.
 
AttributeSet_t DontSaveAttributeSet
 

Detailed Description

Class to store attributes collected in an fiber/field/Attributes container to an HDF5 location.

The mapping of names from Fiber attributes to and from F5 attributes is defined in H5Globals.cpp.

Author
: marcel, werner

Member Function Documentation

◆ toString()

string Fiber::FiberIO::HDF5::HDF5Saver< Attributes >::toString ( ) const

Stores the attributes in the file at the given location.

Converts the known attribute conversion names into a readable string. The mapping is defined in H5Globals.cpp.

References MemCore::to_string().