#include <Rcpp.h>
Public Member Functions | |
RcppParams (SEXP params) | |
void | checkNames (char *inputNames[], int len) |
bool | exists (std::string name) |
double | getDoubleValue (std::string name) |
int | getIntValue (std::string name) |
std::string | getStringValue (std::string name) |
bool | getBoolValue (std::string name) |
RcppDate | getDateValue (std::string name) |
RcppDatetime | getDatetimeValue (std::string name) |
Private Attributes | |
std::map< std::string, int > | pmap |
SEXP | _params |
Definition at line 151 of file Rcpp.h.
RcppParams::RcppParams | ( | SEXP | params | ) |
void RcppParams::checkNames | ( | char * | inputNames[], | |
int | len | |||
) |
bool RcppParams::exists | ( | std::string | name | ) |
bool RcppParams::getBoolValue | ( | std::string | name | ) |
RcppDatetime RcppParams::getDatetimeValue | ( | std::string | name | ) |
RcppDate RcppParams::getDateValue | ( | std::string | name | ) |
Definition at line 212 of file Rcpp.cpp.
Referenced by Rcpp_Example(), and RcppParamsExample().
double RcppParams::getDoubleValue | ( | std::string | name | ) |
Definition at line 132 of file Rcpp.cpp.
Referenced by Rcpp_Example(), and RcppParamsExample().
int RcppParams::getIntValue | ( | std::string | name | ) |
Definition at line 155 of file Rcpp.cpp.
Referenced by Rcpp_Example(), and RcppParamsExample().
std::string RcppParams::getStringValue | ( | std::string | name | ) |
Definition at line 195 of file Rcpp.cpp.
Referenced by Rcpp_Example(), and RcppParamsExample().
SEXP RcppParams::_params [private] |
Definition at line 164 of file Rcpp.h.
Referenced by getBoolValue(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getStringValue(), and RcppParams().
std::map<std::string, int> RcppParams::pmap [private] |
Definition at line 163 of file Rcpp.h.
Referenced by checkNames(), exists(), getBoolValue(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getStringValue(), and RcppParams().