------------------------------------------------------------------------------
| 109 | |
| 110 | //------------------------------------------------------------------------------ |
| 111 | int 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 | //------------------------------------------------------------------------------ |
| 129 | int vtkXMLDataParser::Parse(const char*) |
nothing calls this directly
no test coverage detected