TOBI Interface A
0.1
|
This class is used to store subject specific information. More...
#include <ss_meta_info.h>
Public Types | |
enum | Sex { Male = 1, Female = 2 } |
enum | Handedness { RightHanded = 1, LeftHanded = 2 } |
enum | ShortInfoType { Glasses = 1, Smoking } |
Enum for binary information. | |
enum | ShortInfoValue { Unknown = 0, No, Yes } |
typedef std::map < ShortInfoType, ShortInfoValue > | ShortInfoMap |
Public Member Functions | |
std::string | id () const |
Get the subjects identification code. | |
void | setId (const std::string &id) |
Set the subjects identification code. | |
std::string | firstName () const |
void | setFirstName (const std::string &name) |
std::string | surname () const |
void | setSurname (const std::string &name) |
std::string | birthday () const |
void | setBirthday (const std::string &birthday) |
int | sex () const |
void | setSex (int sex) |
int | handedness () const |
void | setHandedness (int handedness) |
void | setMedication (std::string &medication) |
std::string | medication () const |
void | setShortInfo (ShortInfoType info, ShortInfoValue value) |
Set a single short info. | |
ShortInfoValue | shortInfo (ShortInfoType info) const |
Get a specific short info value. | |
ShortInfoMap & | shortInfoMap () |
const ShortInfoMap & | shortInfoMap () const |
This class is used to store subject specific information.
Subjects with obvious functionality are not documented.
Adjust class to use enums properly (e.g. sex).
Check if mandatory settings are done (now done in XML parser).
Definition at line 65 of file ss_meta_info.h.