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

#include <study.h>

List of all members.

Public Member Functions

std::string get_description ()
std::string get_end ()
std::string get_name ()
std::string get_start ()
int get_studyid ()
 study (int studyid, std::string name, std::string description, std::string start, std::string end)

Private Attributes

std::string description
std::string end
std::string name
std::string start
int studyid

Detailed Description

A condition object to store information on a condition entry in the RMS.

An experiment object to store information on an experiment entry in the RMS.

A study object to store information on a study entry in the RMS.

Definition at line 28 of file study.h.


Constructor & Destructor Documentation

study::study ( int  studyid,
std::string  name,
std::string  description,
std::string  start,
std::string  end 
)

Create a study with the given information.

Parameters:
studyidthe study ID number
namethe name of the study
descriptiona description of the study
startthe start date of the study in the form YYYY-MM-DD
endthe end date of the study in the form YYYY-MM-DD

Definition at line 16 of file study.cpp.


Member Function Documentation

Get the description.

Returns:
the description

Definition at line 36 of file study.cpp.

string study::get_end ( )

Get the end date of the study in the form YYYY-MM-DD.

Returns:
the end date of the study in the form YYYY-MM-DD

Definition at line 46 of file study.cpp.

string study::get_name ( )

Get the name.

Returns:
the name

Definition at line 31 of file study.cpp.

string study::get_start ( )

Get the start date of the study in the form YYYY-MM-DD.

Returns:
the start date of the study in the form YYYY-MM-DD

Definition at line 41 of file study.cpp.

Get the study ID number.

Returns:
the study ID number

Definition at line 26 of file study.cpp.


Member Data Documentation

std::string rms::study::description [private]

Definition at line 75 of file study.h.

std::string rms::study::end [private]

the name, description, and start/end date of the study

Definition at line 75 of file study.h.

std::string rms::study::name [private]

Definition at line 75 of file study.h.

std::string rms::study::start [private]

Definition at line 75 of file study.h.

int rms::study::studyid [private]

the study ID

Definition at line 74 of file study.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