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

Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors. More...

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

Go to the source code of this file.

Namespaces

namespace  UTILSLIB
 Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).

Macros

#define UTILSSHARED_EXPORT

Functions

const char * UTILSLIB::buildDateTime ()
const char * UTILSLIB::buildHash ()
const char * UTILSLIB::buildHashLong ()

Detailed Description

Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors.

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; 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
March 2013

UTILSLIB is the cross-cutting helper library that every other mne-cpp module links against: I/O helpers, layout / selection parsers, command and observer patterns, thread-safe circular buffers, the Polhemus digitizer stack, the Python runner used by tests, and the standard EEG montages. This header carries the Q_DECL_EXPORT / Q_DECL_IMPORT switch so symbols resolve correctly whether UTILSLIB is built as a shared library, a static archive (STATICBUILD) or imported by a downstream consumer.

The free functions defined here (buildDateTime, buildHash, buildHashLong) are the runtime-callable entry points for the compile-time constants in buildinfo.h and are surfaced in the About dialog of the mne-cpp applications and in version banners written by CLI tools so bug reports always identify the exact build.

Definition in file utils_global.h.

Macro Definition Documentation

◆ UTILSSHARED_EXPORT

#define UTILSSHARED_EXPORT

Definition at line 49 of file utils_global.h.