vtkSMFixedTypeDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkSMFixedTypeDomain_h
17 #define vtkSMFixedTypeDomain_h
18 
19 #include "vtkRemotingServerManagerModule.h" //needed for exports
20 #include "vtkSMDomain.h"
21 
22 class vtkSMSourceProxy;
23 
24 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMFixedTypeDomain : public vtkSMDomain
25 {
26 public:
27  static vtkSMFixedTypeDomain* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
38  int IsInDomain(vtkSMProperty* property) override;
39 
44  virtual int IsInDomain(vtkSMSourceProxy* oldProxy, vtkSMSourceProxy* newProxy);
45 
46 protected:
48  ~vtkSMFixedTypeDomain() override;
49 
50 private:
52  void operator=(const vtkSMFixedTypeDomain&) = delete;
53 };
54 
55 #endif
vtkSMFixedTypeDomain
restricts the proxy to have the same type as previous proxy
Definition: vtkSMFixedTypeDomain.h:24
vtkSMDomain::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkSMSourceProxy
proxy for a VTK source on a server
Definition: vtkSMSourceProxy.h:37
vtkIndent
vtkSMDomain
represents the possible values a property can have
Definition: vtkSMDomain.h:37
vtkSMDomain::New
static vtkSMDomain * New()
vtkSMDomain::IsInDomain
virtual int IsInDomain(vtkSMProperty *vtkNotUsed(property))
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
Definition: vtkSMDomain.h:64
vtkSMDomain.h