H5MXAUtilities Class Reference

Utility methods that combine hdf5 functions with MXA objects. More...

List of all members.

Public Member Functions

virtual ~H5MXAUtilities ()

Static Public Member Functions

static MXA_EXPORT std::string generateH5PathToDataset (IDataModel::Pointer model, std::vector< int32 > &indices, IDataRecord::Pointer record)
 Creates an absolute path suitable for create an HDF5 data set.
static MXA_EXPORT IMXAArray::Pointer readData (IDataFile::Pointer dataFile, const std::string &datasetPath)
 Reads a dataset from an HDF5 data file into a newly allocated MXAAbstractData derived object.
static MXA_EXPORT IMXAArray::Pointer readAttribute (IDataFile::Pointer dataFile, const std::string &datasetPath, const std::string &attributeKey)
 Reads an attribute from an HDF5 data file into a newly allocated MXAAbstractAttribute derived object.

Protected Member Functions

 H5MXAUtilities ()

Private Member Functions

 H5MXAUtilities (const H5MXAUtilities &)
void operator= (const H5MXAUtilities &)


Detailed Description

Utility methods that combine hdf5 functions with MXA objects.

Author:
Mike Jackson
Date:
July 2008
Version:
Revision
1.2


Constructor & Destructor Documentation

virtual H5MXAUtilities::~H5MXAUtilities (  )  [virtual]

H5MXAUtilities::H5MXAUtilities (  )  [inline, protected]

H5MXAUtilities::H5MXAUtilities ( const H5MXAUtilities  )  [private]


Member Function Documentation

std::string H5MXAUtilities::generateH5PathToDataset ( IDataModel::Pointer  model,
std::vector< int32 > &  indices,
IDataRecord::Pointer  record 
) [static]

Creates an absolute path suitable for create an HDF5 data set.

Parameters:
model The data model to use
indices The indices to use for the Data dimensions
record The MXADataRecord to generate the path to
Returns:
The hdf5 path

IMXAArray::Pointer H5MXAUtilities::readData ( IDataFile::Pointer  dataFile,
const std::string &  datasetPath 
) [static]

Reads a dataset from an HDF5 data file into a newly allocated MXAAbstractData derived object.

Parameters:
dataFile The IDataFile object to read from
datasetPath The internal HDF5 path to the data, relative to the root of the data file
Returns:

IMXAArray::Pointer H5MXAUtilities::readAttribute ( IDataFile::Pointer  dataFile,
const std::string &  datasetPath,
const std::string &  attributeKey 
) [static]

Reads an attribute from an HDF5 data file into a newly allocated MXAAbstractAttribute derived object.

Parameters:
dataFile The IDataFile object to read from
datasetPath The internal HDF5 path to the data, relative to the root of the data file
attributeKey The name of the attribute to read
Returns:

void H5MXAUtilities::operator= ( const H5MXAUtilities  )  [private]


The documentation for this class was generated from the following files:
Generated on Tue Nov 17 18:43:12 2009 for MXADataModel by  doxygen 1.5.2