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 VTKREMOTINGCORE_EXPORT vtkPVPythonOptions : public vtkPVOptions
31 {
32 public:
33  static vtkPVPythonOptions* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkGetStringMacro(PythonScriptName);
43 
44 protected:
49 
53  ~vtkPVPythonOptions() override;
54 
58  void Synchronize();
59 
63  int PostProcess(int argc, const char* const* argv) override;
64 
69  int WrongArgument(const char* argument) override;
70 
71  // Options:
72  vtkSetStringMacro(PythonScriptName);
73  char* PythonScriptName;
74 
75 private:
76  vtkPVPythonOptions(const vtkPVPythonOptions&) = delete;
77  void operator=(const vtkPVPythonOptions&) = delete;
78 };
79 
80 #endif // #ifndef vtkPVPythonOptions_h
int PostProcess(int argc, const char *const *argv) override
After parsing, process extra option dependencies.
ParaView options storage.
void PrintSelf(ostream &os, vtkIndent indent) override
ParaView options storage.
Definition: vtkPVOptions.h:37
int WrongArgument(const char *argument) override
This method is called when wrong argument is found.
static vtkPVOptions * New()