Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Command Line Argument Parsing


Detailed Description

TODO.


Classes

class  phArgTable
 The phArgTable class is used to parse command line arguments. This class is used to set up a table that maps command line switches to variables within a program. The parsing process is:
  • create a phArgTable object,
  • add a series of <switch string, parameter storage pointer, value type> tuples to the list by calling phArgTable::add
  • and then call the parse method to fill in the values of the variables.
More...

Defines

#define phARG_CHAR   0
#define phARG_INT   1
#define phARG_UINT   2
#define phARG_LONG   3
#define phARG_ULONG   4
#define phARG_BOOL   5
#define phARG_FUNC   6
#define phARG_INT32   7
#define phARG_UINT32   8
#define phARG_INT16   9
#define phARG_UINT16   10
#define phARG_INT8   11
#define phARG_UINT8   12
#define phARG_FLOAT   13
#define phARG_DOUBLE   14
#define phARG_MAX   14
#define phARG_MIN   0

Typedefs

typedef void(* ph_argtable_funcptr )(void)
typedef argument_table_t argument_table_struct




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo


Generated on Sat Jun 16 02:45:27 2007 for phission by  doxygen 1.4.4