Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
H5Util.h File Reference
#include "MantidDataHandling/DllConfig.h"
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  H5
 
namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::DataHandling
 
namespace  Mantid::DataHandling::H5Util
 

Functions

MANTID_DATAHANDLING_DLL H5::Group Mantid::DataHandling::H5Util::createGroupCanSAS (H5::Group &group, const std::string &name, const std::string &nxtype, const std::string &cstype)
 
MANTID_DATAHANDLING_DLL H5::Group Mantid::DataHandling::H5Util::createGroupCanSAS (H5::H5File &file, const std::string &name, const std::string &nxtype, const std::string &cstype)
 
MANTID_DATAHANDLING_DLL H5::Group Mantid::DataHandling::H5Util::createGroupNXS (H5::Group &group, const std::string &name, const std::string &nxtype)
 
MANTID_DATAHANDLING_DLL H5::Group Mantid::DataHandling::H5Util::createGroupNXS (H5::H5File &file, const std::string &name, const std::string &nxtype)
 
MANTID_DATAHANDLING_DLL H5::DataSpace Mantid::DataHandling::H5Util::getDataSpace (const size_t length)
 H5Util : TODO: DESCRIPTION. More...
 
template<typename NumT >
H5::DataSpace Mantid::DataHandling::H5Util::getDataSpace (const std::vector< NumT > &data)
 Create a 1D data-space that will hold the supplied vector. More...
 
template<typename NumT >
H5::DataType Mantid::DataHandling::H5Util::getType ()
 Convert a primitive type to the appropriate H5::DataType. More...
 
template<typename NumT >
std::vector< NumT > Mantid::DataHandling::H5Util::readArray1DCoerce (H5::DataSet &dataset)
 
template<typename NumT >
std::vector< NumT > Mantid::DataHandling::H5Util::readArray1DCoerce (H5::Group &group, const std::string &name)
 
template<typename LocationType >
std::string Mantid::DataHandling::H5Util::readAttributeAsString (LocationType &dataset, const std::string &attributeName)
 
template<typename NumT , typename LocationType >
std::vector< NumT > Mantid::DataHandling::H5Util::readNumArrayAttributeCoerce (LocationType &location, const std::string &attributeName)
 
template<typename NumT , typename LocationType >
NumT Mantid::DataHandling::H5Util::readNumAttributeCoerce (LocationType &location, const std::string &attributeName)
 
MANTID_DATAHANDLING_DLL std::string Mantid::DataHandling::H5Util::readString (H5::DataSet &dataset)
 
MANTID_DATAHANDLING_DLL std::string Mantid::DataHandling::H5Util::readString (H5::Group &group, const std::string &name)
 
MANTID_DATAHANDLING_DLL std::string Mantid::DataHandling::H5Util::readString (H5::H5File &file, const std::string &path)
 
MANTID_DATAHANDLING_DLL std::vector< std::string > Mantid::DataHandling::H5Util::readStringVector (H5::Group &, const std::string &)
 
MANTID_DATAHANDLING_DLL H5::DSetCreatPropList Mantid::DataHandling::H5Util::setCompressionAttributes (const std::size_t length, const int deflateLevel=6)
 Sets up the chunking and compression rate. More...
 
MANTID_DATAHANDLING_DLL void Mantid::DataHandling::H5Util::write (H5::Group &group, const std::string &name, const std::string &value)
 
template<typename NumT >
void Mantid::DataHandling::H5Util::writeArray1D (H5::Group &group, const std::string &name, const std::vector< NumT > &values)
 
template<typename NumT , typename LocationType >
void Mantid::DataHandling::H5Util::writeNumAttribute (LocationType &location, const std::string &name, const NumT &value)
 
template<typename NumT , typename LocationType >
void Mantid::DataHandling::H5Util::writeNumAttribute (LocationType &location, const std::string &name, const std::vector< NumT > &value)
 
template<typename T >
void Mantid::DataHandling::H5Util::writeScalarDataSetWithStrAttributes (H5::Group &group, const std::string &name, const T &value, const std::map< std::string, std::string > &attributes)
 
template<typename LocationType >
void Mantid::DataHandling::H5Util::writeStrAttribute (LocationType &location, const std::string &name, const std::string &value)