45 Default = H5D_FILL_VALUE_DEFAULT,
55 IfSet = H5D_FILL_TIME_IFSET,
56 Alloc = H5D_FILL_TIME_ALLOC,
57 Never = H5D_FILL_TIME_NEVER
73 Default = H5D_ALLOC_TIME_DEFAULT,
78 Early = H5D_ALLOC_TIME_EARLY,
83 Incr = H5D_ALLOC_TIME_INCR,
88 Late = H5D_ALLOC_TIME_LATE
100 #if (defined(_DOXYGEN_) || H5_VERSION_GE(1,10,0))
190 void fill_value(
const T &value,
238 if (H5Pset_fill_value(
static_cast<hid_t
>(*
this),
239 static_cast<hid_t
>(type), &value) < 0) {
247 if (H5Pget_fill_value(
static_cast<hid_t
>(*
this),
static_cast<hid_t
>(type), &value) < 0) {
Wrapper for hid_t object identifiers.
Definition: object_handle.hpp:67
base class for all data types
Definition: datatype.hpp:42
trait to create HDF5 datatypes
Definition: type_trait.hpp:53
static Singleton & instance()
reference to singleton
Definition: error.hpp:59
void throw_with_stack(const std::string &message)
throws an exception, potentially nested with error stack
dataset creation property list
Definition: dataset_creation.hpp:111
DatasetCreationList()
default constructor
void fill_value(const T &value, const datatype::Datatype &type=datatype::TypeTrait< T >::create()) const
set fill value for a dataset
Definition: dataset_creation.hpp:237
void allocation_time(DatasetAllocTime time) const
set allocation time
void layout(DatasetLayout layout) const
set dataset layout
void chunk(const hdf5::Dimensions &chunk_dims) const
set chunk dimensions
DatasetFillValueStatus fill_value_status() const
void fill_time(DatasetFillTime time) const
set fill time
DatasetCreationList(ObjectHandle &&handle)
constructor
DatasetCreationList(const DatasetCreationList &)=default
DatasetLayout layout() const
get dataset layout
DatasetAllocTime allocation_time() const
get allocation time
hdf5::Dimensions chunk() const
get chunk dimensions
~DatasetCreationList() override
destructor
unsigned int nfilters() const
get a number of filters
DatasetFillTime fill_time() const
get fill time
Definition: object_creation.hpp:36
DatasetFillTime
enumeration for the fill time of a dataset
Definition: dataset_creation.hpp:54
DatasetFillValueStatus
enumeration for the fill value status
Definition: dataset_creation.hpp:43
std::ostream & operator<<(std::ostream &stream, const VirtualDataView &view)
DatasetAllocTime
enumeration for the dataset allocation time
Definition: dataset_creation.hpp:69
@ Early
all space is allocated when the dataset is created
@ Default
choose the default allocation strategy for the particular layout
@ Incr
space is allocated as data is written to the file
@ Late
all space is allocated at the first write to the dataset
DatasetLayout
enumeration describing the layout of a dataset
Definition: dataset_creation.hpp:96
@ Virtual
(since hdf5 1.10.0)
top-level namespace of the entire library
Definition: attribute.hpp:45
std::vector< hsize_t > Dimensions
Definition: types.hpp:32
#define DLL_EXPORT
Definition: windows.hpp:29