vtkSMDeserializerXMLCache.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkSMDeserializerXMLCache_h
12 #define vtkSMDeserializerXMLCache_h
13 
14 #include "vtkRemotingServerManagerModule.h" //needed for exports
15 #include "vtkSMDeserializerXML.h"
16 
17 class vtkPVXMLElement;
18 class vtkSMProxy;
19 class vtkSMProxyLocator;
20 class vtkSMSession;
21 
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
32  virtual void CacheXMLProxyState(vtkTypeUInt32 id, vtkPVXMLElement* xml);
33 
34 protected:
36  ~vtkSMDeserializerXMLCache() override;
37 
38  // Friend to access NewProxy().
39  friend class vtkSMProxyLocator;
40 
44  vtkPVXMLElement* LocateProxyElement(vtkTypeUInt32 id) override;
45 
46 private:
48  void operator=(const vtkSMDeserializerXMLCache&) = delete;
49 
50  class vtkInternal;
51  vtkInternal* Internals;
52 };
53 
54 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
Definition: vtkSMSession.h:22
static vtkSMDeserializerXML * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
is used to locate proxies referred to in state xmls while loading state files.
deserializes proxies from their XML states.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
deserializes proxies from their XML states.
virtual vtkPVXMLElement * LocateProxyElement(vtkTypeUInt32 id)
Locate the XML for the proxy with the given id.