VTK
vtkWrapPythonTemplate.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWrapPythonTemplate.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 vtkWrapPythonTemplate_h
17 #define vtkWrapPythonTemplate_h
18 
19 #include "vtkParse.h"
20 #include "vtkParseData.h"
21 #include "vtkParseHierarchy.h"
22 
23 /* if name has template args, convert to pythonic dict format */
24 size_t vtkWrapPython_PyTemplateName(const char *name, char *pname);
25 
26 /* wrap a templated class */
28  FILE *fp, ClassInfo *data, FileInfo *file_info, HierarchyInfo *hinfo);
29 
30 #endif /* vtkWrapPythonTemplate_h */
int vtkWrapPython_WrapTemplatedClass(FILE *fp, ClassInfo *data, FileInfo *file_info, HierarchyInfo *hinfo)
All the entries from a hierarchy file.
FileInfo is for header files.
Definition: vtkParseData.h:222
size_t vtkWrapPython_PyTemplateName(const char *name, char *pname)
ClassInfo is for classes, structs, unions, and namespaces.
Definition: vtkParseData.h:175