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

Method CreateParser

IO/XMLParser/vtkXMLParser.cxx:178–188  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

176
177//------------------------------------------------------------------------------
178int vtkXMLParser::CreateParser()
179{
180 if (this->Parser)
181 {
182 vtkErrorMacro("Parser already created");
183 return 0;
184 }
185 // Create the expat XML parser.
186 this->Parser = XML_ParserCreate(this->Encoding);
187 return this->Parser ? 1 : 0;
188}
189
190//------------------------------------------------------------------------------
191int vtkXMLParser::InitializeParser()

Callers 2

ParseMethod · 0.95
InitializeParserMethod · 0.95

Calls 1

XML_ParserCreateFunction · 0.85

Tested by

no test coverage detected