35 void extend(
const hsize_t* size)
const;
38 void fillMemBuf(
const void *fill,
const DataType& fill_type,
void *buf,
const DataType& buf_type,
const DataSpace& space)
const;
42 void fillMemBuf(
void *buf,
const DataType& buf_type,
const DataSpace& space)
const;
52 haddr_t getOffset()
const;
58 void getSpaceStatus(H5D_space_status_t& status)
const;
61 virtual hsize_t getStorageSize()
const;
64 virtual size_t getInMemDataSize()
const;
87 int iterateElems(
void* buf,
const DataType& type,
const DataSpace& space, H5D_operator_t op,
void* op_data = NULL);
90 virtual H5std_string
fromClass ()
const {
return(
"DataSet"); }
103 DataSet(
const hid_t existing_id);
106 virtual hid_t getId()
const;
112 #ifndef DOXYGEN_SHOULD_SKIP_THIS
114 virtual void p_setId(
const hid_t new_id);
115 #endif // DOXYGEN_SHOULD_SKIP_THIS
124 virtual hid_t p_get_type()
const;
127 void p_read_fixed_len(
const hid_t mem_type_id,
const hid_t mem_space_id,
const hid_t file_space_id,
const hid_t xfer_plist_id, H5std_string& strg)
const;
128 void p_read_variable_len(
const hid_t mem_type_id,
const hid_t mem_space_id,
const hid_t file_space_id,
const hid_t xfer_plist_id, H5std_string& strg)
const;
131 friend void f_DataSet_setId(
DataSet* dset, hid_t new_id);
136 #endif // __H5DataSet_H
virtual hid_t getId() const
Get the id of this dataspace.
Definition: H5DataSpace.cpp:625
void getSpaceStatus(H5D_space_status_t &status) const
Determines whether space has been allocated for a dataset.
Definition: H5DataSet.cpp:302
Exception provides wrappers of HDF5 error handling functions.
Definition: H5Exception.h:32
virtual hid_t getId() const
Get the id of this datatype.
Definition: H5DataType.cpp:898
static void vlenReclaim(const DataType &type, const DataSpace &space, const DSetMemXferPropList &xfer_plist, void *buf)
Reclaims VL datatype memory buffers.
Definition: H5DataSet.cpp:365
Class DSetCreatPropList inherits from ObjCreatPropList and provides wrappers for the HDF5 dataset cre...
Definition: H5DcreatProp.h:29
void write(const void *buf, const DataType &mem_type, const DataSpace &mem_space=DataSpace::ALL, const DataSpace &file_space=DataSpace::ALL, const DSetMemXferPropList &xfer_plist=DSetMemXferPropList::DEFAULT) const
Writes raw data from an application buffer to a dataset.
Definition: H5DataSet.cpp:498
DataSet()
Default constructor: creates a stub DataSet.
Definition: H5DataSet.cpp:51
void incRefCount() const
Increment reference counter for the id of this object.
Definition: H5IdComponent.cpp:53
void read(void *buf, const DataType &mem_type, const DataSpace &mem_space=DataSpace::ALL, const DataSpace &file_space=DataSpace::ALL, const DSetMemXferPropList &xfer_plist=DSetMemXferPropList::DEFAULT) const
Reads raw data from the specified dataset.
Definition: H5DataSet.cpp:422
virtual size_t getInMemDataSize() const
Gets the size in memory of the dataset's data.
Definition: H5DataSet.cpp:218
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:28
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:25
DSetCreatPropList getCreatePlist() const
Gets the dataset creation property list.
Definition: H5DataSet.cpp:161
virtual hsize_t getStorageSize() const
Returns the amount of storage required for a dataset.
Definition: H5DataSet.cpp:205
virtual ~DataSet()
Properly terminates access to this dataset.
Definition: H5DataSet.cpp:850
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:29
virtual hid_t getId() const
Get the id of this attribute.
Definition: H5Attribute.cpp:483
void extend(const hsize_t *size) const
Extends a dataset with unlimited dimension.
Definition: H5DataSet.cpp:601
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSet.h:90
haddr_t getOffset() const
Returns the address of this dataset in the file.
Definition: H5DataSet.cpp:283
virtual hid_t getId() const
Get the id of this dataset.
Definition: H5DataSet.cpp:704
H5std_string getDetailMsg() const
Returns the detailed message set at the time the exception is thrown.
Definition: H5Exception.cpp:256
Class DSetCreatPropList inherits from PropList and provides wrappers for the HDF5 dataset memory and ...
Definition: H5DxferProp.h:25
AbstractDs is an abstract base class, inherited by Attribute and DataSet.
Definition: H5AbstractDs.h:36
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:28
static const DSetMemXferPropList & DEFAULT
Default dataset memory and transfer property list.
Definition: H5DxferProp.h:28
int iterateElems(void *buf, const DataType &type, const DataSpace &space, H5D_operator_t op, void *op_data=NULL)
Iterates over all selected elements in a dataspace.
Definition: H5DataSet.cpp:577
virtual hid_t getId() const
Get the id of this property list.
Definition: H5PropList.cpp:292
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:55
static const DataSpace & ALL
Default DataSpace objects.
Definition: H5DataSpace.h:28
Definition: H5AbstractDs.cpp:34
Class DSetAccPropList inherits from LinkAccPropList and provides wrappers for the HDF5 dataset access...
Definition: H5DaccProp.h:25
virtual DataSpace getSpace() const
Gets a copy of the dataspace of this dataset.
Definition: H5DataSet.cpp:124
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:28
DSetAccPropList getAccessPlist() const
Gets the dataset access property list.
Definition: H5DataSet.cpp:182
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:31
void fillMemBuf(const void *fill, const DataType &fill_type, void *buf, const DataType &buf_type, const DataSpace &space) const
Fills a selection in memory with a value.
Definition: H5DataSet.cpp:619
virtual void close()
Closes this dataset.
Definition: H5DataSet.cpp:826
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:25
hsize_t getVlenBufSize(const DataType &type, const DataSpace &space) const
Returns the number of bytes required to store VL data.
Definition: H5DataSet.cpp:320
Definition: H5Exception.h:137
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
and the Board of Trustees of the University of Illinois
|