VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParse.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 the header file for vtkParse.tab.c, which is generated 00018 from vtkParse.y with the "yacc" compiler-compiler. 00019 */ 00020 00021 #ifndef VTK_PARSE_H 00022 #define VTK_PARSE_H 00023 00024 #include "vtkParseType.h" 00025 #include "vtkParseData.h" 00026 #include <stdio.h> 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00035 void vtkParse_DefineMacro(const char *name, const char *definition); 00036 00040 void vtkParse_UndefineMacro(const char *name); 00041 00045 void vtkParse_IncludeDirectory(const char *dirname); 00046 00050 const char *vtkParse_FindIncludeFile(const char *filename); 00051 00055 void vtkParse_SetIgnoreBTX(int option); 00056 00060 void vtkParse_SetCommandName(const char *name); 00061 00065 FileInfo *vtkParse_ParseFile( 00066 const char *filename, FILE *ifile, FILE *errfile); 00067 00071 int vtkParse_ReadHints(FileInfo *data, FILE *hfile, FILE *errfile); 00072 00076 void vtkParse_Free(FileInfo *data); 00077 00078 #ifdef __cplusplus 00079 } /* extern "C" */ 00080 #endif 00081 00082 #endif