vtkSMDoubleMapPropertyIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMDoubleMapPropertyIteratorIterator.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 =========================================================================*/
15 
16 #ifndef vtkSMDoubleMapPropertyIterator_h
17 #define vtkSMDoubleMapPropertyIterator_h
18 
19 #include "vtkRemotingServerManagerModule.h" //needed for exports
20 #include "vtkSMObject.h"
21 
23 class vtkSMDoubleMapPropertyIteratorInternals;
24 
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32  // Description:
33  // Set/get the property to iterate over.
34  virtual void SetProperty(vtkSMDoubleMapProperty* property);
35  vtkGetObjectMacro(Property, vtkSMDoubleMapProperty);
36 
37  // Description:
38  // Go to the first item.
39  virtual void Begin();
40 
41  // Description:
42  // Returns true if iterator points past the end of the collection.
43  virtual int IsAtEnd();
44 
45  // Description:
46  // Move to the next item.
47  virtual void Next();
48 
49  // Description:
50  // Returns the key (index) at the current iterator position.
51  virtual vtkIdType GetKey();
52 
53  // Description:
54  // Returns the value of the component for the current value.
55  virtual double GetElementComponent(unsigned int component);
56 
57 protected:
60 
61 private:
63  void operator=(const vtkSMDoubleMapPropertyIterator&) = delete;
64 
65  vtkSMDoubleMapProperty* Property;
66  vtkSMDoubleMapPropertyIteratorInternals* Internals;
67 };
68 
69 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
int vtkIdType
a map property storing double values
superclass for most server manager classes
Definition: vtkSMObject.h:29
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override