High-level convenience reader/writer that loads a whole FIFF measurement file into FIFFLIB containers in one call. More...
#include "fiff_global.h"#include "fiff_info.h"#include "fiff_types.h"#include "fiff_raw_data.h"#include "fiff_evoked.h"#include "fiff_stream.h"#include <QList>#include <QFile>#include <QIODevice>#include <QSharedPointer>#include <QDebug>

Go to the source code of this file.
Classes | |
| class | FIFFLIB::FiffIO |
| One-call FIFF reader/writer: opens a file, dispatches to the right specialized loader and returns ready-to-use FIFFLIB containers. More... | |
Namespaces | |
| namespace | FIFFLIB |
| FIFF file I/O, in-memory data structures and high-level readers/writers. | |
High-level convenience reader/writer that loads a whole FIFF measurement file into FIFFLIB containers in one call.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2013-2026 MNE-CPP Authors
Most callers want to open a FIFF file and immediately get back a FIFFLIB::FiffRawData (for "*-raw.fif"), a FIFFLIB::FiffEvokedSet (for "*-ave.fif"), a FIFFLIB::FiffCov (for "*-cov.fif"), or the appropriate combination without micromanaging FIFFLIB::FiffStream and the directory tree. FIFFLIB::FiffIO provides exactly that one-call facade: it sniffs the top-level FIFF blocks (FIFFB_RAW_DATA, FIFFB_EVOKED, FIFFB_MNE_COV, ...), invokes the matching specialized reader and exposes the results as ready-to-use shared pointers, with parity to the mne.io.read_raw_fif / mne.read_evokeds / mne.read_cov front-end of MNE-Python.
Definition in file fiff_io.h.