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

Method SetFileName

IO/H5part/vtkH5PartReader.cxx:107–126  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

105
106//------------------------------------------------------------------------------
107void vtkH5PartReader::SetFileName(char* filename)
108{
109 if (this->FileName == nullptr && filename == nullptr)
110 {
111 return;
112 }
113 if (this->FileName && filename && (!strcmp(this->FileName, filename)))
114 {
115 return;
116 }
117 delete[] this->FileName;
118 this->FileName = nullptr;
119
120 if (filename)
121 {
122 this->FileName = vtksys::SystemTools::DuplicateString(filename);
123 this->FileModifiedTime.Modified();
124 }
125 this->Modified();
126}
127//------------------------------------------------------------------------------
128void vtkH5PartReader::CloseFile()
129{

Callers 15

TestH5partReaderFunction · 0.45
~vtkHDFReaderMethod · 0.45
~vtkHDFWriterMethod · 0.45
WriteDataMethod · 0.45
WriteDatasetToFileMethod · 0.45
AppendExternalBlockMethod · 0.45
OpenerWorkletMethod · 0.45
TestUGTemporalPolyhedronFunction · 0.45
TestPolyDataTemporalBaseFunction · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by 15

TestH5partReaderFunction · 0.36
OpenerWorkletMethod · 0.36
TestUGTemporalPolyhedronFunction · 0.36
TestPolyDataTemporalBaseFunction · 0.36
TestTemporalDataFunction · 0.36
TestTemporalStaticMeshFunction · 0.36
TestTemporalCompositeFunction · 0.36
ReadImageDataFunction · 0.36
TestImageDataFunction · 0.36