VTK
vtkWrapPythonOverload.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWrapPythonOverload.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 vtkWrapPythonOverload_h
17 #define vtkWrapPythonOverload_h
18 
19 #include "vtkParse.h"
20 #include "vtkParseData.h"
21 #include "vtkParseHierarchy.h"
22 
23 /* output the method table for all overloads of a particular method */
25  FILE *fp, const char *classname, ClassInfo *data, int *overloadMap,
26  FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions, int fnum,
27  int numberOfOccurrences, int all_legacy);
28 
29 /* a master method to choose which overload to call */
31  FILE *fp, const char *classname, int *overloadMap, int maxArgs,
32  FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions, int fnum,
33  int is_vtkobject, int all_legacy);
34 
35 /* generate an int array that maps arg counts to overloads */
37  FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions,
38  int fnum, int is_vtkobject, int *nmax, int *overlap);
39 
40 #endif /* vtkWrapPythonOverload_h */
void vtkWrapPython_OverloadMethodDef(FILE *fp, const char *classname, ClassInfo *data, int *overloadMap, FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions, int fnum, int numberOfOccurrences, int all_legacy)
void vtkWrapPython_OverloadMasterMethod(FILE *fp, const char *classname, int *overloadMap, int maxArgs, FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions, int fnum, int is_vtkobject, int all_legacy)
FunctionInfo is for functions and methods.
Definition: vtkParseData.h:121
ClassInfo is for classes, structs, unions, and namespaces.
Definition: vtkParseData.h:175
int * vtkWrapPython_ArgCountToOverloadMap(FunctionInfo **wrappedFunctions, int numberOfWrappedFunctions, int fnum, int is_vtkobject, int *nmax, int *overlap)