------------------------------------------------------------------------------
| 216 | |
| 217 | //------------------------------------------------------------------------------ |
| 218 | int 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 | //------------------------------------------------------------------------------ |
| 236 | int vtkXMLParser::CleanupParser() |
nothing calls this directly
no test coverage detected