VTK
vtkWrapPythonMethodDef.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWrapPythonMethodDef.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 VTK_WRAP_PYTHON_METHODDEF_H
17 #define VTK_WRAP_PYTHON_METHODDEF_H
18 
19 #include "vtkParse.h"
20 #include "vtkParseData.h"
21 #include "vtkParseHierarchy.h"
22 
23 /* check whether a method is wrappable */
25  ClassInfo *data, FunctionInfo *currentFunction, HierarchyInfo *hinfo);
26 
27 /* print out all methods and the method table */
29  FILE *fp, const char *classname, ClassInfo *data,
30  FileInfo *finfo, HierarchyInfo *hinfo,
31  int is_vtkobject, int do_constructors);
32 
33 #endif /* VTK_WRAP_PYTHON_METHODDEF_H */
All the entries from a hierarchy file.
FileInfo is for header files.
Definition: vtkParseData.h:222
int vtkWrapPython_MethodCheck(ClassInfo *data, FunctionInfo *currentFunction, HierarchyInfo *hinfo)
void vtkWrapPython_GenerateMethods(FILE *fp, const char *classname, ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo, int is_vtkobject, int do_constructors)
FunctionInfo is for functions and methods.
Definition: vtkParseData.h:121
ClassInfo is for classes, structs, unions, and namespaces.
Definition: vtkParseData.h:175