---------------------------------------------------------------------------
| 494 | |
| 495 | //--------------------------------------------------------------------------- |
| 496 | bool vtkSMStateLoader::VerifyXMLVersion(vtkPVXMLElement* rootElement) |
| 497 | { |
| 498 | const char* version = rootElement->GetAttribute("version"); |
| 499 | if (!version) |
| 500 | { |
| 501 | vtkWarningMacro("ServerManagerState missing \"version\" information."); |
| 502 | return true; |
| 503 | } |
| 504 | |
| 505 | // Nothing to check here really. |
| 506 | return true; |
| 507 | } |
| 508 | |
| 509 | //--------------------------------------------------------------------------- |
| 510 | int vtkSMStateLoader::LoadState(vtkPVXMLElement* elem, bool keepOriginalId) |