Rcpp Version 1.0.9
|
Public Member Functions | |
CppExportsGenerator (const std::string &packageDir, const std::string &package, const std::string &fileSep) | |
virtual void | writeBegin () |
virtual void | writeEnd (bool hasPackageInit) |
virtual bool | commit (const std::vector< std::string > &includes) |
![]() | |
virtual | ~ExportsGenerator () |
const std::string & | targetFile () const |
const std::string & | package () const |
const std::string & | packageCpp () const |
const std::string | packageCppPrefix () const |
void | writeFunctions (const SourceFileAttributes &attributes, bool verbose) |
bool | remove () |
operator std::ostream & () | |
Private Member Functions | |
virtual void | doWriteFunctions (const SourceFileAttributes &attributes, bool verbose) |
std::string | registerCCallable (size_t indent, const std::string &exportedName, const std::string &name) const |
Private Attributes | |
std::vector< Attribute > | initFunctions_ |
std::vector< Attribute > | cppExports_ |
std::vector< Attribute > | nativeRoutines_ |
std::vector< std::string > | modules_ |
Additional Inherited Members | |
![]() | |
ExportsGenerator (const std::string &targetFile, const std::string &package, const std::string &commentPrefix) | |
std::ostream & | ostr () |
bool | hasCppInterface () const |
std::string | exportValidationFunction () |
std::string | exportValidationFunctionRegisteredName () |
std::string | registerCCallableExportedName () |
bool | commit (const std::string &preamble=std::string()) |
std::string | dotNameHelper (const std::string &name) const |
Definition at line 696 of file attributes.cpp.
|
explicit |
Definition at line 1956 of file attributes.cpp.
|
virtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2163 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::commit(), Rcpp::attributes::ExportsGenerator::hasCppInterface(), Rcpp::attributes::initializeGlobals(), and Rcpp::attributes::ExportsGenerator::ostr().
|
privatevirtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 1966 of file attributes.cpp.
References Rcpp::attributes::SourceFileAttributes::begin(), cppExports_, Rcpp::attributes::SourceFileAttributes::end(), Rcpp::attributes::generateCpp(), Rcpp::attributes::SourceFileAttributes::hasInterface(), initFunctions_, Rcpp::attributes::Function::isHidden(), Rcpp::attributes::kInitAttribute, Rcpp::attributes::kInterfaceCpp, Rcpp::attributes::SourceFileAttributes::modules(), modules_, nativeRoutines_, Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::packageCppPrefix(), Rcpp::Rcout, Rcpp::attributes::Function::renamedTo(), and Rcpp::attributes::SourceFileAttributes::sourceFile().
|
private |
Definition at line 2151 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::package(), and Rcpp::attributes::ExportsGenerator::packageCppPrefix().
Referenced by writeEnd().
|
inlinevirtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 702 of file attributes.cpp.
|
virtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2018 of file attributes.cpp.
References Rcpp::attributes::Function::arguments(), callEntries, cppExports_, Rcpp::attributes::Attribute::exportedName(), Rcpp::attributes::ExportsGenerator::exportValidationFunction(), Rcpp::attributes::ExportsGenerator::exportValidationFunctionRegisteredName(), Rcpp::attributes::Attribute::function(), Rcpp::attributes::ExportsGenerator::hasCppInterface(), initFunctions_, modules_, Rcpp::attributes::Function::name(), Rcpp::namespace_env(), nativeRoutines_, Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::packageCpp(), Rcpp::attributes::ExportsGenerator::packageCppPrefix(), Rcpp::attributes::printFunction(), Rcpp::Vector< RTYPE, StoragePolicy >::push_back(), registerCCallable(), Rcpp::attributes::ExportsGenerator::registerCCallableExportedName(), Rcpp::attributes::showWarning(), Rcpp::attributes::Function::signature(), and Rcpp::attributes::ExportsGenerator::targetFile().
|
private |
Definition at line 719 of file attributes.cpp.
Referenced by doWriteFunctions(), and writeEnd().
|
private |
Definition at line 716 of file attributes.cpp.
Referenced by doWriteFunctions(), and writeEnd().
|
private |
Definition at line 725 of file attributes.cpp.
Referenced by doWriteFunctions(), and writeEnd().
|
private |
Definition at line 722 of file attributes.cpp.
Referenced by doWriteFunctions(), and writeEnd().