GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > LATC_parser / sun-gcc
#include "LATC/lrd.h"
#include "args_p.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Functions | |
unsigned | input_count (int argc, char **argv) |
Count the number of input files. | |
void | input_collect (int argc, char **argv, char **list) |
Set the elements of the list array to be pointers to NULL terminated filenames. | |
char * | output_collect (int argc, char **argv) |
Locate the output stub string in the command line arguments. | |
unsigned | verbose_collect (int argc, char **argv) |
Check the command line arguments for the verbose flag. | |
unsigned | filter_collect (int argc, char **argv) |
If a filter argument is present on the command line use it to construct a bit mask of components to write out. | |
unsigned | get_bit (char *type) |
Lookup the type and return a one-bit bit mask with the corresponding bit set. |
unsigned filter_collect | ( | int | argc, | |
char ** | argv | |||
) |
unsigned get_bit | ( | char * | type | ) |
Lookup the type and return a one-bit bit mask with the corresponding bit set.
type | NULL terminated LATC type name |
Referenced by filter_collect().
void input_collect | ( | int | argc, | |
char ** | argv, | |||
char ** | list | |||
) |
Set the elements of the list array to be pointers to NULL terminated filenames.
argc | Number of command line arguments | |
argv | Array of command line arguments | |
list | Array of pointers to the filenames |
Referenced by main().
unsigned input_count | ( | int | argc, | |
char ** | argv | |||
) |
Count the number of input files.
argc | Number of command line arguments | |
argv | Array of command line arguments |
Referenced by main().
char * output_collect | ( | int | argc, | |
char ** | argv | |||
) |
Locate the output stub string in the command line arguments.
argc | Number of command line arguments | |
argv | Array of command line arguments |
Referenced by main().
unsigned verbose_collect | ( | int | argc, | |
char ** | argv | |||
) |
Check the command line arguments for the verbose flag.
argc | Number of command line arguments | |
argv | Array of command line arguments |
0 | If -v is not one of the command line arguments | |
1 | If -v is one of the command line arguments |
Referenced by main().