VTK
|
Go to the source code of this file.
Classes | |
struct | _OptionInfo |
vtkParseMain.h provides argument parsing for the wrapper executables. More... | |
Typedefs | |
typedef struct _OptionInfo | OptionInfo |
vtkParseMain.h provides argument parsing for the wrapper executables. More... | |
Functions | |
OptionInfo * | vtkParse_GetCommandLineOptions () |
Return the options provided on the command line. More... | |
FileInfo * | vtkParse_Main (int argc, char *argv[]) |
The main function, parses the file and returns the result. More... | |
void | vtkParse_MainMulti (int argc, char *argv[]) |
A main function that can take multiple input files. More... | |
typedef struct _OptionInfo OptionInfo |
vtkParseMain.h provides argument parsing for the wrapper executables.
Usage: vtkWrap [options] infile ...
-D <macro[=def]> add a macro definition -U <macro> cancel a macro definition -I <dir> add an include directory -o <file> specify the output file <file> read arguments from a file –help print a help message and exit –version print the VTK version number and exit –hints <file> hints file –types <file> type hierarchy file
Notes:
1) The "-o" option is needed when there are multiple input files. Otherwise, the output file can be given after the input file.
2) The "@file" option allows arguments to be stored in a file, instead of given on the command line. The use of such a file is sometimes necessary to avoid overflowing the 8191-character command-line limit on Windows. If the file is not found, then "@file" will be passed as as a command-line parameter. Options for the wrappers
OptionInfo* vtkParse_GetCommandLineOptions | ( | ) |
Return the options provided on the command line.
The main function, parses the file and returns the result.
void vtkParse_MainMulti | ( | int | argc, |
char * | argv[] | ||
) |
A main function that can take multiple input files.
It does not parse the files. It will exit on error.