vtkSMFixedTypeDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMFixedTypeDomain.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 =========================================================================*/
28 #ifndef vtkSMFixedTypeDomain_h
29 #define vtkSMFixedTypeDomain_h
30 
31 #include "vtkRemotingServerManagerModule.h" //needed for exports
32 #include "vtkSMDomain.h"
33 
34 class vtkSMSourceProxy;
35 
37 {
38 public:
39  static vtkSMFixedTypeDomain* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
50  int IsInDomain(vtkSMProperty* property) override;
51 
56  virtual int IsInDomain(vtkSMSourceProxy* oldProxy, vtkSMSourceProxy* newProxy);
57 
58 protected:
60  ~vtkSMFixedTypeDomain() override;
61 
62 private:
64  void operator=(const vtkSMFixedTypeDomain&) = delete;
65 };
66 
67 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:49
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int IsInDomain(vtkSMProperty *vtkNotUsed(property))
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
Definition: vtkSMDomain.h:76
proxy for a VTK source on a server
restricts the proxy to have the same type as previous proxy
static vtkSMDomain * New()