vtkSMStateVersionController.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMStateVersionController.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkSMStateVersionController_h
23 #define vtkSMStateVersionController_h
24 
25 #include "vtkRemotingServerManagerModule.h" //needed for exports
26 #include "vtkSMObject.h"
27 
28 class vtkSMSession;
29 
30 class vtkPVXMLElement;
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
46  virtual bool Process(vtkPVXMLElement* root, vtkSMSession* session = nullptr);
47 
48 protected:
50  ~vtkSMStateVersionController() override;
51 
52 private:
54  void operator=(const vtkSMStateVersionController&) = delete;
55 };
56 
57 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
Definition: vtkSMSession.h:35
vtkSMStateVersionController is used to convert the state XML from any previously supported versions t...
superclass for most server manager classes
Definition: vtkSMObject.h:29
static vtkSMObject * New()
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void PrintSelf(ostream &os, vtkIndent indent) override