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

Method ParseBuffer

IO/XMLParser/vtkXMLParser.cxx:378–387  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

376
377//------------------------------------------------------------------------------
378int vtkXMLParser::ParseBuffer(const char* buffer, unsigned int count)
379{
380 // Pass the buffer to the expat XML parser.
381 if (!XML_Parse(static_cast<XML_Parser>(this->Parser), buffer, count, 0))
382 {
383 this->ReportXmlParseError();
384 return 0;
385 }
386 return 1;
387}
388
389//------------------------------------------------------------------------------
390int vtkXMLParser::ParseBuffer(const char* buffer)

Callers 2

ParseChunkMethod · 0.95
ParseXMLMethod · 0.95

Calls 2

ReportXmlParseErrorMethod · 0.95
XML_ParseFunction · 0.85

Tested by

no test coverage detected