#include <rms.hpp>
Public Member Functions | |
bool | connect () |
bool | connected () |
std::string | get_database () const |
std::string | get_host () const |
std::string | get_password () const |
unsigned int | get_port () const |
librms::study | get_study (unsigned int id) |
std::string | get_user () const |
MYSQL_RES * | query (std::string query) |
rms (std::string host, unsigned int port, std::string user, std::string password, std::string database) | |
~rms () | |
Private Attributes | |
MYSQL * | conn_ |
bool | connected_ |
std::string | database_ |
std::string | host_ |
std::string | password_ |
unsigned int | port_ |
std::string | user_ |
rms::rms | ( | std::string | host, |
unsigned int | port, | ||
std::string | user, | ||
std::string | password, | ||
std::string | database | ||
) |
bool rms::connect | ( | ) |
bool rms::connected | ( | ) |
string rms::get_database | ( | ) | const |
string rms::get_host | ( | ) | const |
string rms::get_password | ( | ) | const |
unsigned int rms::get_port | ( | ) | const |
study rms::get_study | ( | unsigned int | id | ) |
string rms::get_user | ( | ) | const |
MYSQL_RES * rms::query | ( | std::string | query | ) |
MYSQL* librms::rms::conn_ [private] |
bool librms::rms::connected_ [private] |
std::string librms::rms::database_ [private] |
std::string librms::rms::host_ [private] |
std::string librms::rms::password_ [private] |
unsigned int librms::rms::port_ [private] |
std::string librms::rms::user_ [private] |