#include <experiment.h>
Public Member Functions | |
experiment (int expid, int userid, int condid, int envid, std::string start, std::string end) | |
int | get_condid () |
std::string | get_end () |
int | get_envid () |
int | get_expid () |
std::string | get_start () |
int | get_userid () |
Private Attributes | |
int | condid |
std::string | end |
int | envid |
int | expid |
std::string | start |
int | userid |
Definition at line 28 of file experiment.h.
experiment::experiment | ( | int | expid, |
int | userid, | ||
int | condid, | ||
int | envid, | ||
std::string | start, | ||
std::string | end | ||
) |
Create an experiment with the given information.
expid | the experiment ID number |
userid | the user ID number for this experiment |
condid | the condition ID number for this experiment |
envid | the environment ID number for this experiment |
start | the start timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS |
end | the end timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS |
Definition at line 16 of file experiment.cpp.
int experiment::get_condid | ( | ) |
Get the condition ID number for this experiment.
Definition at line 37 of file experiment.cpp.
string experiment::get_end | ( | ) |
Get the end timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS.
Definition at line 52 of file experiment.cpp.
int experiment::get_envid | ( | ) |
Get the environment ID number for this experiment.
Definition at line 42 of file experiment.cpp.
int experiment::get_expid | ( | ) |
Get the experiment ID number.
Definition at line 27 of file experiment.cpp.
string experiment::get_start | ( | ) |
Get the start timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS.
Definition at line 47 of file experiment.cpp.
int experiment::get_userid | ( | ) |
Get the user ID number for this experiment.
Definition at line 32 of file experiment.cpp.
int rms::experiment::condid [private] |
Definition at line 81 of file experiment.h.
std::string rms::experiment::end [private] |
the start/end timestamp of the study
Definition at line 82 of file experiment.h.
int rms::experiment::envid [private] |
the study, user, condition, and environment ID
Definition at line 81 of file experiment.h.
int rms::experiment::expid [private] |
Definition at line 81 of file experiment.h.
std::string rms::experiment::start [private] |
Definition at line 82 of file experiment.h.
int rms::experiment::userid [private] |
Definition at line 81 of file experiment.h.