Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vul_arg.h File Reference


Detailed Description

Command-line arguments.

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
05 Feb 98
    Modifications
     PDA (Manchester) 21/03/2001: Tidied up the documentation
     Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
   

Definition in file vul_arg.h.

#include <vcl_vector.h>
#include <vcl_string.h>
#include <vcl_list.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  vul_arg_base
 This is the base class for the templated vul_arg<T>s. More...
class  vul_arg< T >
 parse command-line arguments. More...
class  vul_arg_info_list
 a helper for vul_arg::parse. More...

Functions

template<class T>
void settype (vul_arg< T > &)
template<class T>
void print_value (vcl_ostream &, vul_arg< T > const &)
template<class T>
int parse (vul_arg< T > *, char **)
void vul_arg_parse (int &argc, char **&argv, bool warn_about_unrecognized_arguments=true)
 parse command-line arguments.
void vul_arg_include (vul_arg_info_list &l)
 Add an externally supplied list of args to the global list.
void vul_arg_display_usage_and_exit (char const *msg=0)
 Print all args, and usage messages.


Function Documentation

template<class T>
int parse vul_arg< T > *  ,
char ** 
 

template<class T>
void print_value vcl_ostream &  ,
vul_arg< T > const & 
 

template<class T>
void settype vul_arg< T > &   ) 
 

void vul_arg_display_usage_and_exit char const *  msg = 0  ) 
 

Print all args, and usage messages.

Definition at line 59 of file vul_arg.cxx.

void vul_arg_include vul_arg_info_list l  ) 
 

Add an externally supplied list of args to the global list.

Definition at line 53 of file vul_arg.cxx.

void vul_arg_parse int &  argc,
char **&  argv,
bool  warn_about_unrecognized_arguments
 

parse command-line arguments.

...

Definition at line 45 of file vul_arg.cxx.


Generated on Thu Jan 10 14:41:00 2008 for core/vul by  doxygen 1.4.4