RcppParams

Langue: en

Version: 288520 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

RcppParams -

SYNOPSIS


#include <Rcpp.h>

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]

Definition at line 161 of file Rcpp.h.

Referenced by checkNames(), getBoolValue(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getStringValue(), and RcppParams().

SEXP RcppParams::_params [private]

Definition at line 162 of file Rcpp.h.

Referenced by getBoolValue(), getDatetimeValue(), getDateValue(), getDoubleValue(), getIntValue(), getStringValue(), and RcppParams().

Author

Generated automatically by Doxygen for Rcpp from the source code.