VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Wrapping/Tools/vtkWrapPythonClass.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkWrapPythonClass.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_CLASS_H
00017 #define VTK_WRAP_PYTHON_CLASS_H
00018 
00019 #include "vtkParse.h"
00020 #include "vtkParseData.h"
00021 #include "vtkParseHierarchy.h"
00022 
00023 /* Wrap one class, returns zero if not wrappable */
00024 int vtkWrapPython_WrapOneClass(
00025   FILE *fp, const char *classname, ClassInfo *data,
00026   FileInfo *file_info, HierarchyInfo *hinfo, int is_vtkobject);
00027 
00028 /* get the true superclass */
00029 const char *vtkWrapPython_GetSuperClass(
00030   ClassInfo *data, HierarchyInfo *hinfo);
00031 
00032 /* check whether the superclass of the specified class is wrapped */
00033 int vtkWrapPython_HasWrappedSuperClass(
00034   HierarchyInfo *hinfo, const char *classname, int *is_external);
00035 
00036 /* generate the class docstring and write it to "fp" */
00037 void vtkWrapPython_ClassDoc(
00038   FILE *fp, FileInfo *file_info, ClassInfo *data, HierarchyInfo *hinfo,
00039   int is_vtkobject);
00040 
00041 #endif /* VTK_WRAP_PYTHON_CLASS_H */