VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParseMain.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 00043 #ifndef VTK_PARSE_MAIN_H 00044 #define VTK_PARSE_MAIN_H 00045 00046 #include "vtkParseData.h" 00047 #include <stdio.h> 00048 00052 typedef struct _OptionInfo 00053 { 00054 int NumberOfFiles; /* the total number of file arguments */ 00055 char **Files; /* all of the file arguments */ 00056 char *InputFileName; /* the first file argument */ 00057 char *OutputFileName; /* the second file, or the "-o" file */ 00058 char *HintFileName; /* the file preceded by "--hints" */ 00059 char *HierarchyFileName; /* the file preceded by "--types" */ 00060 } OptionInfo; 00061 00062 #ifdef __cplusplus 00063 extern "C" { 00064 #endif 00065 00069 OptionInfo *vtkParse_GetCommandLineOptions(); 00070 00074 FileInfo *vtkParse_Main(int argc, char *argv[]); 00075 00080 void vtkParse_MainMulti(int argc, char *argv[]); 00081 00082 #ifdef __cplusplus 00083 } /* extern "C" */ 00084 #endif 00085 00086 #endif