VTK
vtkWrapPythonConstant.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWrapPythonConstant.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 VTK_WRAP_PYTHON_CONSTANT_H
17 #define VTK_WRAP_PYTHON_CONSTANT_H
18 
19 #include "vtkParse.h"
20 #include "vtkParseData.h"
21 #include "vtkParseHierarchy.h"
22 
23 /* generate code that adds a constant value to a python dict */
25  FILE *fp, const char *indent, const char *dictvar, const char *objvar,
26  const char *scope, ValueInfo *val);
27 
28 /* generate code that adds all public constants in a namespace */
30  FILE *fp, const char *indent, const char *dictvar, const char *objvar,
32 
33 #endif /* VTK_WRAP_PYTHON_CONSTANT_H */
void vtkWrapPython_AddConstant(FILE *fp, const char *indent, const char *dictvar, const char *objvar, const char *scope, ValueInfo *val)
ValueInfo is for typedefs, constants, variables, function parameters, and return values.
Definition: vtkParseData.h:98
ClassInfo is for classes, structs, unions, and namespaces.
Definition: vtkParseData.h:175
void vtkWrapPython_AddPublicConstants(FILE *fp, const char *indent, const char *dictvar, const char *objvar, NamespaceInfo *data)