VTK
vtkWrapPythonClass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWrapPythonClass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
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 =========================================================================*/
15 
16 #ifndef vtkWrapPythonClass_h
17 #define vtkWrapPythonClass_h
18 
19 #include "vtkParse.h"
20 #include "vtkParseData.h"
21 #include "vtkParseHierarchy.h"
22 
23 /* Wrap one class, returns zero if not wrappable */
25  FILE *fp, const char *module, const char *classname,
26  ClassInfo *data, FileInfo *file_info, HierarchyInfo *hinfo,
27  int is_vtkobject);
28 
29 /* get the true superclass */
30 const char *vtkWrapPython_GetSuperClass(
31  ClassInfo *data, HierarchyInfo *hinfo);
32 
33 /* check whether the superclass of the specified class is wrapped */
35  HierarchyInfo *hinfo, const char *classname, int *is_external);
36 
37 /* generate the class docstring and write it to "fp" */
39  FILE *fp, FileInfo *file_info, ClassInfo *data, HierarchyInfo *hinfo,
40  int is_vtkobject);
41 
42 #endif /* vtkWrapPythonClass_h */
int vtkWrapPython_WrapOneClass(FILE *fp, const char *module, const char *classname, ClassInfo *data, FileInfo *file_info, HierarchyInfo *hinfo, int is_vtkobject)
void vtkWrapPython_ClassDoc(FILE *fp, FileInfo *file_info, ClassInfo *data, HierarchyInfo *hinfo, int is_vtkobject)
All the entries from a hierarchy file.
FileInfo is for header files.
Definition: vtkParseData.h:222
int vtkWrapPython_HasWrappedSuperClass(HierarchyInfo *hinfo, const char *classname, int *is_external)
ClassInfo is for classes, structs, unions, and namespaces.
Definition: vtkParseData.h:175
const char * vtkWrapPython_GetSuperClass(ClassInfo *data, HierarchyInfo *hinfo)