WxHdf5Io is the interface for the HDF5 implementation of HDF5.
|
| WxHdf5Io (MPI_Comm mc, MPI_Info mi) |
| Constructor creates the individual templated writers.
|
|
| WxHdf5Io (const std::string &bn, int d, MPI_Comm mc, MPI_Info mi) |
| Constructor creates the individual templated writers.
|
|
virtual | ~WxHdf5Io () |
| Virtual destructor.
|
|
virtual WxIoNodeType | createFile (const std::string &fileName) |
| Create a file.
|
|
virtual WxIoNodeType | openFile (const std::string &fileName, const std::string &perms) |
| Open a file.
|
|
virtual WxIoNodeType | createGroup (WxIoNodeType node, const std::string &dataName) const |
| Create an empty group.
|
|
virtual WxIoNodeType | openGroup (WxIoNodeType node, const std::string &dataName) const |
| Open a group.
|
|
virtual std::list< std::string > | getGroupNames (WxIoNodeType parentNode) const |
| Get list of group names under the supplied node.
|
|
virtual WxIoNodeType | createDataSet (WxIoNodeType node, const std::string &name, const WxRange &range, const std::type_info &typeinfo) const |
| Collective dataset allocation.
|
|
virtual WxIoNodeType | createDataSet (WxIoNodeType node, const std::string &dataName) const |
| Create an empty node.
|
|
virtual WxIoNodeType | openDataSet (WxIoNodeType node, const std::string &dataName) const |
| Open a node.
|
|
virtual void | closeFile (WxIoNodeType fileNode) |
| Get the top node = file node.
|
|
virtual void | closeNode (WxIoNodeType node) const |
| Close a data set.
|
|
void | writeStrAttribute (WxIoNodeType node, const std::string &attribName, const std::string &attrib) const |
| Write a string attribute.
|
|
void | writeStrVecAttribute (WxIoNodeType node, const std::string &attribName, const std::vector< std::string > &stringsvector) const |
| Write a vector of strings as attribute.
|
|
void | readStrAttribute (WxIoNodeType node, const std::string &attribName, std::string &attrib) const |
| Read a string attribute.
|
|
std::vector< std::string > | readStrVecAttribute (WxIoNodeType node, const std::string &attribName) const |
| Read a vector of strings attribute.
|
|
virtual | ~WxIoBase () |
| Virtual destructor.
|
|
void | setBaseName (const std::string &bn) |
| Set the base name.
|
|
std::string | getBaseName () |
| Get the base name.
|
|
void | setDumpNo (int d) |
| Set the dump number.
|
|
int | getDumpNo () |
| Get the dump number.
|
|
virtual WxIoNodeType | createFile (const std::string &fileName)=0 |
| Create a file.
|
|
virtual WxIoNodeType | createDumpFile (const std::string &dataName) |
| Create a file with base name prepended and dump and suffix appended.
|
|
virtual WxIoNodeType | openFile (const std::string &fileName, const std::string &perms)=0 |
| Open a file.
|
|
virtual WxIoNodeType | openDumpFile (const std::string &dataName, const std::string &perms) |
| Open a file with the base name prepended and the dump and suffix appended.
|
|
virtual void | closeFile (WxIoNodeType fileNode)=0 |
| Close a file node.
|
|
virtual std::string | getDumpFileName (const std::string &dataName) |
| Get the dump name for a given data name.
|
|
virtual WxIoNodeType | createGroup (WxIoNodeType node, const std::string &dataName) const =0 |
| Create an empty group.
|
|
virtual WxIoNodeType | openGroup (WxIoNodeType node, const std::string &dataName) const =0 |
| Open a group.
|
|
virtual std::list< std::string > | getGroupNames (WxIoNodeType node) const =0 |
| Get list of group names under the supplied node.
|
|
virtual WxIoNodeType | createDataSet (WxIoNodeType node, const std::string &name, const WxRange &range, const std::type_info &typeinfo) const =0 |
| Collective dataset allocation.
|
|
virtual WxIoNodeType | createDataSet (WxIoNodeType node, const std::string &dataName) const =0 |
| Create an empty node.
|
|
virtual WxIoNodeType | openDataSet (WxIoNodeType node, const std::string &dataName) const =0 |
| Open a node.
|
|
template<typename T > |
WxIoNodeType | writeDataSet (WxIoNodeType node, const std::string &dataName, const std::vector< std::pair< int, int > > &fileSpaceCorners, const std::vector< std::pair< int, int > > &memorySpaceCorners, const std::vector< std::pair< int, int > > &writeSelectionCorners, const T *data) const |
| Write a new data set under a node.
|
|
template<typename T > |
void | writeToDataSet (WxIoNodeType node, const WxRange &memoryRange, const WxRange &memorySubRange, const WxRange &fileRange, const WxRange &fileSubRange, const T *data) const |
| Write to an open dataset (independent)
|
|
template<typename T > |
WxIoNodeType | readDataSet (WxIoNodeType node, const std::string &dataName, const std::vector< std::pair< int, int > > &memorySpaceCorners, const std::vector< std::pair< int, int > > &readSelectionCorners, T *data) const |
| Read a new data set under a node.
|
|
template<typename T > |
void | readFromDataSet (WxIoNodeType node, const WxRange &memoryRange, const WxRange &memorySubRange, const WxRange &fileRange, const WxRange &fileSubRange, T *data) const |
| Read from an open dataset (independent)
|
|
WxIoNodeType | getDataShape (WxIoNodeType node, const std::string &dataSetName, WxRange &dataShape) const |
| Obtain simple data shape for a data set under a node.
|
|
virtual void | closeNode (WxIoNodeType node) const =0 |
| Close a data set.
|
|
template<typename T > |
void | writeAttribute (WxIoNodeType node, const std::string &attribName, const T *attrib) |
| Write an attribute.
|
|
template<typename T > |
void | writeVecAttribute (WxIoNodeType node, const std::string &attribName, const std::vector< T > &attrib) |
| Write an attribute (vector).
|
|
template<typename T > |
void | writeVecAttribute (WxIoNodeType node, const std::string &attribName, const T *attribStorage, int count) |
| Write a vector of attributes.
|
|
virtual void | writeStrAttribute (WxIoNodeType node, const std::string &attribName, const std::string &attrib) const =0 |
| Write a string attribute.
|
|
virtual void | writeStrVecAttribute (WxIoNodeType node, const std::string &attribName, const std::vector< std::string > &stringsvector) const =0 |
| Write a vector of strings as attribute.
|
|
virtual void | readStrAttribute (WxIoNodeType node, const std::string &attribName, std::string &attrib) const =0 |
| Read a string attribute.
|
|
virtual std::vector< std::string > | readStrVecAttribute (WxIoNodeType node, const std::string &attribName) const =0 |
| Read a vector of strings attribute.
|
|
template<typename T > |
void | readAttribute (WxIoNodeType node, const std::string &attribName, T *attrib) |
| Read an attribute.
|
|
template<typename T > |
int | readVecAttribute (WxIoNodeType node, const std::string &attribName, T *attribStorage, int count) |
| Read a vector attribute.
|
|