MCPcopy Create free account
hub / github.com/Kitware/ParaView / VerifyXMLVersion

Method VerifyXMLVersion

Remoting/ServerManager/vtkSMStateLoader.cxx:496–507  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

494
495//---------------------------------------------------------------------------
496bool 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//---------------------------------------------------------------------------
510int vtkSMStateLoader::LoadState(vtkPVXMLElement* elem, bool keepOriginalId)

Callers 1

LoadStateInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected