Rcpp Version 0.12.12
Rcpp::attributes::CppPackageIncludeGenerator Class Reference
Inheritance diagram for Rcpp::attributes::CppPackageIncludeGenerator:
Collaboration diagram for Rcpp::attributes::CppPackageIncludeGenerator:

Public Member Functions

 CppPackageIncludeGenerator (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 &, bool)
 
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())
 

Detailed Description

Definition at line 708 of file attributes.cpp.

Constructor & Destructor Documentation

Rcpp::attributes::CppPackageIncludeGenerator::CppPackageIncludeGenerator ( const std::string &  packageDir,
const std::string &  package,
const std::string &  fileSep 
)

Definition at line 2279 of file attributes.cpp.

References includeDir_.

Member Function Documentation

bool Rcpp::attributes::CppPackageIncludeGenerator::commit ( const std::vector< std::string > &  includes)
virtual
virtual void Rcpp::attributes::CppPackageIncludeGenerator::doWriteFunctions ( const SourceFileAttributes ,
bool   
)
inlineprivatevirtual

Implements Rcpp::attributes::ExportsGenerator.

Definition at line 719 of file attributes.cpp.

std::string Rcpp::attributes::CppPackageIncludeGenerator::getHeaderGuard ( ) const
private

Definition at line 2321 of file attributes.cpp.

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

Referenced by writeEnd().

Here is the call graph for this function:

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

Implements Rcpp::attributes::ExportsGenerator.

Definition at line 714 of file attributes.cpp.

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

Member Data Documentation

std::string Rcpp::attributes::CppPackageIncludeGenerator::includeDir_
private

Definition at line 723 of file attributes.cpp.

Referenced by commit(), and CppPackageIncludeGenerator().


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