libSplash
|
#include <DomainData.hpp>
Public Member Functions | |
DomainData (const Domain &domain_, const Dimensions elements_, size_t datatypeSize_, DCDataType datatype_) | |
virtual | ~DomainData () |
Dimensions & | getElements () |
void * | getData () |
void | freeData () |
size_t | getTypeSize () |
DCDataType | getDataType () |
void | setLoadingReference (int dataClass, hid_t handle, int32_t id, const char *name, const Dimensions dstBuffer, const Dimensions dstOffset, const Dimensions srcSize, const Dimensions srcOffset) |
DomainH5Ref * | getLoadingReference () |
std::string | getFormatString () throw (DCException) |
![]() | |
Domain () | |
Domain (Dimensions offset_, Dimensions size_) | |
uint32_t | getDims () const |
Dimensions & | getSize () |
const Dimensions | getSize () const |
Dimensions & | getOffset () |
const Dimensions | getOffset () const |
Dimensions | getBack () const |
bool | operator== (Domain const &other) const |
bool | operator!= (Domain const &other) const |
std::string | toString () const |
Additional Inherited Members | |
![]() | |
static bool | testIntersection (const Domain &d1, const Domain &d2) |
Extends a Domain with actual data elements.
Definition at line 56 of file DomainData.hpp.
|
inline |
Constructor. Allocates enough memory to hold 'elements' data of 'type'.
domain_ | The underlying Domain. |
elements_ | Number of data elements in every dimension. |
datatypeSize_ | Size of each element in bytes. |
datatype_ | Internal representation of HDF5 datatype. |
Definition at line 69 of file DomainData.hpp.
|
inlinevirtual |
Destructor. Deletes allocated memory.
Definition at line 86 of file DomainData.hpp.
|
inline |
Deallocate data of this subdomain, should be used for lazy loading.
Definition at line 121 of file DomainData.hpp.
|
inline |
Returns a pointer to the internal buffer. The pointer has to be casted to the actual data type.
Definition at line 113 of file DomainData.hpp.
|
inline |
Returns the DCDataType of this DomainData.
Definition at line 145 of file DomainData.hpp.
|
inline |
Returns the number of data elements in this domain.
Definition at line 102 of file DomainData.hpp.
|
inline |
Returns the format string for the data type, e.g. lu or f. If no format string can be generated, e.g. if the data type is a compound type, an exception is thrown.
Definition at line 192 of file DomainData.hpp.
|
inline |
Rteurns the internal loading reference for lazy loading.
Definition at line 180 of file DomainData.hpp.
|
inline |
Returns the size in bytes of the buffer's data type.
Definition at line 135 of file DomainData.hpp.
|
inline |
Set the internal loading reference for lazy loading.
Definition at line 153 of file DomainData.hpp.