MNE-CPP
0.1.9
A Framework for Electrophysiology
|
the class stores the concept of an event group internally in the Event library. More...
#include <eventgroup.h>
Public Member Functions | |
EventGroupINT (const char *name) | |
EventGroupINT (std::string &&name) | |
EventGroupINT (idNum id, const std::string &name) | |
EventGroupINT (idNum id, const std::string &name, const EVENTSLIB::RgbColor &color) | |
void | setColor (const EVENTSLIB::RgbColor &color) |
void | setRandomColor () |
EVENTSLIB::RgbColor | getColor () const |
const std::string & | getName () const |
void | setName (const std::string &sName) |
idNum | getId () const |
std::string | getDescription () const |
int | getOrder () const |
void | setOrder (int order) |
bool | operator< (const EventGroupINT &groupRHS) const |
the class stores the concept of an event group internally in the Event library.
EventGroupINT class.
Definition at line 154 of file eventgroup.h.
EVENTSINTERNAL::EventGroupINT::EventGroupINT | ( | const char * | name | ) |
EventGroupINT constructor.
[in] | name | name of the group. |
Definition at line 115 of file eventgroup.cpp.
EVENTSINTERNAL::EventGroupINT::EventGroupINT | ( | std::string && | name | ) |
EventGroupINT constructorbased on an rvalue std::string.
name | name of the created group. |
Definition at line 123 of file eventgroup.cpp.
EVENTSINTERNAL::EventGroupINT::EventGroupINT | ( | idNum | id, |
const std::string & | name | ||
) |
EventGroupINT constructor based on a groupId and a name.
[in] | id | Id of the new group. |
[in] | name | Name of the new group. |
Definition at line 135 of file eventgroup.cpp.
EVENTSINTERNAL::EventGroupINT::EventGroupINT | ( | idNum | id, |
const std::string & | name, | ||
const EVENTSLIB::RgbColor & | color | ||
) |
EventGroupINT constructor.
[in] | id | Id of the new group. |
[in] | name | Name of the new group. |
[in] | color | Color of the new group. |
Definition at line 147 of file eventgroup.cpp.
RgbColor EVENTSINTERNAL::EventGroupINT::getColor | ( | ) | const |
getColor Get the group color.
Definition at line 167 of file eventgroup.cpp.
std::string EVENTSINTERNAL::EventGroupINT::getDescription | ( | ) | const |
getDescription Get the group destriction.
Definition at line 204 of file eventgroup.cpp.
idNum EVENTSINTERNAL::EventGroupINT::getId | ( | ) | const |
const std::string & EVENTSINTERNAL::EventGroupINT::getName | ( | ) | const |
getName Retrieve the name of the group.
Definition at line 183 of file eventgroup.cpp.
int EVENTSINTERNAL::EventGroupINT::getOrder | ( | ) | const |
bool EVENTSINTERNAL::EventGroupINT::operator< | ( | const EventGroupINT & | groupRHS | ) | const |
operator < Overriden operator <.
groupRHS | object to which compare. |
Definition at line 225 of file eventgroup.cpp.
void EVENTSINTERNAL::EventGroupINT::setColor | ( | const EVENTSLIB::RgbColor & | color | ) |
setColor Set the color of the group.
[in] | color | New color of the group. |
Definition at line 160 of file eventgroup.cpp.
void EVENTSINTERNAL::EventGroupINT::setName | ( | const std::string & | sName | ) |
setName Set the name of the group.
sName | New name of the group. |
Definition at line 190 of file eventgroup.cpp.
void EVENTSINTERNAL::EventGroupINT::setOrder | ( | int | order | ) |
void EVENTSINTERNAL::EventGroupINT::setRandomColor | ( | ) |
setRandomColor Make the group adopt a random color.
Definition at line 174 of file eventgroup.cpp.