Classes | Namespaces | Enumerations | Functions | Variables
rms.h File Reference

C++ client library for the RMS API. More...

#include <curl/curl.h>
#include <json/json.h>
#include <rmscpp/config/javascript_files/javascript_file.h>
#include <rmscpp/content/articles/article.h>
#include <rmscpp/content/content_pages/content_page.h>
#include <rmscpp/content/slides/slide.h>
#include <rmscpp/user_studies/experiments/experiment.h>
#include <rmscpp/user_studies/conditions/condition.h>
#include <rmscpp/user_studies/studies/study.h>
#include <rmscpp/user_studies/study_logs/study_log.h>
#include <rmscpp/users/user_accounts/user_account.h>
#include <string>
#include <vector>
Include dependency graph for rms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rms::rms_client
 Provides direct communication to the RMS API to via cURL. More...
struct  rms::rms_response

Namespaces

namespace  rms

Enumerations

enum  rms::PROTOCOL { rms::HTTP_PROTOCOL, rms::HTTPS_PROTOCOL }

Functions

size_t rms::write_data (char *ptr, size_t size, size_t nmemb, rms::rms_response *buf)

Variables

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"

Detailed Description

C++ client library for the RMS API.

The rms_client allows easy communication to the RMS API.

Author:
Russell Toris, WPI - rctoris@wpi.edu
Date:
December 30, 2012

Definition in file rms.h.



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