Rcpp Version 1.0.9
|
Public Member Functions | |
CppExportsIncludeGenerator (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) |
Public Member Functions inherited from Rcpp::attributes::ExportsGenerator | |
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 | getCCallable (const std::string &function) const |
std::string | getHeaderGuard () const |
Private Attributes | |
std::string | includeDir_ |
Additional Inherited Members | |
Protected Member Functions inherited from Rcpp::attributes::ExportsGenerator | |
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 729 of file attributes.cpp.
Rcpp::attributes::CppExportsIncludeGenerator::CppExportsIncludeGenerator | ( | const std::string & | packageDir, |
const std::string & | package, | ||
const std::string & | fileSep | ||
) |
Definition at line 2186 of file attributes.cpp.
References includeDir_.
|
virtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2339 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::commit(), Rcpp::attributes::createDirectory(), Rcpp::find(), getHeaderGuard(), Rcpp::attributes::ExportsGenerator::hasCppInterface(), includeDir_, Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::packageCpp(), and Rcpp::attributes::ExportsGenerator::remove().
|
privatevirtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2248 of file attributes.cpp.
References Rcpp::attributes::SourceFileAttributes::begin(), Rcpp::attributes::SourceFileAttributes::end(), getCCallable(), Rcpp::attributes::SourceFileAttributes::hasInterface(), Rcpp::attributes::kInterfaceCpp, Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::packageCppPrefix(), and Rcpp::attributes::Function::renamedTo().
|
private |
Definition at line 2391 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::ostr(), and Rcpp::attributes::ExportsGenerator::package().
Referenced by doWriteFunctions(), and writeBegin().
|
private |
Definition at line 2400 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::packageCpp().
Referenced by commit(), and writeEnd().
|
virtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2199 of file attributes.cpp.
References Rcpp::attributes::ExportsGenerator::exportValidationFunctionRegisteredName(), getCCallable(), Rcpp::attributes::ExportsGenerator::ostr(), Rcpp::attributes::ExportsGenerator::package(), and Rcpp::attributes::ExportsGenerator::packageCpp().
|
virtual |
Implements Rcpp::attributes::ExportsGenerator.
Definition at line 2333 of file attributes.cpp.
References getHeaderGuard(), and Rcpp::attributes::ExportsGenerator::ostr().
|
private |
Definition at line 746 of file attributes.cpp.
Referenced by commit(), and CppExportsIncludeGenerator().