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

Method ParseChunk

IO/XMLParser/vtkXMLParser.cxx:218–233  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

216
217//------------------------------------------------------------------------------
218int vtkXMLParser::ParseChunk(const char* inputString, unsigned int length)
219{
220 if (!this->Parser)
221 {
222 vtkErrorMacro("Parser not initialized");
223 this->ParseError = 1;
224 return 0;
225 }
226 int res;
227 res = this->ParseBuffer(inputString, length);
228 if (res == 0)
229 {
230 this->ParseError = 1;
231 }
232 return res;
233}
234
235//------------------------------------------------------------------------------
236int vtkXMLParser::CleanupParser()

Callers

nothing calls this directly

Calls 1

ParseBufferMethod · 0.95

Tested by

no test coverage detected