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 00043 int vtkWrap_IsVoid(ValueInfo *val); 00044 int vtkWrap_IsVoidFunction(ValueInfo *val); 00045 int vtkWrap_IsVoidPointer(ValueInfo *val); 00046 int vtkWrap_IsCharPointer(ValueInfo *val); 00047 int vtkWrap_IsVTKObject(ValueInfo *val); 00048 int vtkWrap_IsSpecialObject(ValueInfo *val); 00049 int vtkWrap_IsQtObject(ValueInfo *val); 00050 int vtkWrap_IsQtEnum(ValueInfo *val); 00059 int vtkWrap_IsObject(ValueInfo *val); 00060 int vtkWrap_IsFunction(ValueInfo *val); 00061 int vtkWrap_IsStream(ValueInfo *val); 00062 int vtkWrap_IsNumeric(ValueInfo *val); 00063 int vtkWrap_IsString(ValueInfo *val); 00071 int vtkWrap_IsBool(ValueInfo *val); 00072 int vtkWrap_IsChar(ValueInfo *val); 00073 int vtkWrap_IsInteger(ValueInfo *val); 00074 int vtkWrap_IsRealNumber(ValueInfo *val); 00084 int vtkWrap_IsScalar(ValueInfo *val); 00085 int vtkWrap_IsPointer(ValueInfo *val); 00086 int vtkWrap_IsArray(ValueInfo *val); 00087 int vtkWrap_IsNArray(ValueInfo *val); 00094 int vtkWrap_IsNonConstRef(ValueInfo *val); 00095 int vtkWrap_IsConstRef(ValueInfo *val); 00096 int vtkWrap_IsRef(ValueInfo *val); 00097 int vtkWrap_IsConst(ValueInfo *val); 00105 int vtkWrap_IsNewInstance(ValueInfo *val); 00114 int vtkWrap_IsVTKObjectBaseType( 00115 HierarchyInfo *hinfo, const char *classname); 00116 00122 int vtkWrap_IsSpecialType( 00123 HierarchyInfo *hinfo, const char *classname); 00124 00130 int vtkWrap_IsTypeOf( 00131 HierarchyInfo *hinfo, const char *classname, const char *superclass); 00132 00137 int vtkWrap_IsClassWrapped( 00138 HierarchyInfo *hinfo, const char *classname); 00139 00143 int vtkWrap_HasPublicDestructor(ClassInfo *data); 00144 00148 int vtkWrap_HasPublicCopyConstructor(ClassInfo *data); 00149 00155 void vtkWrap_ExpandTypedefs( 00156 ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo); 00157 00162 void vtkWrap_FindCountHints( 00163 ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo); 00164 00168 int vtkWrap_GetTupleSize(ClassInfo *data, HierarchyInfo *hinfo); 00169 00175 void vtkWrap_FindNewInstanceMethods( 00176 ClassInfo *data, HierarchyInfo *hinfo); 00177 00181 const char *vtkWrap_GetTypeName(ValueInfo *val); 00182 00186 int vtkWrap_IsConstructor(ClassInfo *c, FunctionInfo *f); 00187 00191 int vtkWrap_IsDestructor(ClassInfo *c, FunctionInfo *f); 00192 00196 int vtkWrap_IsSetVectorMethod(FunctionInfo *f); 00197 00201 int vtkWrap_IsGetVectorMethod(FunctionInfo *f); 00202 00208 int vtkWrap_CountWrappedParameters(FunctionInfo *f); 00209 00216 int vtkWrap_CountRequiredArguments(FunctionInfo *f); 00217 00232 void vtkWrap_DeclareVariable( 00233 FILE *fp, ValueInfo *v, const char *name, int idx, int flags); 00234 00240 void vtkWrap_DeclareVariableSize( 00241 FILE *fp, ValueInfo *v, const char *name, int idx); 00242 00243 00244 #ifdef __cplusplus 00245 } 00246 #endif 00247 00248 #endif