ParaView
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 "vtkPVServerManagerCoreModule.h" // For export macro
28 #include "vtkSMDomain.h"
29 
30 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMIndexSelectionDomain : public vtkSMDomain
31 {
32 public:
33  vtkTypeMacro(vtkSMIndexSelectionDomain, vtkSMDomain) virtual void PrintSelf(
34  ostream& os, vtkIndent indent);
35  static vtkSMIndexSelectionDomain* New();
36 
37  virtual int IsInDomain(vtkSMProperty* property);
38 
39  virtual int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values);
40 
41  vtkSMProperty* GetInfoProperty() { return this->GetRequiredProperty("Info"); }
42 
43 protected:
46 
47 private:
48  vtkSMIndexSelectionDomain(const vtkSMIndexSelectionDomain&) VTK_DELETE_FUNCTION;
49  void operator=(const vtkSMIndexSelectionDomain&) VTK_DELETE_FUNCTION;
50 };
51 
52 #endif // vtkSMIndexSelectionDomain_h
Select names from an indexed string list.
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:48
vtkSMProperty * GetRequiredProperty(const char *function)
Returns a given required property of the given function.