MNE-CPP  0.1.9
A Framework for Electrophysiology
Functions
buildinfo.h File Reference

build information utils More...

#include <cstring>
Include dependency graph for buildinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constexpr auto UTILSLIB::timeNowNow ()
 
constexpr auto UTILSLIB::dateToday ()
 
constexpr auto UTILSLIB::dateTimeNow ()
 
constexpr auto UTILSLIB::gitHash ()
 
constexpr auto UTILSLIB::gitHashLong ()
 

Detailed Description

build information utils

Author
Juan G Prieto jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel B Motta gbmot.nosp@m.ta@m.nosp@m.gh.ha.nosp@m.rvar.nosp@m.d.edu;
Since
0.1.9
Date
September, 2021

LICENSE

Copyright (C) 2021, Juan G Prieto, Gabriel B Motta. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file buildinfo.h.

Function Documentation

◆ dateTimeNow()

constexpr auto UTILSLIB::dateTimeNow ( )
constexpr

Returns build date and time (time preprocessor was run). Must be called in compiled function to return correctly.

Definition at line 70 of file buildinfo.h.

◆ dateToday()

constexpr auto UTILSLIB::dateToday ( )
constexpr

Returns build date (time preprocessor was run). Must be called in compiled function to return correctly.

Definition at line 60 of file buildinfo.h.

◆ gitHash()

constexpr auto UTILSLIB::gitHash ( )
constexpr

Returns short version of the hash of the current git commit

Definition at line 79 of file buildinfo.h.

◆ gitHashLong()

constexpr auto UTILSLIB::gitHashLong ( )
constexpr

Returns entire hash of the current git commit

Definition at line 92 of file buildinfo.h.

◆ timeNowNow()

constexpr auto UTILSLIB::timeNowNow ( )
constexpr

Returns build time (time preprocessor was run). Must be called in compiled function to return correctly.

Definition at line 51 of file buildinfo.h.