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

Method Parse

IO/XMLParser/vtkXMLDataParser.cxx:111–126  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

109
110//------------------------------------------------------------------------------
111int vtkXMLDataParser::Parse()
112{
113 // Delete any elements left from previous parsing.
114 this->FreeAllElements();
115
116 // Parse the input from the stream.
117 int result = this->Superclass::Parse();
118
119 // Check that the input is okay.
120 if (result && !this->CheckPrimaryAttributes())
121 {
122 result = 0;
123 }
124
125 return result;
126}
127
128//------------------------------------------------------------------------------
129int vtkXMLDataParser::Parse(const char*)

Callers

nothing calls this directly

Calls 2

FreeAllElementsMethod · 0.95

Tested by

no test coverage detected