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

Method GetFile

Common/System/vtkDirectory.cxx:104–113  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

102
103//------------------------------------------------------------------------------
104const char* vtkDirectory::GetFile(vtkIdType index)
105{
106 if (index >= this->Files->GetNumberOfValues() || index < 0)
107 {
108 vtkErrorMacro(<< "Bad index for GetFile on vtkDirectory\n");
109 return nullptr;
110 }
111
112 return this->Files->GetValue(index).c_str();
113}
114
115//------------------------------------------------------------------------------
116vtkIdType vtkDirectory::GetNumberOfFiles()

Callers 15

collectMetaDataMethod · 0.45
GetFieldNamesMethod · 0.45
MakeInformationVectorMethod · 0.45
ReadTimeStepsMethod · 0.45
vtkImageReaderUpdate2Function · 0.45
vtkImageReader2UpdateFunction · 0.45
ExecuteInformationMethod · 0.45
NewDataAvailableMethod · 0.45
ResetReaderMethod · 0.45
GetRelatedFilesMethod · 0.45

Calls 3

GetNumberOfValuesMethod · 0.45
c_strMethod · 0.45
GetValueMethod · 0.45

Tested by 5

getFilesFunction · 0.36
testGlobFileNamesMethod · 0.36
ExecuteFunctionFunction · 0.36
RunFunction · 0.36
TestDirectoryFunction · 0.36