------------------------------------------------------------------------------
| 53 | |
| 54 | //------------------------------------------------------------------------------ |
| 55 | void vtkXMLFileReadTester::StartElement(const char* name, const char** atts) |
| 56 | { |
| 57 | this->Done = 1; |
| 58 | if (strcmp(name, "VTKFile") == 0) |
| 59 | { |
| 60 | for (unsigned int i = 0; atts[i] && atts[i + 1]; i += 2) |
| 61 | { |
| 62 | if (strcmp(atts[i], "type") == 0) |
| 63 | { |
| 64 | this->SetFileDataType(atts[i + 1]); |
| 65 | } |
| 66 | else if (strcmp(atts[i], "version") == 0) |
| 67 | { |
| 68 | this->SetFileVersion(atts[i + 1]); |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | //------------------------------------------------------------------------------ |
| 75 | int vtkXMLFileReadTester::ParsingComplete() |
nothing calls this directly
no test coverage detected