#include <RcppNumList.h>
Public Member Functions | |
RcppNumList (SEXP theList) | |
std::string | getName (int i) const |
double | getValue (int i) const |
int | size () const |
Private Attributes | |
int | len |
SEXP | namedList |
SEXP | names |
Definition at line 28 of file RcppNumList.h.
RcppNumList::RcppNumList | ( | SEXP | theList | ) |
Definition at line 25 of file RcppNumList.cpp.
std::string RcppNumList::getName | ( | int | i | ) | const |
Definition at line 33 of file RcppNumList.cpp.
Referenced by Rcpp_Example().
double RcppNumList::getValue | ( | int | i | ) | const |
Definition at line 42 of file RcppNumList.cpp.
References len, and namedList.
Referenced by Rcpp_Example().
int RcppNumList::size | ( | ) | const |
Definition at line 58 of file RcppNumList.cpp.
References len.
int RcppNumList::len [private] |
Definition at line 35 of file RcppNumList.h.
Referenced by getName(), getValue(), RcppNumList(), and size().
SEXP RcppNumList::namedList [private] |
Definition at line 36 of file RcppNumList.h.
Referenced by getValue(), and RcppNumList().
SEXP RcppNumList::names [private] |
Definition at line 37 of file RcppNumList.h.
Referenced by getName(), and RcppNumList().