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

Method dotNameHelper

src/attributes.cpp:1942–1946  ·  view source on GitHub ↗

Convert a possible dot in package name to underscore as needed for header file

Source from the content-addressed store, hash-verified

1940
1941 // Convert a possible dot in package name to underscore as needed for header file
1942 std::string ExportsGenerator::dotNameHelper(const std::string & name) const {
1943 std::string newname(name);
1944 std::replace(newname.begin(), newname.end(), '.', '_');
1945 return newname;
1946 }
1947
1948 CppExportsGenerator::CppExportsGenerator(const std::string& packageDir,
1949 const std::string& package,

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected