v2.0.0
Loading...
Searching...
No Matches
mne_event.h
Go to the documentation of this file.
1//=============================================================================================================
17
18#ifndef MNE_EVENT_H
19#define MNE_EVENT_H
20
21//=============================================================================================================
22// INCLUDES
23//=============================================================================================================
24
25#include "mne_global.h"
26
27#include <QString>
28
29//=============================================================================================================
30// DEFINE NAMESPACE MNELIB
31//=============================================================================================================
32
33namespace MNELIB
34{
35
36//=============================================================================================================
46{
47public:
48 int sample = 0;
49 unsigned int from = 0;
50 unsigned int to = 0;
51 bool show = false;
52 bool created_here = false;
53 QString comment;
54
55 friend bool operator==(const MNEEvent& a, const MNEEvent& b)
56 {
57 return a.sample == b.sample && a.from == b.from && a.to == b.to && a.show == b.show && a.created_here == b.created_here && a.comment == b.comment;
58 }
59};
60
61} // namespace MNELIB
62
63#endif // MNE_EVENT_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
Single trigger-event marker.
Definition mne_event.h:46
friend bool operator==(const MNEEvent &a, const MNEEvent &b)
Definition mne_event.h:55
unsigned int to
Definition mne_event.h:50
QString comment
Definition mne_event.h:53
unsigned int from
Definition mne_event.h:49