Classes | |
class | article |
class | condition |
class | content_page |
class | experiment |
class | javascript_file |
class | rms_client |
Provides direct communication to the RMS API to via cURL. More... | |
struct | rms_response |
class | slide |
class | study |
class | study_log |
class | user_account |
Enumerations | |
enum | PROTOCOL { HTTP_PROTOCOL, HTTPS_PROTOCOL } |
enum | USER_ACCOUNT_TYPE { ADMIN, USER } |
Functions | |
size_t | write_data (char *ptr, size_t size, size_t nmemb, rms::rms_response *buf) |
Variables | |
const std::string | API = "/api/" |
const std::string | ARTICLES_DEFAULT = "content/articles/" |
const std::string | ARTICLES_ID_FIELD = "id" |
const std::string | ARTICLES_PAGES_ID_FIELD = "pageid" |
const std::string | CONDITIONS_DEFAULT = "user_studies/conditions/" |
const std::string | CONDITIONS_ID_FIELD = "id" |
const std::string | CONTENT_PAGES_DEFAULT = "content/content_pages/" |
const std::string | CONTENT_PAGES_ID_FIELD = "id" |
const std::string | EXPERIMENTS_DEFAULT = "user_studies/experiments/" |
const std::string | EXPERIMENTS_ID_FIELD = "id" |
const std::string | JAVASCRIPT_FILES_DEFAULT = "config/javascript_files/" |
const std::string | JAVASCRIPT_FILES_ID_FIELD = "id" |
const std::string | SLIDES_DEFAULT = "content/slides/" |
const std::string | STUDIES_DEFAULT = "user_studies/studies/" |
const std::string | STUDIES_ID_FIELD = "id" |
const std::string | STUDY_LOGS_DEFAULT = "user_studies/study_logs/" |
const std::string | STUDY_LOGS_EXPERIMENTS_ID_FIELD = "expid" |
const std::string | STUDY_LOGS_ID_FIELD = "id" |
const std::string | USER_ACCOUNTS_DEFAULT = "users/user_accounts/" |
const std::string | USER_ACCOUNTS_ID_FIELD = "id" |
rms namespace for all RMS calls and objects
enum rms::PROTOCOL |
The different types of users in the RMS.
Definition at line 26 of file user_account.h.
size_t rms::write_data | ( | char * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
rms::rms_response * | buf | ||
) |
The callback function used by cURL to store the response from the Rovio. This function should only be used by cURL internally by the rms_client.
ptr | the pointer to the data |
size | size * nmemb is the exact size of the data |
nmemb | size * nmemb is the exact size of the data |
buf | the buffer to put the data into |
const std::string rms::API = "/api/" |
const std::string rms::ARTICLES_DEFAULT = "content/articles/" |
const std::string rms::ARTICLES_ID_FIELD = "id" |
const std::string rms::ARTICLES_PAGES_ID_FIELD = "pageid" |
const std::string rms::CONDITIONS_DEFAULT = "user_studies/conditions/" |
const std::string rms::CONDITIONS_ID_FIELD = "id" |
const std::string rms::CONTENT_PAGES_DEFAULT = "content/content_pages/" |
const std::string rms::CONTENT_PAGES_ID_FIELD = "id" |
const std::string rms::EXPERIMENTS_DEFAULT = "user_studies/experiments/" |
const std::string rms::EXPERIMENTS_ID_FIELD = "id" |
const std::string rms::JAVASCRIPT_FILES_DEFAULT = "config/javascript_files/" |
const std::string rms::JAVASCRIPT_FILES_ID_FIELD = "id" |
const std::string rms::SLIDES_DEFAULT = "content/slides/" |
const std::string rms::STUDIES_DEFAULT = "user_studies/studies/" |
const std::string rms::STUDIES_ID_FIELD = "id" |
const std::string rms::STUDY_LOGS_DEFAULT = "user_studies/study_logs/" |
const std::string rms::STUDY_LOGS_EXPERIMENTS_ID_FIELD = "expid" |
const std::string rms::STUDY_LOGS_ID_FIELD = "id" |
const std::string rms::USER_ACCOUNTS_DEFAULT = "users/user_accounts/" |
const std::string rms::USER_ACCOUNTS_ID_FIELD = "id" |