RcppParams Class Reference

#include <Rcpp.h>

List of all members.

Public Member Functions

 RcppParams (SEXP params)
void checkNames (char *inputNames[], int len)
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 150 of file Rcpp.h.


Constructor & Destructor Documentation

RcppParams::RcppParams ( SEXP  params  ) 

Definition at line 24 of file Rcpp.cpp.

References _params, and pmap.


Member Function Documentation

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

Definition at line 40 of file Rcpp.cpp.

References pmap.

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

Definition at line 123 of file Rcpp.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

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

Definition at line 146 of file Rcpp.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

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

Definition at line 186 of file Rcpp.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

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

Definition at line 169 of file Rcpp.cpp.

References _params, and pmap.

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

Definition at line 203 of file Rcpp.cpp.

References _params, and pmap.

Referenced by Rcpp_Example(), and RcppParamsExample().

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

Definition at line 226 of file Rcpp.cpp.

References _params, and pmap.


Member Data Documentation

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

SEXP RcppParams::_params [private]


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

Generated on Tue Feb 24 20:27:01 2009 for Rcpp by  doxygen 1.5.6