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

phArgTable.cpp File Reference

#include <phStandard.h>
#include <phObject.h>
#include <phArgTable.h>
#include <phError.h>
#include <phMemory.h>
#include <phPrint.h>

Go to the source code of this file.

Classes

struct  arg_node_t
 This struct holds the settings of an argument that will be parsed from the command line. More...
struct  argument_table_t

Typedefs

typedef arg_node_t arg_node_struct
 This struct holds the settings of an argument that will be parsed from the command line.

Functions

static int ph_copy_string (char *orig, char **copy)
static int ph_parse_arguments (int argc, char **argv, struct argument_table_t *table)
 This function takes the arguments from the command line and an argument table that has been set up in order to get switches on the command line and put the information into the appropriate variables.
static int ph_add_argument (const char *flag, void *pointer, int type, struct argument_table_t *table)
 Add an argument to the Argument Table for the parsing function to match against when parsing the command line arguments.
static int ph_free_argument_table (struct argument_table_t **table)
static int ph_new_argument_table (struct argument_table_t **table)




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:44:14 2007 for phission by  doxygen 1.4.4