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

Method UpdateToNextFile

IO/XML/vtkRTXMLPolyDataReader.cxx:40–52  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38
39//------------------------------------------------------------------------------
40void vtkRTXMLPolyDataReader::UpdateToNextFile()
41{
42 if (!this->Internal->AvailableDataFileList.empty())
43 {
44 // set the Reader to read the new available data file
45 char* fullname = const_cast<char*>(this->Internal->AvailableDataFileList[0].c_str());
46 this->SetFileName(fullname);
47 this->Internal->ProcessedFileList.push_back(this->Internal->AvailableDataFileList[0]);
48 this->Internal->AvailableDataFileList.erase(this->Internal->AvailableDataFileList.begin());
49 this->Update();
50 this->Modified();
51 }
52}
53
54//------------------------------------------------------------------------------
55const char* vtkRTXMLPolyDataReader::GetNextFileName()

Callers

nothing calls this directly

Calls 8

emptyMethod · 0.45
c_strMethod · 0.45
SetFileNameMethod · 0.45
push_backMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
UpdateMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected