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

Method FreeAsciiBuffer

IO/XMLParser/vtkXMLDataParser.cxx:1305–1317  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1303
1304//------------------------------------------------------------------------------
1305void vtkXMLDataParser::FreeAsciiBuffer()
1306{
1307 void* buffer = this->AsciiDataBuffer;
1308 switch (this->AsciiDataWordType)
1309 {
1310 vtkTemplateMacro(vtkXMLDataParserFreeAsciiBuffer(static_cast<VTK_TT*>(buffer)));
1311
1312 case VTK_BIT:
1313 vtkXMLDataParserFreeAsciiBuffer(static_cast<unsigned char*>(buffer));
1314 break;
1315 }
1316 this->AsciiDataBuffer = nullptr;
1317}
1318
1319//------------------------------------------------------------------------------
1320void vtkXMLDataParser::UpdateProgress(float progress)

Callers 2

~vtkXMLDataParserMethod · 0.95
ParseAsciiDataMethod · 0.95

Calls 1

Tested by

no test coverage detected