Stores code and option for python modules.
More...
#include <vtkPVPythonModule.h>
Inherits vtkObject.
|
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| |
|
| virtual char * | GetSource () |
| | Set/get the full Python source for this module. More...
|
| |
| virtual void | SetSource (const char *) |
| | Set/get the full Python source for this module. More...
|
| |
|
| virtual char * | GetFullName () |
| | Set/get the full name for this module (e.g. More...
|
| |
| virtual void | SetFullName (const char *) |
| | Set/get the full name for this module (e.g. More...
|
| |
|
| virtual int | GetIsPackage () |
| | Set/get a flag indicating whether this module is actually a package (which can have submodules). More...
|
| |
| virtual void | SetIsPackage (int) |
| | Set/get a flag indicating whether this module is actually a package (which can have submodules). More...
|
| |
| virtual void | IsPackageOn () |
| | Set/get a flag indicating whether this module is actually a package (which can have submodules). More...
|
| |
| virtual void | IsPackageOff () |
| | Set/get a flag indicating whether this module is actually a package (which can have submodules). More...
|
| |
Stores code and option for python modules.
vtkPVPythonModule is a simple class that stores some Python source code that makes up a Python module as well as some state variables about the module (such as its name).
Definition at line 39 of file vtkPVPythonModule.h.
§ Superclass
§ vtkPVPythonModule()
| vtkPVPythonModule::vtkPVPythonModule |
( |
| ) |
|
|
protected |
§ ~vtkPVPythonModule()
| vtkPVPythonModule::~vtkPVPythonModule |
( |
| ) |
|
|
protected |
§ GetClassName()
| virtual const char* vtkPVPythonModule::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
| static int vtkPVPythonModule::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
| virtual int vtkPVPythonModule::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ New()
§ PrintSelf()
| virtual void vtkPVPythonModule::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
§ GetSource()
| virtual char* vtkPVPythonModule::GetSource |
( |
| ) |
|
|
virtual |
Set/get the full Python source for this module.
§ SetSource()
| virtual void vtkPVPythonModule::SetSource |
( |
const char * |
| ) |
|
|
virtual |
Set/get the full Python source for this module.
§ GetFullName()
| virtual char* vtkPVPythonModule::GetFullName |
( |
| ) |
|
|
virtual |
Set/get the full name for this module (e.g.
package.subpackage.module).
§ SetFullName()
| virtual void vtkPVPythonModule::SetFullName |
( |
const char * |
| ) |
|
|
virtual |
Set/get the full name for this module (e.g.
package.subpackage.module).
§ GetIsPackage()
| virtual int vtkPVPythonModule::GetIsPackage |
( |
| ) |
|
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
§ SetIsPackage()
| virtual void vtkPVPythonModule::SetIsPackage |
( |
int |
| ) |
|
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
§ IsPackageOn()
| virtual void vtkPVPythonModule::IsPackageOn |
( |
| ) |
|
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
§ IsPackageOff()
| virtual void vtkPVPythonModule::IsPackageOff |
( |
| ) |
|
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
§ RegisterModule()
Register the Python module.
Once registered, the module can be retrieved with GetModule and HaveModule. Python interpreters can query these global methods in a custom import mechanism.
§ GetModule()
Return the registered Python module with the given full module name.
If no such module has been registered, this returns NULL.
§ HasModule()
| static int vtkPVPythonModule::HasModule |
( |
const char * |
fullname | ) |
|
|
inlinestatic |
Returns 1 if a Python module with the given full name has been registered, 0 otherwise.
Definition at line 89 of file vtkPVPythonModule.h.
§ Source
| char* vtkPVPythonModule::Source |
|
protected |
§ FullName
| char* vtkPVPythonModule::FullName |
|
protected |
§ IsPackage
| int vtkPVPythonModule::IsPackage |
|
protected |
The documentation for this class was generated from the following file: