VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkWrapPythonTemplate.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 00016 #ifndef VTK_WRAP_PYTHON_TEMPLATE_H 00017 #define VTK_WRAP_PYTHON_TEMPLATE_H 00018 00019 #include "vtkParse.h" 00020 #include "vtkParseData.h" 00021 #include "vtkParseHierarchy.h" 00022 00023 /* if name has template args, convert to pythonic dict format */ 00024 size_t vtkWrapPython_PyTemplateName(const char *name, char *pname); 00025 00026 /* wrap a templated class */ 00027 int vtkWrapPython_WrapTemplatedClass( 00028 FILE *fp, ClassInfo *data, FileInfo *file_info, HierarchyInfo *hinfo); 00029 00030 /* if name has template args, mangle and prefix with "T" */ 00031 void vtkWrapPython_PythonicName(const char *name, char *pname); 00032 00033 #endif /* VTK_WRAP_PYTHON_TEMPLATE_H */