MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / CppPackageIncludeGenerator

Method CppPackageIncludeGenerator

src/attributes.cpp:2396–2407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2394 }
2395
2396 CppPackageIncludeGenerator::CppPackageIncludeGenerator(
2397 const std::string& packageDir,
2398 const std::string& package,
2399 const std::string& fileSep)
2400 : ExportsGenerator(
2401 packageDir + fileSep + "inst" + fileSep + "include" +
2402 fileSep + dotNameHelper(package) + ".h",
2403 package,
2404 "//")
2405 {
2406 includeDir_ = packageDir + fileSep + "inst" + fileSep + "include";
2407 }
2408
2409 void CppPackageIncludeGenerator::writeEnd(bool) {
2410 if (hasCppInterface()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected