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

Method GetNthFileName

IO/Core/vtkGlobFileNames.cxx:121–130  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

119
120//------------------------------------------------------------------------------
121const char* vtkGlobFileNames::GetNthFileName(int index)
122{
123 if (index >= this->FileNames->GetNumberOfValues() || index < 0)
124 {
125 vtkErrorMacro(<< "Bad index for GetFileName on vtkGlobFileNames\n");
126 return nullptr;
127 }
128
129 return this->FileNames->GetValue(index).c_str();
130}
131
132//------------------------------------------------------------------------------
133int vtkGlobFileNames::GetNumberOfFileNames()

Callers 2

testGlobFileNamesMethod · 0.80
LoadRenderModelMappingFunction · 0.80

Calls 3

GetNumberOfValuesMethod · 0.45
c_strMethod · 0.45
GetValueMethod · 0.45

Tested by 1

testGlobFileNamesMethod · 0.64