RcppParams Class Reference

#include <RcppParams.h>

List of all members.

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

Detailed Description

Definition at line 30 of file RcppParams.h.


Constructor & Destructor Documentation

RcppParams::RcppParams ( SEXP  params  ) 

Definition at line 25 of file RcppParams.cpp.

References _params, and pmap.


Member Function Documentation

void RcppParams::checkNames ( char *  inputNames[],
int  len 
)

Definition at line 41 of file RcppParams.cpp.

References pmap.

bool RcppParams::exists ( std::string  name  ) 

Definition at line 51 of file RcppParams.cpp.

References pmap.

bool RcppParams::getBoolValue ( std::string  name  ) 

Definition at line 123 of file RcppParams.cpp.

References _params, and pmap.

RcppDatetime RcppParams::getDatetimeValue ( std::string  name  ) 

Definition at line 163 of file RcppParams.cpp.

References _params, and pmap.

RcppDate RcppParams::getDateValue ( std::string  name  ) 

Definition at line 140 of file RcppParams.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

double RcppParams::getDoubleValue ( std::string  name  ) 

Definition at line 60 of file RcppParams.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

int RcppParams::getIntValue ( std::string  name  ) 

Definition at line 83 of file RcppParams.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

std::string RcppParams::getStringValue ( std::string  name  ) 

Definition at line 106 of file RcppParams.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().


Member Data Documentation

SEXP RcppParams::_params [private]
std::map<std::string, int> RcppParams::pmap [private]

The documentation for this class was generated from the following files:

Generated on Sat Jan 2 15:42:18 2010 for Rcpp by  doxygen 1.6.1