109 const std::string& dataName,
110 const std::vector<std::pair<int, int>>& fileSpaceCorners,
111 const std::vector<std::pair<int, int>>& memorySpaceCorners,
112 const std::vector<std::pair<int, int>>& writeSelectionCorners,
150 const std::string& dataName,
151 const std::vector<std::pair<int, int>>& memorySpaceCorners,
152 const std::vector<std::pair<int, int>>& readSelectionCorners,
187 const std::string& dataSetName,
199 const std::string& attribName,
212 const std::string& attribName,
226 const std::string& attribName,
242 const std::string& attribName,
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:24
WxHdf5IoTmpl does the reading and writing to HDF5 files for a given data type.
Definition: wxhdf5iotmpl.h:78
virtual WxIoNodeType readDataSet(WxIoNodeType node, const std::string &dataName, const std::vector< std::pair< int, int > > &memorySpaceCorners, const std::vector< std::pair< int, int > > &readSelectionCorners, WmOpaquePtr &data) const
Read a data set under a node.
virtual 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 WmConstOpaquePtr &data) const
Write a new data set under a node.
WxHdf5IoTmpl()
Constructor.
virtual void writeToDataSet(WxIoNodeType node, const WxRange &memoryRange, const WxRange &memorySubRange, const WxRange &fileRange, const WxRange &fileSubRange, const WmConstOpaquePtr &data) const
Write to an open dataset (independent)
virtual int readVecAttribute(WxIoNodeType node, const std::string &attribName, WmOpaquePtr &attribStorage, int count) const
Read a vector attribute.
virtual WxIoNodeType getDataShape(WxIoNodeType node, const std::string &dataSetName, WxRange &dataShape) const
Obtain simple data shape for a data set under a node.
virtual void readAttribute(WxIoNodeType node, const std::string &attribName, WmOpaquePtr &attrib) const
Read an attribute.
static const int max_dims
Max rank dataset that needs to be represented.
Definition: wxhdf5iotmpl.h:249
virtual ~WxHdf5IoTmpl()
Virtual destructor.
virtual void readFromDataSet(WxIoNodeType node, const WxRange &memoryRange, const WxRange &memorySubRange, const WxRange &fileRange, const WxRange &fileSubRange, WmOpaquePtr &data) const
Read from an open dataset (independent)
virtual void writeVecAttribute(WxIoNodeType node, const std::string &attribName, const WmConstOpaquePtr &attrib, int count) const
Write a vector attribute.
virtual void writeAttribute(WxIoNodeType node, const std::string &attribName, const WmConstOpaquePtr &attrib) const
Write an attribute.
WxIoTmpl is the base class for access to a hierarchical file system with groups, data sets,...
Definition: wxiotmpl.h:57
WxRange represents a hyper-rectangular domain of an n-dimensional space of integers.
Definition: wxrange.h:23
HDF5 specific i/o node wrapper.
Definition: wxhdf5iotmpl.h:24
std::vector< WxHdf5NodeTypev * > children
This node's list of children.
Definition: wxhdf5iotmpl.h:68
int nodeType
This node's type.
Definition: wxhdf5iotmpl.h:70
WxHdf5NodeTypev * parent
This node's parent node.
Definition: wxhdf5iotmpl.h:66
bool operator==(const WxIoNodeTypev &v)
Comparison operator.
Definition: wxhdf5iotmpl.h:58
void setNodeType(unsigned type)
Sets the type of this node.
Definition: wxhdf5iotmpl.h:47
virtual ~WxHdf5NodeTypev()
Destructor.
WxHdf5NodeTypev(hid_t node=0, WxHdf5NodeTypev *parent=0)
The constructor.
Definition: wxhdf5iotmpl.h:32
hid_t node
This node's node number.
Definition: wxhdf5iotmpl.h:64
Provides a means for derived messengers to return implimentation specific message status flags and da...
Definition: wxiotmpl.h:23