FiffTime
Namespace: FIFFLIB · Library: FIFF Library
#include <fiff/fiff_time.h>
class FIFFLIB::FiffTime
FIFF time stamp: Unix seconds plus a microsecond fraction matching the on-disk fiffTimeRec record.
Layout is two 32-bit fields (secs, usecs) — the exact representation used by FIFF_MEAS_DATE and the per-buffer timestamps embedded in raw data blocks, so an instance can be streamed in and out without per-field marshalling.
Public Methods
FiffTime()
Default constructor.
Initializes both fields to zero.
FiffTime(p_secs, p_usecs)
Parameterized constructor.
Parameters:
-
p_secs : qint32 GMT time in seconds since epoch.
-
p_usecs : qint32 Fraction of seconds in microseconds.
~FiffTime()
Destroys the FiffTime.
Static Methods
storageSize()
Size of the old struct (fiffTimeRec) 2int = 24 = 8.
Returns:
- qint32 — the size of the old struct fiffTimeRec.
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>