Back to index

salome-paravis  6.5.0
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 
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(ClassInfo *data, HierarchyInfo *hinfo);
00156 
00161 void vtkWrap_FindCountHints(
00162   ClassInfo *data, HierarchyInfo *hinfo);
00163 
00169 void vtkWrap_FindNewInstanceMethods(
00170   ClassInfo *data, HierarchyInfo *hinfo);
00171 
00175 const char *vtkWrap_GetTypeName(ValueInfo *val);
00176 
00180 int vtkWrap_IsConstructor(ClassInfo *c, FunctionInfo *f);
00181 
00185 int vtkWrap_IsDestructor(ClassInfo *c, FunctionInfo *f);
00186 
00190 int vtkWrap_IsSetVectorMethod(FunctionInfo *f);
00191 
00195 int vtkWrap_IsGetVectorMethod(FunctionInfo *f);
00196 
00202 int vtkWrap_CountWrappedArgs(FunctionInfo *f);
00203 
00210 int vtkWrap_CountRequiredArgs(FunctionInfo *f);
00211 
00226 void vtkWrap_DeclareVariable(
00227   FILE *fp, ValueInfo *v, const char *name, int idx, int flags);
00228 
00234 void vtkWrap_DeclareVariableSize(
00235   FILE *fp, ValueInfo *v, const char *name, int idx);
00236 
00237 
00238 #ifdef __cplusplus
00239 }
00240 #endif
00241 
00242 #endif