MCPcopy Create free account
hub / github.com/Kitware/CMake / ProcessFile

Method ProcessFile

Source/cmRST.cxx:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool cmRST::ProcessFile(std::string const& fname, bool isModule)
54{
55 cmsys::ifstream fin(fname.c_str());
56 if (fin) {
57 this->DocDir = cmSystemTools::GetFilenamePath(fname);
58 if (isModule) {
59 this->ProcessModule(fin);
60 } else {
61 this->ProcessRST(fin);
62 }
63 this->OutputLinePending = true;
64 return true;
65 }
66 return false;
67}
68
69void cmRST::ProcessRST(std::istream& is)
70{

Callers 3

testRSTFunction · 0.80
ProcessIncludeMethod · 0.80
PrintFilesMethod · 0.80

Calls 3

ProcessModuleMethod · 0.95
ProcessRSTMethod · 0.95
c_strMethod · 0.80

Tested by 1

testRSTFunction · 0.64