 |
OpendTect
6.6
|
Go to the documentation of this file.
74 T* ret = arrnd_.getData();
78 mTryAlloc( workarr_, T [ arrnd_.totalSize() ] );
90 if ( arrnd_.totalSize() < 1 )
93 T* arr = getWorkArray( uirv );
96 uirv = rdr.
getAll( dsky, arr );
98 arrnd_.setData( arr );
110 if ( arrnd_.totalSize() < 1 )
113 T* arr = getWorkArray( uirv );
116 uirv = rdr.
getSlab( dsky, spec, arr );
118 arrnd_.setAll( arr );
130 uirv = wrr.
createDataSet( dsky, arrnd_.info(), OD::GetDataRepType<T>() );
140 uirv = createDataSet( wrr, dsky );
144 return putAll( wrr, dsky );
152 if ( arrnd_.totalSize() < 1 )
155 const T* arr = getWorkArray( uirv );
159 arrnd_.getAll(
const_cast<T*
>(arr) );
160 uirv = wrr.
putAll( dsky, arr );
172 if ( arrnd_.totalSize() < 1 )
175 const T* arr = getWorkArray( uirv );
179 arrnd_.getAll(
const_cast<T*
>(arr) );
180 uirv = wrr.
putSlab( dsky, spec, arr );
static ArrayND< T > * create(const ArrayNDInfo &nsz)
Definition: arrayndimpl.h:1029
writes to HDF5 file
Definition: hdf5writer.h:43
Reads HDF5 file data.
Definition: hdf5reader.h:34
uiRetVal getAll(const DataSetKey &, void *) const
Get the entire data set in current scope.
uiRetVal putAll(const DataSetKey &, const void *)
Definition: hdf5access.h:22
bool hasDataSet(const DataSetKey &) const
ArrayNDInfo * getDataSizes(const DataSetKey &, uiRetVal &) const
Definition: uistringset.h:105
uiRetVal & add(const uiRetVal &)
static uiString phrCannotAllocateMemory(int64_t reqsz=-1)
uiRetVal getSlab(const DataSetKey &, const SlabSpec &, void *) const
uiRetVal putSlab(const DataSetKey &, const SlabSpec &, const void *)
#define mTryAlloc(var, stmt)
Catches bad_alloc and sets ptr to null as normal.
Definition: commondefs.h:246
uiRetVal createDataSet(const DataSetKey &, const ArrayNDInfo &, ODDataType)
An ArrayND is an array with a given number of dimensions and a size.
Definition: arraynd.h:33
Definition: hdf5access.h:42
Definition: hdf5access.h:109
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021