Google

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cmdoptns.h File Reference

Go to the source code of this file.

Compounds

class  CommandOption
class  CommandOptionArg
class  CommandOptionCollect
class  CommandOptionNoArg
class  CommandOptionParse
class  CommandOptionRest
class  CommandOptionWithArg

Functions

CommandOptionParseMakeCommandOptionParse ( int argc, char ** argv, char * comment, CommandOption * options = DefaultCommandOptionList )
 MakeCommandOptionParse will create an implementation of a CommandOptionParse object. More...


Variables

CommandOptionDefaultCommandOptionList
 This defines a linked list head pointer for all the command line options that use the default list. More...


Function Documentation

CommandOptionParse * MakeCommandOptionParse ( int argc,
char ** argv,
char * comment,
CommandOption * options = DefaultCommandOptionList )
 

MakeCommandOptionParse will create an implementation of a CommandOptionParse object.

This particular implementation is a wrapper around getopt_long(3). That interface unfortunatly does not provide enough information to give the best error messages with malformed input. If the implementation changes there is a good chance that the binary interface will remain the same.


Variable Documentation

CommandOption * DefaultCommandOptionList
 

This defines a linked list head pointer for all the command line options that use the default list.

It will most likely be used in most cases without being explicitly referenced in application code. It is a default value of various method's parameters.


Generated at Fri Mar 23 10:47:54 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000