v2.0.0
Loading...
Searching...
No Matches
FIFFLIB::FiffDataRef Class Reference

External data reference: type, endian, byte size and offset into an external FIFF payload file. More...

#include <fiff_data_ref.h>

Public Member Functions

 FiffDataRef ()
 ~FiffDataRef ()=default

Static Public Member Functions

static qint32 storageSize ()

Public Attributes

qint32 type
qint32 endian
qint64 size
qint64 offset

Detailed Description

External data reference: type, endian, byte size and offset into an external FIFF payload file.

Mirrors the original fiffDataRefRec exactly: a 24-byte record made of two qint32 (type, endianness flag) followed by two qint64 (payload size in bytes, byte offset into the external file). The 64-bit fields let referenced payloads exceed 2 GiB, which is required by long continuous Neuromag recordings split into multi-file FIFF trees.

Definition at line 54 of file fiff_data_ref.h.

Constructor & Destructor Documentation

◆ FiffDataRef()

FIFFLIB::FiffDataRef::FiffDataRef ( )
inline

Default constructor. Initializes all fields to zero.

Definition at line 61 of file fiff_data_ref.h.

◆ ~FiffDataRef()

FIFFLIB::FiffDataRef::~FiffDataRef ( )
default

Destroys the FiffDataRef.

Member Function Documentation

◆ storageSize()

qint32 FIFFLIB::FiffDataRef::storageSize ( )
inlinestatic

Size of the old struct (fiffDataRefRec) 2*int + 2*long = 2*4 + 2*8 = 24.

Returns
the size of the old struct fiffDataRefRec.

Definition at line 103 of file fiff_data_ref.h.

Member Data Documentation

◆ endian

qint32 FIFFLIB::FiffDataRef::endian

Are the data in the little or big endian byte order.

Definition at line 85 of file fiff_data_ref.h.

◆ offset

qint64 FIFFLIB::FiffDataRef::offset

Offset to the data in the external file.

Definition at line 87 of file fiff_data_ref.h.

◆ size

qint64 FIFFLIB::FiffDataRef::size

Size of the data, can be over 2 GB.

Definition at line 86 of file fiff_data_ref.h.

◆ type

qint32 FIFFLIB::FiffDataRef::type

Type of the data.

Definition at line 84 of file fiff_data_ref.h.


The documentation for this class was generated from the following file: