v2.0.0
Loading...
Searching...
No Matches
fiff_id.h File Reference

128-bit FIFF identifier record (machine ID + creation time) used to stamp files, blocks and parent references. More...

#include "fiff_global.h"
#include "fiff_types.h"
#include <QSharedPointer>
#include <memory>
Include dependency graph for fiff_id.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FIFFLIB::FiffId
 128-bit FIFF identifier: hardware machine ID plus creation time, stamped on every file and block. More...

Namespaces

namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.

Functions

bool FIFFLIB::operator== (const FiffId &a, const FiffId &b)

Detailed Description

128-bit FIFF identifier record (machine ID + creation time) used to stamp files, blocks and parent references.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2012-2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Christof Pieloth pielo.nosp@m.th@l.nosp@m.abp.h.nosp@m.twk-.nosp@m.leipz.nosp@m.ig.d.nosp@m.e; Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om
Since
0.1.0
Date
September 2012

Every FIFF file carries a FIFF_FILE_ID tag at its head and every significant block (measurement, raw data, evoked, epochs, projection, covariance, ...) carries a FIFF_BLOCK_ID tag; in addition each child file can carry FIFF_PARENT_FILE_ID / FIFF_PARENT_BLOCK_ID back-references so that derived data sets remain provenance-traceable to their source recording. All four are physically the same record: the legacy fiffIdRec.

FiffId is the C++ wrapper for that record. It exposes the version word, the 2x32-bit machid hardware identifier and a FiffTime creation time, plus convenience constructors that synthesize a fresh ID for a newly written file (mirroring mne.io.write.write_id in MNE-Python).

Definition in file fiff_id.h.