vtkPVProxyDefinitionIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVProxyDefinitionIterator.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 =========================================================================*/
30 #ifndef vtkPVProxyDefinitionIterator_h
31 #define vtkPVProxyDefinitionIterator_h
32 
33 #include "vtkObject.h"
34 #include "vtkRemotingServerManagerModule.h" //needed for exports
35 
36 class vtkPVXMLElement;
37 
39 {
40 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
44  // ********* Iterator Common methods **********
45 
49  virtual void GoToFirstItem() = 0;
50 
54  virtual void InitTraversal() { this->GoToFirstItem(); }
55 
60  virtual void GoToNextItem() = 0;
61 
65  virtual void GoToNextGroup() = 0;
66 
71  virtual bool IsDoneWithTraversal() = 0;
72 
73  // ********* Configuration methods **********
74 
75  virtual void AddTraversalGroupName(const char* groupName) = 0;
76 
77  // ********* Access methods **********
78 
79  // Access methods
81  virtual const char* GetGroupName() = 0;
83  virtual const char* GetProxyName() = 0;
85  virtual bool IsCustom() { return false; };
87  virtual vtkPVXMLElement* GetProxyDefinition() = 0;
89  virtual vtkPVXMLElement* GetProxyHints() = 0;
90 
91 protected:
93  ~vtkPVProxyDefinitionIterator() override;
94 
95 private:
97  void operator=(const vtkPVProxyDefinitionIterator&) = delete;
98 };
99 
100 #endif
virtual void InitTraversal()
Reset the iterator and move it to the head.
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual bool IsCustom()
Return true if the current definition has been defined in the Custom scope.
iterates over all proxy definitions from which the vtkSMProxyManager can use to create new proxy...
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void operator=(const vtkObjectBase &)