Public Member Functions | Private Attributes
rms::experiment Class Reference

#include <experiment.h>

List of all members.

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

Detailed Description

Definition at line 28 of file experiment.h.


Constructor & Destructor Documentation

experiment::experiment ( int  expid,
int  userid,
int  condid,
int  envid,
std::string  start,
std::string  end 
)

Create an experiment with the given information.

Parameters:
expidthe experiment ID number
useridthe user ID number for this experiment
condidthe condition ID number for this experiment
envidthe environment ID number for this experiment
startthe start timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS
endthe end timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS

Definition at line 16 of file experiment.cpp.


Member Function Documentation

Get the condition ID number for this experiment.

Returns:
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.

Returns:
the end timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS

Definition at line 52 of file experiment.cpp.

Get the environment ID number for this experiment.

Returns:
the environment ID number for this experiment

Definition at line 42 of file experiment.cpp.

Get the experiment ID number.

Returns:
the experiment ID number

Definition at line 27 of file experiment.cpp.

Get the start timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS.

Returns:
the start timestamp of the experiment in the form YYYY-MM-DD HH:MM:SS

Definition at line 47 of file experiment.cpp.

Get the user ID number for this experiment.

Returns:
the user ID number for this experiment

Definition at line 32 of file experiment.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


rmscpp
Author(s): Russell Toris
autogenerated on Sat Dec 28 2013 17:08:58