 |
OpendTect
6.6
|
Go to the documentation of this file.
48 nr_dims_type
nrDims()
const {
return gtNrDims(); }
71 #define mHDF5DeclFns(type) \
72 virtual bool getAttribute(const char*,type&, \
73 const DataSetKey* =nullptr) const = 0;
93 {
return sHDF5Err(tr(
"Unexpected DataSet found")); }
124 {
pErrMsg(
"Only read TypeSet from 1-D dataset");
return uirv; }
125 if (
getDataType(dsky,uirv) != OD::GetDataRepType<T>() )
126 {
pErrMsg(
"Wrong type");
return uirv; }
128 const size_type sz =
dimSize( dsky, 0, uirv );
133 uirv =
getAll( dsky, vals.arr() );
#define od_uint64
Definition: plftypes.h:36
uiRetVal getAttributeNames(BufferStringSet &, const DataSetKey *=nullptr) const
virtual nr_dims_type gtNrDims() const =0
virtual void gtAttribNames(const H5::H5Object &, BufferStringSet &) const =0
Contains the information about the size of ArrayND, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:25
Set of BufferString objects.
Definition: bufstringset.h:26
#define od_int64
Definition: plftypes.h:35
Reads HDF5 file data.
Definition: hdf5reader.h:34
OpendTect.
Definition: commontypes.h:28
uiRetVal getAll(const DataSetKey &, void *) const
Get the entire data set in current scope.
#define mExpClass(module)
Definition: commondefs.h:177
Definition: hdf5access.h:22
nr_dims_type getNrDims(const DataSetKey &, uiRetVal &) const
uiRetVal get(IOPar &, const DataSetKey *=nullptr) const
FixedString DataSet()
Definition: keystrs.h:56
ArrayNDInfo * getDataSizes(const DataSetKey &, uiRetVal &) const
ODDataType getDataType(const DataSetKey &, uiRetVal &) const
Definition: uistringset.h:105
virtual bool hasAttribute(const char *, const DataSetKey *=nullptr) const =0
virtual void getDataSets(const char *fullgrpnm, BufferStringSet &) const =0
Pass a full group name.
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiRetVal getSlab(const DataSetKey &, const SlabSpec &, void *) const
virtual bool isReader() const
Definition: hdf5reader.h:88
virtual uiRetVal readJSonAttribute(const char *, OD::JSON::ValueSet &, const DataSetKey *=nullptr) const =0
virtual void gtSlab(const H5::DataSet &, const SlabSpec &, void *, uiRetVal &) const =0
nr_dims_type nrDims() const
Definition: hdf5reader.h:48
size_type dimSize(const H5::DataSet &, dim_idx_type) const
Definition: hdf5access.h:164
virtual ODDataType gtDataType(const H5::DataSet &) const =0
uiRetVal getValues(const DataSetKey &, const NDPosBufSet &, void *) const
Get a set of distinct points' values.
virtual mODTextTranslationClass(HDF5::Reader) public void getGroups(BufferStringSet &) const =0
All groups with full names (recursive)
uiRetVal getValue(const DataSetKey &, NDPos, void *) const
Get a single point value.
uiRetVal get(const DataSetKey &, TypeSet< T > &) const
Definition: hdf5reader.h:120
#define od_int16
Definition: plftypes.h:26
virtual bool getAttribute(const char *, BufferString &, const DataSetKey *=nullptr) const =0
size_type dimSize(const DataSetKey &, dim_idx_type, uiRetVal &) const
#define pErrMsg(msg)
Usual access point for programmer error messages.
Definition: errmsg.h:37
#define od_uint16
Definition: plftypes.h:27
virtual void gtAll(const H5::DataSet &, void *, uiRetVal &) const =0
#define mHDF5DeclFns(type)
Definition: hdf5reader.h:71
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
DataRepType
Definition: commontypes.h:49
#define od_int32
Definition: plftypes.h:30
virtual void gtInfo(const H5::H5Object &, IOPar &, uiRetVal &) const =0
uiRetVal get(const DataSetKey &, BufferStringSet &) const
virtual void gtStrings(const H5::DataSet &, BufferStringSet &, uiRetVal &) const =0
holds values and sets of values. Is base class for either Array or Object.
Definition: odjson.h:95
virtual int getNrAttributes(const DataSetKey *=nullptr) const =0
Definition: hdf5access.h:42
#define od_uint32
Definition: plftypes.h:31
virtual ArrayNDInfo * gtDataSizes(const H5::DataSet &) const =0
virtual void gtValues(const H5::DataSet &, const NDPosBufSet &, void *, uiRetVal &) const =0
static uiString sBadDataSpace()
Definition: hdf5reader.h:92
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
Definition: hdf5access.h:109
Sets of (small) copyable elements.
Definition: commontypes.h:29
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021