vtkSIStringVectorProperty.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkSIStringVectorProperty_h
11 #define vtkSIStringVectorProperty_h
12 
13 #include "vtkRemotingServerManagerModule.h" //needed for exports
14 #include "vtkSIVectorProperty.h"
15 
17 {
18 public:
21  void PrintSelf(ostream& os, vtkIndent indent) override;
22 
23 protected:
25  ~vtkSIStringVectorProperty() override;
26 
28  {
29  INT,
31  STRING
32  };
33 
37  bool Push(vtkSMMessage*, int) override;
38 
42  bool Pull(vtkSMMessage*) override;
43 
47  bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element) override;
48 
49 private:
51  void operator=(const vtkSIStringVectorProperty&) = delete;
52 
53  class vtkVectorOfStrings;
54  class vtkVectorOfInts;
55 
56  bool Push(const vtkVectorOfStrings& values);
57  vtkVectorOfInts* ElementTypes;
58 };
59 
60 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSIProperty * New()
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual bool Push(vtkSMMessage *, int)
Push a new state to the underneath implementation.
vtkSIProxy is the server-implementation for a vtkSMProxy that helps the vtkSMProxy with managing/upda...
Definition: vtkSIProxy.h:22
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
bool ReadXMLAttributes(vtkSIProxy *proxyhelper, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
Abstract class for SIProperty that hold an array of values.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
ServerImplementation Property to deal with String array as method arguments.
virtual bool Pull(vtkSMMessage *)
Pull the current state of the underneath implementation.