v2.0.0
Loading...
Searching...
No Matches
src
libraries
mne
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
33
namespace
MNELIB
34
{
35
36
//=============================================================================================================
45
class
MNESHARED_EXPORT
MNEEvent
46
{
47
public
:
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
mne_global.h
MNELIB shared-library export/import macros and library build metadata.
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition
mne_global.h:40
MNELIB
Core MNE data structures (source spaces, source estimates, hemispheres).
Definition
connectivitysettings.h:59
MNELIB::MNEEvent
Single trigger-event marker.
Definition
mne_event.h:46
MNELIB::MNEEvent::operator==
friend bool operator==(const MNEEvent &a, const MNEEvent &b)
Definition
mne_event.h:55
MNELIB::MNEEvent::created_here
bool created_here
Definition
mne_event.h:52
MNELIB::MNEEvent::sample
int sample
Definition
mne_event.h:48
MNELIB::MNEEvent::to
unsigned int to
Definition
mne_event.h:50
MNELIB::MNEEvent::comment
QString comment
Definition
mne_event.h:53
MNELIB::MNEEvent::from
unsigned int from
Definition
mne_event.h:49
MNELIB::MNEEvent::show
bool show
Definition
mne_event.h:51
Generated on
for MNE-CPP by
1.16.1