------------------------------------------------------------------------------
| 119 | |
| 120 | //------------------------------------------------------------------------------ |
| 121 | const 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 | //------------------------------------------------------------------------------ |
| 133 | int vtkGlobFileNames::GetNumberOfFileNames() |