#include <study_log.h>
Public Member Functions | |
std::string | get_entry () |
int | get_expid () |
int | get_logid () |
std::string | get_timestamp () |
study_log (int logid, int expid, std::string timestamp, std::string entry) | |
Private Attributes | |
std::string | entry |
int | expid |
int | logid |
std::string | timestamp |
A study_log object to store information on a study log entry in the RMS.
Definition at line 28 of file study_log.h.
study_log::study_log | ( | int | logid, |
int | expid, | ||
std::string | timestamp, | ||
std::string | entry | ||
) |
Create a study_log with the given information.
logid | the study log entry ID number |
expid | the experiment ID number for the log entry |
timestamp | the timestamp of the entry in the form YYYY-MM-DD HH:MM:SS |
entry | the log entry |
Definition at line 16 of file study_log.cpp.
string study_log::get_entry | ( | ) |
int study_log::get_expid | ( | ) |
Get the experiment ID number for the log entry.
Definition at line 30 of file study_log.cpp.
int study_log::get_logid | ( | ) |
Get the study log entry ID number.
Definition at line 25 of file study_log.cpp.
string study_log::get_timestamp | ( | ) |
Get the timestamp of the entry in the form YYYY-MM-DD HH:MM:SS.
Definition at line 35 of file study_log.cpp.
std::string rms::study_log::entry [private] |
the timestamp and entry
Definition at line 68 of file study_log.h.
int rms::study_log::expid [private] |
the log and experiment ID numbers
Definition at line 67 of file study_log.h.
int rms::study_log::logid [private] |
Definition at line 67 of file study_log.h.
std::string rms::study_log::timestamp [private] |
Definition at line 68 of file study_log.h.