vtkSMIndexSelectionDomain.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSMIndexSelectionDomain.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 ==============================================================================*/
24 #ifndef vtkSMIndexSelectionDomain_h
25 #define vtkSMIndexSelectionDomain_h
26 
27 #include "vtkRemotingServerManagerModule.h" // For export macro
28 #include "vtkSMDomain.h"
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
38  int IsInDomain(vtkSMProperty* property) override;
39 
40  int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values) override;
41 
42  vtkSMProperty* GetInfoProperty() { return this->GetRequiredProperty("Info"); }
43 
44 protected:
46  ~vtkSMIndexSelectionDomain() override;
47 
48 private:
50  void operator=(const vtkSMIndexSelectionDomain&) = delete;
51 };
52 
53 #endif // vtkSMIndexSelectionDomain_h
#define VTKREMOTINGSERVERMANAGER_EXPORT
Select names from an indexed string list.
superclass for all SM properties
virtual int SetDefaultValues(vtkSMProperty *, bool vtkNotUsed(use_unchecked_values))
A vtkSMProperty is often defined with a default value in the XML itself.
Definition: vtkSMDomain.h:103
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
static vtkSMDomain * New()
vtkSMProperty * GetRequiredProperty(const char *function)
Returns a given required property of the given function.