Rcpp Version 1.0.9
|
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <cstring>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <Rcpp.h>
Go to the source code of this file.
Namespaces | |
Rcpp | |
Rcpp API. | |
Rcpp::attributes | |
Macros | |
#define | COMPILING_RCPP |
#define | RCPP_NO_SUGAR |
Functions | |
bool | Rcpp::attributes::removeFile (const std::string &path) |
void | Rcpp::attributes::createDirectory (const std::string &path) |
bool | Rcpp::attributes::isWhitespace (char ch) |
void | Rcpp::attributes::trimWhitespace (std::string *pStr) |
void | Rcpp::attributes::stripTrailingLineComments (std::string *pStr) |
void | Rcpp::attributes::stripQuotes (std::string *pStr) |
bool | Rcpp::attributes::isQuoted (const std::string &str) |
bool | Rcpp::attributes::endsWith (const std::string &str, const std::string &suffix) |
void | Rcpp::attributes::showWarning (const std::string &msg) |
bool | Rcpp::attributes::isRoxygenCpp (const std::string &str) |
std::ostream & | Rcpp::attributes::operator<< (std::ostream &os, const Type &type) |
std::ostream & | Rcpp::attributes::operator<< (std::ostream &os, const Argument &argument) |
std::ostream & | Rcpp::attributes::operator<< (std::ostream &os, const Function &function) |
std::ostream & | Rcpp::attributes::operator<< (std::ostream &os, const Param ¶m) |
std::ostream & | Rcpp::attributes::operator<< (std::ostream &os, const Attribute &attribute) |
std::string | Rcpp::attributes::generateRArgList (const Function &function) |
bool | Rcpp::attributes::checkRSignature (const Function &function, std::string args) |
void | Rcpp::attributes::initializeGlobals (std::ostream &ostr) |
void | Rcpp::attributes::generateCpp (std::ostream &ostr, const SourceFileAttributes &attributes, bool includePrototype, bool cppInterface, const std::string &contextId) |
void | Rcpp::attributes::printArgument (std::ostream &os, const Argument &argument, bool printDefault=true) |
void | Rcpp::attributes::printFunction (std::ostream &os, const Function &function, bool printArgDefaults=true) |
RcppExport SEXP | sourceCppContext (SEXP sFile, SEXP sCode, SEXP sRebuild, SEXP sCacheDir, SEXP sPlatform) |
RcppExport SEXP | compileAttributes (SEXP sPackageDir, SEXP sPackageName, SEXP sDepends, SEXP sRegistration, SEXP sCppFiles, SEXP sCppFileBasenames, SEXP sIncludes, SEXP sVerbose, SEXP sPlatform) |
#define COMPILING_RCPP |
Definition at line 22 of file attributes.cpp.
#define RCPP_NO_SUGAR |
Definition at line 38 of file attributes.cpp.
RcppExport SEXP compileAttributes | ( | SEXP | sPackageDir, |
SEXP | sPackageName, | ||
SEXP | sDepends, | ||
SEXP | sRegistration, | ||
SEXP | sCppFiles, | ||
SEXP | sCppFileBasenames, | ||
SEXP | sIncludes, | ||
SEXP | sVerbose, | ||
SEXP | sPlatform | ||
) |
Definition at line 3620 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerators::add(), Rcpp::Vector< RTYPE, StoragePolicy >::begin(), Rcpp::attributes::SourceFileAttributesParser::begin(), BEGIN_RCPP, Rcpp::attributes::ExportsGenerators::commit(), Rcpp::diff(), Rcpp::Vector< RTYPE, StoragePolicy >::end(), Rcpp::attributes::SourceFileAttributesParser::end(), END_RCPP, Rcpp::attributes::endsWith(), Rcpp::file_io_error::filePath(), Rcpp::attributes::SourceFileAttributesParser::hasGeneratorOutput(), Rcpp::attributes::SourceFileAttributesParser::hasPackageInit(), Rcpp::attributes::kDependsAttribute, Rcpp::Rcout, Rcpp::attributes::ExportsGenerators::remove(), Rcpp::attributes::showWarning(), Rcpp::attributes::ExportsGenerators::writeBegin(), Rcpp::attributes::ExportsGenerators::writeEnd(), and Rcpp::attributes::ExportsGenerators::writeFunctions().
RcppExport SEXP sourceCppContext | ( | SEXP | sFile, |
SEXP | sCode, | ||
SEXP | sRebuild, | ||
SEXP | sCacheDir, | ||
SEXP | sPlatform | ||
) |
Definition at line 3556 of file attributes.cpp.
References Rcpp::_, BEGIN_RCPP, Rcpp::Vector< VECSXP >::create(), and END_RCPP.