vtkSIStringVectorProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSIStringVectorProperty.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 vtkSIStringVectorProperty_h
23 #define vtkSIStringVectorProperty_h
24 
25 #include "vtkRemotingServerManagerModule.h" //needed for exports
26 #include "vtkSIVectorProperty.h"
27 
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35 protected:
37  ~vtkSIStringVectorProperty() override;
38 
40  {
41  INT,
43  STRING
44  };
45 
49  bool Push(vtkSMMessage*, int) override;
50 
54  bool Pull(vtkSMMessage*) override;
55 
59  bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element) override;
60 
61 private:
63  void operator=(const vtkSIStringVectorProperty&) = delete;
64 
65  class vtkVectorOfStrings;
66  class vtkVectorOfInts;
67 
68  bool Push(const vtkVectorOfStrings& values);
69  vtkVectorOfInts* ElementTypes;
70  bool NeedReencoding;
71 };
72 
73 #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:34
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.