n2nc::utils::args::ArgumentsHelper Class Reference

This class provides a helper/utility to handle command line argumets. More...

#include <argumentshelper.h>

List of all members.

Public Member Functions

 ArgumentsHelper (char **args, int argc)
ValidArgumentaddValid (string name)
bool validate ()
int size ()
ArgumentgetArgumentByName (string name) throw ()
Argumentoperator[] (string name) throw ()
string toString ()
string dumpAllValid ()
string getRawArg (int pos)
string getFreeArg (int pos)


Detailed Description

This class provides a helper/utility to handle command line argumets.

This utility handle dependencies and conflicts arguments

Author:
fabsoft <fabsoft@gmail.com>
Examples:

argument_ex.cpp.

Definition at line 21 of file argumentshelper.h.


Constructor & Destructor Documentation

n2nc::utils::args::ArgumentsHelper::ArgumentsHelper ( char **  argv,
int  argc 
)

Definition at line 7 of file argumentshelper.cpp.


Member Function Documentation

bool n2nc::utils::args::ArgumentsHelper::validate (  ) 

validates all.

Note:
default parameters will be setted up HERE.
Examples:
argument_ex.cpp.

Definition at line 61 of file argumentshelper.cpp.


The documentation for this class was generated from the following files:

Generated on Mon Oct 6 19:33:02 2008 for n2nc by  doxygen 1.5.5