VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Wrapping/Tools/vtkWrapPythonConstant.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkWrapPythonConstant.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_CONSTANT_H
00017 #define VTK_WRAP_PYTHON_CONSTANT_H
00018 
00019 #include "vtkParse.h"
00020 #include "vtkParseData.h"
00021 #include "vtkParseHierarchy.h"
00022 
00023 /* generate code that adds a constant value to a python dict */
00024 void vtkWrapPython_AddConstant(
00025   FILE *fp, const char *indent, const char *dictvar, const char *objvar,
00026   const char *scope, ValueInfo *val);
00027 
00028 /* generate code that adds all public constants in a namespace */
00029 void vtkWrapPython_AddPublicConstants(
00030   FILE *fp, const char *indent, const char *dictvar, const char *objvar,
00031   NamespaceInfo *data);
00032 
00033 #endif /* VTK_WRAP_PYTHON_CONSTANT_H */