Back to index

salome-paravis  6.5.0
vtkParseInternal.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkParseInternal.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 
00016 /*
00017   This is an internal header for vtkParse.y, it contains methods for
00018   manipulating the data structures that are not meant for general
00019   use by the wrappers, and that are likely to change over time.
00020 */
00021 
00022 #ifndef VTK_PARSE_PRIVATE_H
00023 #define VTK_PARSE_PRIVATE_H
00024 
00025 #include "vtkParse.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00035 void vtkParse_InitFile(FileInfo *file_info);
00036 void vtkParse_InitNamespace(NamespaceInfo *namespace_info);
00037 void vtkParse_InitClass(ClassInfo *cls);
00038 void vtkParse_InitFunction(FunctionInfo *func);
00039 void vtkParse_InitValue(ValueInfo *val);
00040 void vtkParse_InitEnum(EnumInfo *item);
00041 void vtkParse_InitUsing(UsingInfo *item);
00042 void vtkParse_InitTemplateArgs(TemplateArgs *arg);
00043 void vtkParse_InitTemplateArg(TemplateArg *arg);
00050 void vtkParse_CopyNamespace(NamespaceInfo *data, const NamespaceInfo *orig);
00051 void vtkParse_CopyClass(ClassInfo *data, const ClassInfo *orig);
00052 void vtkParse_CopyFunction(FunctionInfo *data, const FunctionInfo *orig);
00053 void vtkParse_CopyValue(ValueInfo *data, const ValueInfo *orig);
00054 void vtkParse_CopyEnum(EnumInfo *data, const EnumInfo *orig);
00055 void vtkParse_CopyUsing(UsingInfo *data, const UsingInfo *orig);
00056 void vtkParse_CopyTemplateArgs(TemplateArgs *data, const TemplateArgs *orig);
00057 void vtkParse_CopyTemplateArg(TemplateArg *data, const TemplateArg *orig);
00064 void vtkParse_FreeFile(FileInfo *file_info);
00065 void vtkParse_FreeNamespace(NamespaceInfo *namespace_info);
00066 void vtkParse_FreeClass(ClassInfo *cls);
00067 void vtkParse_FreeFunction(FunctionInfo *func);
00068 void vtkParse_FreeValue(ValueInfo *val);
00069 void vtkParse_FreeEnum(EnumInfo *item);
00070 void vtkParse_FreeUsing(UsingInfo *item);
00071 void vtkParse_FreeTemplateArgs(TemplateArgs *arg);
00072 void vtkParse_FreeTemplateArg(TemplateArg *arg);
00080 const char *vtkParse_DuplicateString(const char *cp, size_t n);
00081 
00085 void vtkParse_AddStringToArray(
00086   const char ***valueArray, int *count, const char *value);
00087 
00091 void vtkParse_AddItemToArray(
00092   ItemInfo **valueArray, int *count, parse_item_t type, int idx);
00093 
00094 
00099 void vtkParse_AddClassToClass(ClassInfo *info, ClassInfo *item);
00100 void vtkParse_AddFunctionToClass(ClassInfo *info, FunctionInfo *item);
00101 void vtkParse_AddEnumToClass(ClassInfo *info, EnumInfo *item);
00102 void vtkParse_AddConstantToClass(ClassInfo *info, ValueInfo *item);
00103 void vtkParse_AddVariableToClass(ClassInfo *info, ValueInfo *item);
00104 void vtkParse_AddTypedefToClass(ClassInfo *info, ValueInfo *item);
00105 void vtkParse_AddUsingToClass(ClassInfo *info, UsingInfo *item);
00106 void vtkParse_AddNamespaceToNamespace(NamespaceInfo *info,NamespaceInfo *item);
00107 void vtkParse_AddClassToNamespace(NamespaceInfo *info, ClassInfo *item);
00108 void vtkParse_AddFunctionToNamespace(NamespaceInfo *info, FunctionInfo *item);
00109 void vtkParse_AddEnumToNamespace(NamespaceInfo *info, EnumInfo *item);
00110 void vtkParse_AddConstantToNamespace(NamespaceInfo *info, ValueInfo *item);
00111 void vtkParse_AddVariableToNamespace(NamespaceInfo *info, ValueInfo *item);
00112 void vtkParse_AddTypedefToNamespace(NamespaceInfo *info, ValueInfo *item);
00113 void vtkParse_AddUsingToNamespace(NamespaceInfo *info, UsingInfo *item);
00114 void vtkParse_AddArgumentToFunction(FunctionInfo *info, ValueInfo *item);
00115 void vtkParse_AddArgumentToTemplate(TemplateArgs *info, TemplateArg *item);
00121 void vtkParse_AddDefaultConstructors(ClassInfo *data);
00122 
00126 unsigned int vtkParse_MapType(int vtktype);
00127 
00131 void vtkParse_SetIgnoreBTX(int option);
00132 
00133 #ifdef __cplusplus
00134 } /* extern "C" */
00135 #endif
00136 
00137 #endif