ParaView
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 =========================================================================*/
21 #ifndef vtkSIStringVectorProperty_h
22 #define vtkSIStringVectorProperty_h
23 
24 #include "vtkPVServerImplementationCoreModule.h" //needed for exports
25 #include "vtkSIVectorProperty.h"
26 
27 class VTKPVSERVERIMPLEMENTATIONCORE_EXPORT vtkSIStringVectorProperty : public vtkSIVectorProperty
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
34 protected:
37 
39  {
40  INT,
42  STRING
43  };
44 
48  virtual bool Push(vtkSMMessage*, int);
49 
53  virtual bool Pull(vtkSMMessage*);
54 
58  virtual bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element);
59 
60 private:
61  vtkSIStringVectorProperty(const vtkSIStringVectorProperty&) VTK_DELETE_FUNCTION;
62  void operator=(const vtkSIStringVectorProperty&) VTK_DELETE_FUNCTION;
63 
64  class vtkVectorOfStrings;
65  class vtkVectorOfInts;
66 
67  bool Push(const vtkVectorOfStrings& values);
68  vtkVectorOfInts* ElementTypes;
69 };
70 
71 #endif
static vtkSIProperty * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual bool Push(vtkSMMessage *, int)
Push a new state to the underneath implementation.
virtual bool ReadXMLAttributes(vtkSIProxy *proxyhelper, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
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...
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.