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

Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Container Format. More...

#include <utils/buildinfo.h>
#include <QtCore/qglobal.h>
Include dependency graph for mna_global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MNALIB
 MNE Analysis Container Format (mna/mnx).

Macros

#define MNASHARED_EXPORT

Functions

MNASHARED_EXPORT const char * MNALIB::buildDateTime ()
MNASHARED_EXPORT const char * MNALIB::buildHash ()
MNASHARED_EXPORT const char * MNALIB::buildHashLong ()

Detailed Description

Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Container Format.

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

MNALIB implements the .mna (JSON) and .mnx (CBOR) project container — a declarative, reproducible record of MEG/EEG analyses spanning subjects, recordings, processing pipelines, parameter trees, verification checks, and provenance. The container is self-describing, lossless on round-trip (unknown keys preserved via extras) and version-tagged via MnaProject::CURRENT_SCHEMA_VERSION.

This header defines the MNASHARED_EXPORT visibility macro that gates every public symbol in the library, the static-build override, and two free functions returning the build date/time and git hash burned into the binary by utils/buildinfo.h. The macro must be defined once before any other MNALIB include so the same translation unit cannot accidentally mix import and export linkage.

Definition in file mna_global.h.

Macro Definition Documentation

◆ MNASHARED_EXPORT

#define MNASHARED_EXPORT

Definition at line 47 of file mna_global.h.