ParaView
vtkPVPythonOptions.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVPythonOptions.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 =========================================================================*/
25 #ifndef vtkPVPythonOptions_h
26 #define vtkPVPythonOptions_h
27 
28 #include "vtkPVOptions.h"
29 
30 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkPVPythonOptions : public vtkPVOptions
31 {
32 public:
33  static vtkPVPythonOptions* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
41  vtkGetStringMacro(PythonScriptName);
43 
44 protected:
49 
53  virtual ~vtkPVPythonOptions();
54 
58  void Synchronize();
59 
63  virtual int PostProcess(int argc, const char* const* argv);
64 
69  virtual int WrongArgument(const char* argument);
70 
71  // Options:
72  vtkSetStringMacro(PythonScriptName);
73  char* PythonScriptName;
74 
75 private:
76  vtkPVPythonOptions(const vtkPVPythonOptions&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkPVPythonOptions&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif // #ifndef vtkPVPythonOptions_h
virtual int PostProcess(int argc, const char *const *argv)
After parsing, process extra option dependencies.
virtual int WrongArgument(const char *argument)
This method is called when wrong argument is found.
void PrintSelf(ostream &os, vtkIndent indent)
ParaView options storage.
ParaView options storage.
Definition: vtkPVOptions.h:33
static vtkPVOptions * New()