vtkPVProxyDefinitionIterator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkPVProxyDefinitionIterator_h
19 #define vtkPVProxyDefinitionIterator_h
20 
21 #include "vtkObject.h"
22 #include "vtkRemotingServerManagerModule.h" //needed for exports
23 
24 class vtkPVXMLElement;
25 
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32  // ********* Iterator Common methods **********
33 
37  virtual void GoToFirstItem() = 0;
38 
42  virtual void InitTraversal() { this->GoToFirstItem(); }
43 
48  virtual void GoToNextItem() = 0;
49 
53  virtual void GoToNextGroup() = 0;
54 
59  virtual bool IsDoneWithTraversal() = 0;
60 
61  // ********* Configuration methods **********
62 
63  virtual void AddTraversalGroupName(const char* groupName) = 0;
64 
65  // ********* Access methods **********
66 
67  // Access methods
69  virtual const char* GetGroupName() = 0;
71  virtual const char* GetProxyName() = 0;
73  virtual bool IsCustom() { return false; };
75  virtual vtkPVXMLElement* GetProxyDefinition() = 0;
77  virtual vtkPVXMLElement* GetProxyHints() = 0;
78 
79 protected:
81  ~vtkPVProxyDefinitionIterator() override;
82 
83 private:
85  void operator=(const vtkPVProxyDefinitionIterator&) = delete;
86 };
87 
88 #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 &)