VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkWrap.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 00020 #ifndef VTK_WRAP_H 00021 #define VTK_WRAP_H 00022 00023 #include "vtkParse.h" 00024 #include "vtkParseHierarchy.h" 00025 00030 #define VTK_WRAP_RETURN 1 00031 #define VTK_WRAP_ARG 2 00032 #define VTK_WRAP_NOSEMI 4 00033 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00044 int vtkWrap_IsVoid(ValueInfo *val); 00045 int vtkWrap_IsVoidFunction(ValueInfo *val); 00046 int vtkWrap_IsVoidPointer(ValueInfo *val); 00047 int vtkWrap_IsCharPointer(ValueInfo *val); 00048 int vtkWrap_IsPODPointer(ValueInfo *val); 00049 int vtkWrap_IsVTKObject(ValueInfo *val); 00050 int vtkWrap_IsSpecialObject(ValueInfo *val); 00051 int vtkWrap_IsQtObject(ValueInfo *val); 00052 int vtkWrap_IsQtEnum(ValueInfo *val); 00061 int vtkWrap_IsObject(ValueInfo *val); 00062 int vtkWrap_IsFunction(ValueInfo *val); 00063 int vtkWrap_IsStream(ValueInfo *val); 00064 int vtkWrap_IsNumeric(ValueInfo *val); 00065 int vtkWrap_IsString(ValueInfo *val); 00073 int vtkWrap_IsBool(ValueInfo *val); 00074 int vtkWrap_IsChar(ValueInfo *val); 00075 int vtkWrap_IsInteger(ValueInfo *val); 00076 int vtkWrap_IsRealNumber(ValueInfo *val); 00086 int vtkWrap_IsScalar(ValueInfo *val); 00087 int vtkWrap_IsPointer(ValueInfo *val); 00088 int vtkWrap_IsArray(ValueInfo *val); 00089 int vtkWrap_IsNArray(ValueInfo *val); 00096 int vtkWrap_IsNonConstRef(ValueInfo *val); 00097 int vtkWrap_IsConstRef(ValueInfo *val); 00098 int vtkWrap_IsRef(ValueInfo *val); 00099 int vtkWrap_IsConst(ValueInfo *val); 00107 int vtkWrap_IsNewInstance(ValueInfo *val); 00116 int vtkWrap_IsVTKObjectBaseType( 00117 HierarchyInfo *hinfo, const char *classname); 00118 00124 int vtkWrap_IsSpecialType( 00125 HierarchyInfo *hinfo, const char *classname); 00126 00132 int vtkWrap_IsTypeOf( 00133 HierarchyInfo *hinfo, const char *classname, const char *superclass); 00134 00139 int vtkWrap_IsClassWrapped( 00140 HierarchyInfo *hinfo, const char *classname); 00141 00145 int vtkWrap_HasPublicDestructor(ClassInfo *data); 00146 00150 int vtkWrap_HasPublicCopyConstructor(ClassInfo *data); 00151 00157 void vtkWrap_ExpandTypedefs( 00158 ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo); 00159 00164 void vtkWrap_FindCountHints( 00165 ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo); 00166 00170 int vtkWrap_GetTupleSize(ClassInfo *data, HierarchyInfo *hinfo); 00171 00177 void vtkWrap_FindNewInstanceMethods( 00178 ClassInfo *data, HierarchyInfo *hinfo); 00179 00183 const char *vtkWrap_GetTypeName(ValueInfo *val); 00184 00188 int vtkWrap_IsConstructor(ClassInfo *c, FunctionInfo *f); 00189 00193 int vtkWrap_IsDestructor(ClassInfo *c, FunctionInfo *f); 00194 00198 int vtkWrap_IsSetVectorMethod(FunctionInfo *f); 00199 00203 int vtkWrap_IsGetVectorMethod(FunctionInfo *f); 00204 00210 int vtkWrap_CountWrappedParameters(FunctionInfo *f); 00211 00218 int vtkWrap_CountRequiredArguments(FunctionInfo *f); 00219 00234 void vtkWrap_DeclareVariable( 00235 FILE *fp, ValueInfo *v, const char *name, int idx, int flags); 00236 00242 void vtkWrap_DeclareVariableSize( 00243 FILE *fp, ValueInfo *v, const char *name, int idx); 00244 00245 00246 #ifdef __cplusplus 00247 } 00248 #endif 00249 00250 #endif