MCPcopy Create free account
hub / github.com/Kitware/VTK / IncludeFile

Method IncludeFile

IO/Geometry/vtkOpenFOAMReader.cxx:2239–2251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2237 }
2238
2239 void IncludeFile(const std::string& includedFileName, const std::string& defaultPath)
2240 {
2241 if (this->StackI >= VTK_OPENFOAM_INCLUDE_STACK_SIZE)
2242 {
2243 throw this->StackString() << "Exceeded maximum #include recursions of "
2244 << VTK_OPENFOAM_INCLUDE_STACK_SIZE;
2245 }
2246 // use the default bitwise copy constructor
2247 this->Stack[this->StackI++] = new vtkFoamFileStack(*this);
2248 this->Superclass::Reset();
2249
2250 this->Open(this->ExpandPath(includedFileName, defaultPath));
2251 }
2252
2253 // the tokenizer
2254 // returns true if success, false if encountered EOF

Callers 1

ReadMethod · 0.95

Calls 3

StackStringMethod · 0.95
OpenMethod · 0.95
ExpandPathMethod · 0.95

Tested by

no test coverage detected