14 #ifndef H5DSCreatPropList_H
15 #define H5DSCreatPropList_H
38 bool allFiltersAvail()
const;
41 H5D_alloc_time_t getAllocTime()
const;
44 void setAllocTime(H5D_alloc_time_t alloc_time)
const;
47 int getChunk(
int max_ndims, hsize_t *dim)
const;
50 void setChunk(
int ndims,
const hsize_t *dim)
const;
53 void getExternal(
unsigned idx,
size_t name_size,
char *name, off_t &offset, hsize_t &size)
const;
56 int getExternalCount()
const;
59 H5D_fill_time_t getFillTime()
const;
62 void setFillTime(H5D_fill_time_t fill_time)
const;
65 void getFillValue(
const DataType &fvalue_type,
void *value)
const;
68 void setFillValue(
const DataType &fvalue_type,
const void *value)
const;
71 H5Z_filter_t getFilter(
int filter_number,
unsigned int &flags,
size_t &cd_nelmts,
unsigned int *cd_values,
72 size_t namelen,
char name[],
unsigned int &filter_config)
const;
75 void getFilterById(H5Z_filter_t filter_id,
unsigned int &flags,
size_t &cd_nelmts,
76 unsigned int *cd_values,
size_t namelen,
char name[],
77 unsigned int &filter_config)
const;
81 H5D_layout_t getLayout()
const;
85 void setLayout(H5D_layout_t layout)
const;
88 int getNfilters()
const;
91 H5D_fill_value_t isFillValueDefined()
const;
94 void modifyFilter(H5Z_filter_t filter_id,
unsigned int flags,
size_t cd_nelmts,
95 const unsigned int cd_values[])
const;
98 void removeFilter(H5Z_filter_t filter_id)
const;
101 void setDeflate(
int level)
const;
104 void setExternal(
const char *name, off_t offset, hsize_t size)
const;
107 void setFilter(H5Z_filter_t filter,
unsigned int flags = 0,
size_t cd_nelmts = 0,
108 const unsigned int cd_values[] = NULL)
const;
111 void setFletcher32()
const;
114 void setShuffle()
const;
117 void setSzip(
unsigned int options_mask,
unsigned int pixels_per_block)
const;
120 void setNbit()
const;
123 void setVirtual(
const DataSpace &vspace,
const char *src_fname,
const char *src_dsname,
125 void setVirtual(
const DataSpace &vspace,
const H5std_string src_fname,
const H5std_string src_dsname,
132 return (
"DSetCreatPropList");
145 #ifndef DOXYGEN_SHOULD_SKIP_THIS
148 static void deleteConstants();
156 #endif // DOXYGEN_SHOULD_SKIP_THIS
161 #endif // H5DSCreatPropList_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DcreatProp.h:130
virtual hid_t getId() const
Get the id of this datatype.
Definition: H5DataType.cpp:900
DSetCreatPropList()
Default constructor: creates a stub dataset creation property list.
Definition: H5DcreatProp.cpp:96
Definition: H5Exception.h:123
int getChunk(int max_ndims, hsize_t *dim) const
Retrieves the size of the chunks used to store a chunked layout dataset.
Definition: H5DcreatProp.cpp:154
Class DSetCreatPropList inherits from ObjCreatPropList and provides wrappers for the HDF5 dataset cre...
Definition: H5DcreatProp.h:28
void setLayout(H5D_layout_t layout) const
Sets the type of storage used store the raw data for a dataset.
Definition: H5DcreatProp.cpp:174
int getExternalCount() const
Returns the number of external files for a dataset.
Definition: H5DcreatProp.cpp:688
void modifyFilter(H5Z_filter_t filter_id, unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[]) const
Modifies the specified filter.
Definition: H5DcreatProp.cpp:496
void setAllocTime(H5D_alloc_time_t alloc_time) const
Sets space allocation time for dataset during creation.
Definition: H5DcreatProp.cpp:611
void setExternal(const char *name, off_t offset, hsize_t size) const
Adds an external file to the list of external files.
Definition: H5DcreatProp.cpp:672
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:24
virtual ~DSetCreatPropList()
Noop destructor.
Definition: H5DcreatProp.cpp:788
virtual hid_t getId() const H5_OVERRIDE
Get the id of this dataspace.
Definition: H5DataSpace.cpp:620
void setFillTime(H5D_fill_time_t fill_time) const
Sets fill value writing time for dataset.
Definition: H5DcreatProp.cpp:631
void setNbit() const
Sets up for the use of the Nbit compression filter.
Definition: H5DcreatProp.cpp:267
void setVirtual(const DataSpace &vspace, const char *src_fname, const char *src_dsname, const DataSpace &sspace) const
Maps elements of a virtual dataset to elements of the source dataset.
Definition: H5DcreatProp.cpp:749
bool allFiltersAvail() const
Queries whether all the filters set in this property list are available currently.
Definition: H5DcreatProp.cpp:515
void removeFilter(H5Z_filter_t filter_id) const
Removes one or more filters.
Definition: H5DcreatProp.cpp:387
void getExternal(unsigned idx, size_t name_size, char *name, off_t &offset, hsize_t &size) const
Returns information about an external file.
Definition: H5DcreatProp.cpp:722
H5D_fill_value_t isFillValueDefined() const
Check if fill value has been defined for this property.
Definition: H5DcreatProp.cpp:334
void setShuffle() const
Sets method of the shuffle filter.
Definition: H5DcreatProp.cpp:540
void setFletcher32() const
Sets Fletcher32 checksum of EDC for this property list.
Definition: H5DcreatProp.cpp:647
void getFilterById(H5Z_filter_t filter_id, unsigned int &flags, size_t &cd_nelmts, unsigned int *cd_values, size_t namelen, char name[], unsigned int &filter_config) const
Returns information about a filter in a pipeline given the filter id.
Definition: H5DcreatProp.cpp:464
void setSzip(unsigned int options_mask, unsigned int pixels_per_block) const
Sets up for the use of the SZIP compression filter.
Definition: H5DcreatProp.cpp:246
H5D_alloc_time_t getAllocTime() const
Get space allocation time for this property.
Definition: H5DcreatProp.cpp:563
void getFillValue(const DataType &fvalue_type, void *value) const
Retrieves a dataset fill value.
Definition: H5DcreatProp.cpp:315
void setFillValue(const DataType &fvalue_type, const void *value) const
Sets a dataset fill value.
Definition: H5DcreatProp.cpp:293
Definition: H5AbstractDs.cpp:33
int getNfilters() const
Returns the number of filters in the pipeline.
Definition: H5DcreatProp.cpp:403
void setDeflate(int level) const
Sets compression method and compression level.
Definition: H5DcreatProp.cpp:221
H5Z_filter_t getFilter(int filter_number, unsigned int &flags, size_t &cd_nelmts, unsigned int *cd_values, size_t namelen, char name[], unsigned int &filter_config) const
Returns information about a filter in a pipeline.
Definition: H5DcreatProp.cpp:435
H5D_layout_t getLayout() const
Retrieves the layout type of this property list.
Definition: H5DcreatProp.cpp:199
static const DSetCreatPropList & DEFAULT
Default dataset creation property list.
Definition: H5DcreatProp.h:31
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:27
void setFilter(H5Z_filter_t filter, unsigned int flags=0, size_t cd_nelmts=0, const unsigned int cd_values[]=NULL) const
Adds a filter to the filter pipeline.
Definition: H5DcreatProp.cpp:367
H5D_fill_time_t getFillTime() const
Gets fill value writing time.
Definition: H5DcreatProp.cpp:586
Class ObjCreatPropList inherits from PropList and provides wrappers for the HDF5 object create proper...
Definition: H5OcreatProp.h:24
void setChunk(int ndims, const hsize_t *dim) const
Sets the size of the chunks used to store a chunked layout dataset.
Definition: H5DcreatProp.cpp:136
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|