dataset creation property list
#include <dataset_creation.hpp>
◆ DatasetCreationList() [1/2]
hdf5::property::DatasetCreationList::DatasetCreationList |
( |
| ) |
|
◆ ~DatasetCreationList()
hdf5::property::DatasetCreationList::~DatasetCreationList |
( |
| ) |
|
◆ DatasetCreationList() [2/2]
hdf5::property::DatasetCreationList::DatasetCreationList |
( |
ObjectHandle && |
handle | ) |
|
|
explicit |
Construct a new dataset creation property list from an HDF5 handle. This constructor will throw an exception if the handle does not reference a dataset creation property list.
- Exceptions
-
std::runtime_error | in case of a failure |
- Parameters
-
handle | r-value reference to an HDF5 handle |
◆ allocation_time() [1/2]
void hdf5::property::DatasetCreationList::allocation_time |
( |
DatasetAllocTime |
time | ) |
const |
◆ allocation_time() [2/2]
◆ chunk() [1/2]
void hdf5::property::DatasetCreationList::chunk |
( |
const hdf5::Dimensions & |
chunk_dims | ) |
const |
The chunk dimensions must be of same rank as the dataspace used to create the dataset.
- Exceptions
-
std::runtime_error | in case of a failure |
- Parameters
-
chunk_dims | vector with elements along each chunk dimension |
- See also
- chunk()
◆ chunk() [2/2]
- Exceptions
-
std::runtime_error | in case of a failure |
- Returns
- an instance of hdf5::Dimensions with the number of elements along each chunk dimension
◆ fill_time() [1/2]
void hdf5::property::DatasetCreationList::fill_time |
( |
DatasetFillTime |
time | ) |
const |
◆ fill_time() [2/2]
◆ fill_value() [1/2]
By default the library tries to deduce the appropriate HDF5 data type automatically. This will succeed if
T is a native type already implemented in the library the user has provided an appropriate type trait to construct an HDF5 datatype for T
Optionally, an HDF5 data type can be passed as a second argument to this member function. T must not necessarily be the same type used to create the dataset however, the two types must be convertible.
- Exceptions
-
std::runtime_error | in case of a failure |
- Parameters
-
value | the actual fill value |
type | an optional HDF5 data type |
- Template Parameters
-
T | the type of the fill value |
- See also
- fill_value(const datatype::Datatype &type)
◆ fill_value() [2/2]
Get the fill value for a dataset stored in the property list as an instance of T. T must not necessarily be of the same type as the data type used t
- Template Parameters
-
T | requrested type for the fill value |
- Parameters
-
type | optional HDF5 data type |
◆ fill_value_status()
◆ layout() [1/2]
void hdf5::property::DatasetCreationList::layout |
( |
DatasetLayout |
layout | ) |
const |
- Exceptions
-
std::runtime_error | in case of failures |
- Parameters
-
layout | required dataset layout |
- See also
- layout()
◆ layout() [2/2]
DatasetLayout hdf5::property::DatasetCreationList::layout |
( |
| ) |
const |
- Exceptions
-
std::runtime_error | in case of failures |
- Returns
- new instance of DatasetLayout
- See also
- layout(DatasetLayout layout)
-
DatasetLayout
The documentation for this class was generated from the following file: