|
HIPO
4.3.0
High Performance Output data format for experimental physics
|
Lightweight wrapper for a raw data pointer with type, size, and offset metadata. More...
#include <record.h>
Public Member Functions | |
| data () | |
| Construct an empty data object with a null pointer and zero size. More... | |
| ~data ()=default | |
| Default destructor. More... | |
| void | setDataPtr (const char *__ptr) |
| Set the raw data pointer. More... | |
| void | setDataSize (int __size) |
| Set the data size in bytes. More... | |
| void | setDataOffset (int __offset) |
| Set the byte offset into the source buffer. More... | |
| void | setDataEndianness (int __endianness) |
| Set the endianness indicator for the data. More... | |
| void | setDataType (int __type) |
| Set the data type identifier. More... | |
| const uint32_t * | getEvioPtr () |
| Return the data pointer cast to a uint32_t pointer (EVIO format). More... | |
| int | getEvioSize () |
| Return the data size in 4-byte (uint32_t) units. More... | |
| const char * | getDataPtr () |
| Return the raw data pointer. More... | |
| int | getDataSize () |
| Return the data size in bytes. More... | |
| int | getDataType () |
| Return the data type identifier. More... | |
| int | getDataEndianness () |
| Return the endianness indicator. More... | |
| int | getDataOffset () |
| Return the byte offset into the source buffer. More... | |
Lightweight wrapper for a raw data pointer with type, size, and offset metadata.
Does not own the underlying memory; it simply provides typed access to a region of a larger buffer.
|
inline |
|
default |
Default destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |