VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Wrapping/Tools/vtkWrap.h
Go to the documentation of this file.
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_IsPythonObject(ValueInfo *val);
00052 int vtkWrap_IsQtObject(ValueInfo *val);
00053 int vtkWrap_IsQtEnum(ValueInfo *val);
00062 int vtkWrap_IsObject(ValueInfo *val);
00063 int vtkWrap_IsFunction(ValueInfo *val);
00064 int vtkWrap_IsStream(ValueInfo *val);
00065 int vtkWrap_IsNumeric(ValueInfo *val);
00066 int vtkWrap_IsString(ValueInfo *val);
00074 int vtkWrap_IsBool(ValueInfo *val);
00075 int vtkWrap_IsChar(ValueInfo *val);
00076 int vtkWrap_IsInteger(ValueInfo *val);
00077 int vtkWrap_IsRealNumber(ValueInfo *val);
00087 int vtkWrap_IsScalar(ValueInfo *val);
00088 int vtkWrap_IsPointer(ValueInfo *val);
00089 int vtkWrap_IsArray(ValueInfo *val);
00090 int vtkWrap_IsNArray(ValueInfo *val);
00097 int vtkWrap_IsNonConstRef(ValueInfo *val);
00098 int vtkWrap_IsConstRef(ValueInfo *val);
00099 int vtkWrap_IsRef(ValueInfo *val);
00100 int vtkWrap_IsConst(ValueInfo *val);
00108 int vtkWrap_IsNewInstance(ValueInfo *val);
00117 int vtkWrap_IsVTKObjectBaseType(
00118   HierarchyInfo *hinfo, const char *classname);
00119 
00125 int vtkWrap_IsSpecialType(
00126   HierarchyInfo *hinfo, const char *classname);
00127 
00133 int vtkWrap_IsTypeOf(
00134   HierarchyInfo *hinfo, const char *classname, const char *superclass);
00135 
00139 int vtkWrap_IsEnumMember(ClassInfo *data, ValueInfo *arg);
00140 
00145 int vtkWrap_IsClassWrapped(
00146   HierarchyInfo *hinfo, const char *classname);
00147 
00151 int vtkWrap_HasPublicDestructor(ClassInfo *data);
00152 
00156 int vtkWrap_HasPublicCopyConstructor(ClassInfo *data);
00157 
00163 void vtkWrap_ExpandTypedefs(
00164   ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo);
00165 
00170 void vtkWrap_FindCountHints(
00171   ClassInfo *data, FileInfo *finfo, HierarchyInfo *hinfo);
00172 
00176 int vtkWrap_GetTupleSize(ClassInfo *data, HierarchyInfo *hinfo);
00177 
00183 void vtkWrap_FindNewInstanceMethods(
00184   ClassInfo *data, HierarchyInfo *hinfo);
00185 
00189 const char *vtkWrap_GetTypeName(ValueInfo *val);
00190 
00194 int vtkWrap_IsConstructor(ClassInfo *c, FunctionInfo *f);
00195 
00199 int vtkWrap_IsDestructor(ClassInfo *c, FunctionInfo *f);
00200 
00204 int vtkWrap_IsSetVectorMethod(FunctionInfo *f);
00205 
00209 int vtkWrap_IsGetVectorMethod(FunctionInfo *f);
00210 
00216 int vtkWrap_CountWrappedParameters(FunctionInfo *f);
00217 
00224 int vtkWrap_CountRequiredArguments(FunctionInfo *f);
00225 
00240 void vtkWrap_DeclareVariable(
00241   FILE *fp, ClassInfo *data, ValueInfo *v, const char *name,
00242   int idx, int flags);
00243 
00249 void vtkWrap_DeclareVariableSize(
00250   FILE *fp, ValueInfo *v, const char *name, int idx);
00251 
00256 char *vtkWrap_SafeSuperclassName(const char *name);
00257 
00258 
00259 #ifdef __cplusplus
00260 }
00261 #endif
00262 
00263 #endif