15 #ifndef __H5FloatType_H
16 #define __H5FloatType_H
42 size_t getEbias()
const;
45 void setEbias(
size_t ebias)
const;
48 void getFields(
size_t& spos,
size_t& epos,
size_t& esize,
size_t& mpos,
size_t& msize)
const;
51 void setFields(
size_t spos,
size_t epos,
size_t esize,
size_t mpos,
size_t msize)
const;
54 H5T_pad_t getInpad(H5std_string& pad_string)
const;
57 void setInpad(H5T_pad_t inpad)
const;
60 H5T_norm_t getNorm(H5std_string& norm_string)
const;
63 void setNorm(H5T_norm_t norm)
const;
66 virtual H5std_string
fromClass ()
const {
return(
"FloatType"); }
83 #endif // __H5FloatType_H
FloatType()
Default constructor: Creates a stub floating-point datatype.
Definition: H5FloatType.cpp:43
FloatType is a derivative of a DataType and operates on HDF5 floating point datatype.
Definition: H5FloatType.h:25
void setFields(size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize) const
Sets locations and sizes of floating point bit fields.
Definition: H5FloatType.cpp:186
virtual ~FloatType()
Noop destructor.
Definition: H5FloatType.cpp:345
AtomType is a base class, inherited by IntType, FloatType, StrType, and PredType.
Definition: H5AtomType.h:28
void copy(const DataType &like_type)
Copies an existing datatype to this datatype object.
Definition: H5DataType.cpp:208
void setInpad(H5T_pad_t inpad) const
Fills unused internal floating point bits.
Definition: H5FloatType.cpp:331
void getFields(size_t &spos, size_t &epos, size_t &esize, size_t &mpos, size_t &msize) const
Retrieves floating point datatype bit field information.
Definition: H5FloatType.cpp:165
H5T_pad_t getInpad(H5std_string &pad_string) const
Retrieves the internal padding type for unused bits in this floating-point datatypes.
Definition: H5FloatType.cpp:297
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:28
H5T_norm_t getNorm(H5std_string &norm_string) const
Retrieves mantissa normalization of a floating-point datatype.
Definition: H5FloatType.cpp:244
Definition: H5Exception.h:116
void setEbias(size_t ebias) const
Sets the exponent bias of a floating-point type.
Definition: H5FloatType.cpp:220
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5FloatType.h:66
virtual DataType * decode() const
Returns an FloatType object via DataType* by decoding the binary object description of this type.
Definition: H5FloatType.cpp:140
Class PredType holds the definition of all the HDF5 predefined datatypes.
Definition: H5PredType.h:28
virtual hid_t getId() const
Get the id of this dataset.
Definition: H5DataSet.cpp:704
size_t getEbias() const
Retrieves the exponent bias of a floating-point type.
Definition: H5FloatType.cpp:202
void setNorm(H5T_norm_t norm) const
Sets the mantissa normalization of a floating-point datatype.
Definition: H5FloatType.cpp:273
Definition: H5AbstractDs.cpp:34
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:28
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:31
Definition: H5Exception.h:137
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
and the Board of Trustees of the University of Illinois
|