Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::attributes::RExportsGenerator Class Reference
Inheritance diagram for Rcpp::attributes::RExportsGenerator:
Collaboration diagram for Rcpp::attributes::RExportsGenerator:

Public Member Functions

 RExportsGenerator (const std::string &packageDir, const std::string &package, bool registration, 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)

Private Attributes

bool registration_

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

Detailed Description

Definition at line 762 of file attributes.cpp.

Constructor & Destructor Documentation

◆ RExportsGenerator()

Rcpp::attributes::RExportsGenerator::RExportsGenerator ( const std::string & packageDir,
const std::string & package,
bool registration,
const std::string & fileSep )

Definition at line 2441 of file attributes.cpp.

References Rcpp::attributes::ExportsGenerator::ExportsGenerator(), Rcpp::attributes::ExportsGenerator::package(), and registration_.

Here is the call graph for this function:

Member Function Documentation

◆ commit()

bool Rcpp::attributes::RExportsGenerator::commit ( const std::vector< std::string > & includes)
virtual

Implements Rcpp::attributes::ExportsGenerator.

Definition at line 2546 of file attributes.cpp.

References Rcpp::attributes::ExportsGenerator::commit().

Here is the call graph for this function:

◆ doWriteFunctions()

◆ writeBegin()

virtual void Rcpp::attributes::RExportsGenerator::writeBegin ( )
inlinevirtual

Implements Rcpp::attributes::ExportsGenerator.

Definition at line 769 of file attributes.cpp.

◆ writeEnd()

void Rcpp::attributes::RExportsGenerator::writeEnd ( bool hasPackageInit)
virtual

Member Data Documentation

◆ registration_

bool Rcpp::attributes::RExportsGenerator::registration_
private

Definition at line 777 of file attributes.cpp.

Referenced by doWriteFunctions(), RExportsGenerator(), and writeEnd().


The documentation for this class was generated from the following file: