Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

Handle the next option, found during pass 1.

The parser calls this virtual methode each time an option was found during the first pass of a two pass argument parsing.

The two pass parsing operation is helpfull to handle complex option argument dependencies. In the most cases this methode is NOT reimplemented by the derived class.

Example: The argument layout of option '-x <...>' might depend on the existence of option '-g'. That means, if the '-g' option is given, the argument of '-x <...>' is '<entryname>,<entryvalue>'. In the other case the argument has to be '<entryname>'. Since the option sequence is unrestricted the '-g' option must be detected during the first pass to handle the argument of option '-x' correctly during pass two.

optionID [in] - Option specific identifier of the option that was found ( e.g. -h = 1 for help, it's part of the option description 'OptionDescription' ).
optionArgument [in] - Its the argument of the option, if any else NULL!
False, if the argument could not be handled or is not valid. In that case the parse operation (StartParsing) is terminated with false.

Definition at line 254 of file SAPDB_StandardArgumentParser.hpp.

Referenced by Help(), and NextOptionDesc().

Generated by  Doxygen 1.6.0   Back to index