Rechercher une page de manuel
RcppFunction
Langue: en
Version: 276847 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Constructor & Destructor Documentation
- Member Function Documentation
- SEXP RcppFunction::listCall ()
- SEXP RcppFunction::vectorCall ()
- void RcppFunction::setRVector (std::vector< double > & v)
- void RcppFunction::setRListSize (int size)
- void RcppFunction::appendToRList (std::string name, double value)
- void RcppFunction::appendToRList (std::string name, int value)
- void RcppFunction::appendToRList (std::string name, std::string value)
- void RcppFunction::appendToRList (std::string name, RcppDate & date)
- void RcppFunction::appendToRList (std::string name, RcppDatetime & datetime)
- void RcppFunction::clearProtectionStack () [inline]
- Member Data Documentation
- Author
NAME
RcppFunction -SYNOPSIS
#include <Rcpp.h>
Inherited by MyRListFunc, and MyRVectorFunc.
Public Member Functions
RcppFunction (SEXP fn)
~RcppFunction ()
SEXP listCall ()
SEXP vectorCall ()
void setRVector (std::vector< double > &v)
void setRListSize (int size)
void appendToRList (std::string name, double value)
void appendToRList (std::string name, int value)
void appendToRList (std::string name, std::string value)
void appendToRList (std::string name, RcppDate &date)
void appendToRList (std::string name, RcppDatetime &datetime)
void clearProtectionStack ()
Private Attributes
SEXP fn
SEXP listArg
SEXP vectorArg
int listSize
int currListPosn
int numProtected
std::vector< std::string > names
Detailed Description
Definition at line 524 of file Rcpp.h.
Constructor & Destructor Documentation
RcppFunction::RcppFunction (SEXP fn) [inline]
Definition at line 526 of file Rcpp.h.
References currListPosn, listArg, listSize, numProtected, and vectorArg.
RcppFunction::~RcppFunction () [inline]
Definition at line 534 of file Rcpp.h.
References numProtected.
Member Function Documentation
SEXP RcppFunction::listCall ()
Definition at line 877 of file Rcpp.cpp.
References currListPosn, fn, listArg, listSize, names, and numProtected.
Referenced by MyRListFunc::addOne().
SEXP RcppFunction::vectorCall ()
Definition at line 897 of file Rcpp.cpp.
References fn, numProtected, and vectorArg.
Referenced by MyRVectorFunc::getSum().
void RcppFunction::setRVector (std::vector< double > & v)
Definition at line 909 of file Rcpp.cpp.
References numProtected, and vectorArg.
Referenced by MyRVectorFunc::getSum().
void RcppFunction::setRListSize (int size)
Definition at line 916 of file Rcpp.cpp.
References listArg, listSize, and numProtected.
Referenced by MyRListFunc::addOne().
void RcppFunction::appendToRList (std::string name, double value)
Definition at line 922 of file Rcpp.cpp.
References currListPosn, listArg, listSize, names, and numProtected.
Referenced by MyRListFunc::addOne().
void RcppFunction::appendToRList (std::string name, int value)
Definition at line 932 of file Rcpp.cpp.
References currListPosn, listArg, listSize, names, and numProtected.
void RcppFunction::appendToRList (std::string name, std::string value)
Definition at line 942 of file Rcpp.cpp.
References currListPosn, listArg, listSize, names, and numProtected.
void RcppFunction::appendToRList (std::string name, RcppDate & date)
Definition at line 952 of file Rcpp.cpp.
References currListPosn, RcppDate::getJDN(), RcppDate::Jan1970Offset, listArg, listSize, names, and numProtected.
void RcppFunction::appendToRList (std::string name, RcppDatetime & datetime)
Definition at line 966 of file Rcpp.cpp.
References currListPosn, RcppDatetime::getFractionalTimestamp(), listArg, listSize, names, and numProtected.
void RcppFunction::clearProtectionStack () [inline]
Definition at line 546 of file Rcpp.h.
References numProtected.
Referenced by MyRListFunc::addOne(), and MyRVectorFunc::getSum().
Member Data Documentation
SEXP RcppFunction::fn [private]
Definition at line 552 of file Rcpp.h.
Referenced by listCall(), and vectorCall().
SEXP RcppFunction::listArg [private]
Definition at line 552 of file Rcpp.h.
Referenced by appendToRList(), listCall(), RcppFunction(), and setRListSize().
SEXP RcppFunction::vectorArg [private]
Definition at line 552 of file Rcpp.h.
Referenced by RcppFunction(), setRVector(), and vectorCall().
int RcppFunction::listSize [private]
Definition at line 553 of file Rcpp.h.
Referenced by appendToRList(), listCall(), RcppFunction(), and setRListSize().
int RcppFunction::currListPosn [private]
Definition at line 553 of file Rcpp.h.
Referenced by appendToRList(), listCall(), and RcppFunction().
int RcppFunction::numProtected [private]
Definition at line 553 of file Rcpp.h.
Referenced by appendToRList(), clearProtectionStack(), listCall(), RcppFunction(), setRListSize(), setRVector(), vectorCall(), and ~RcppFunction().
std::vector<std::string> RcppFunction::names [private]
Definition at line 554 of file Rcpp.h.
Referenced by appendToRList(), and listCall().
Author
Generated automatically by Doxygen for Rcpp from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre