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

Method LoadXMLState

Remoting/ServerManager/vtkSMSessionProxyManager.cxx:1201–1210  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1199
1200//---------------------------------------------------------------------------
1201void vtkSMSessionProxyManager::LoadXMLState(
1202 const char* filename, vtkSMStateLoader* loader /*=nullptr*/, vtkTypeUInt32 location)
1203{
1204 const std::string contents = this->LoadString(filename, location);
1205 vtkPVXMLParser* parser = vtkPVXMLParser::New();
1206 parser->Parse(contents.c_str());
1207
1208 this->LoadXMLState(parser->GetRootElement(), loader);
1209 parser->Delete();
1210}
1211
1212//---------------------------------------------------------------------------
1213void vtkSMSessionProxyManager::LoadXMLState(vtkPVXMLElement* rootElement,

Callers

nothing calls this directly

Calls 7

LoadStringMethod · 0.95
GetRootElementMethod · 0.80
NewFunction · 0.70
ParseMethod · 0.45
DeleteMethod · 0.45
LoadStateMethod · 0.45

Tested by

no test coverage detected