CommandOptionGroupOr Class Reference
[Command-Line Options]

#include <CommandOption.hpp>

Inheritance diagram for CommandOptionGroupOr:

Inheritance graph
[legend]
Collaboration diagram for CommandOptionGroupOr:

Collaboration graph
[legend]
List of all members.

Detailed Description

This is a special "command option" which is really a meta-option to group other options together for use in other meta-options.

This particular meta-option allows a group of options to be specified in other meta-options. This option is considered "set" if any of the member options are set. This class and CommandOptionGroupAnd are designed to make up for the fact that the verification meta-options are not designed to work in other verification meta-options.

Definition at line 580 of file CommandOption.hpp.

Public Member Functions

 CommandOptionGroupOr ()
 CommandOptionGroupOr contructor.
virtual ~CommandOptionGroupOr ()
 Destructor.
virtual std::string checkArguments ()
 Do not do any checking.
virtual unsigned long getCount () const
 returns the sum of all encapsulated option counts.
virtual std::string getOptionString () const
 return a string containing the aggregated option strings


Constructor & Destructor Documentation

CommandOptionGroupOr  )  [inline]
 

CommandOptionGroupOr contructor.

Does nothing explicitly.

Definition at line 586 of file CommandOption.hpp.

virtual ~CommandOptionGroupOr  )  [inline, virtual]
 

Destructor.

Definition at line 590 of file CommandOption.hpp.


Member Function Documentation

virtual std::string checkArguments  )  [inline, virtual]
 

Do not do any checking.

Reimplemented from CommandOptionOneOf.

Definition at line 593 of file CommandOption.hpp.

unsigned long getCount  )  const [virtual]
 

returns the sum of all encapsulated option counts.

Reimplemented from CommandOption.

Reimplemented in CommandOptionGroupAnd.

Definition at line 375 of file CommandOption.cpp.

References CommandOption::getCount().

string getOptionString  )  const [virtual]
 

return a string containing the aggregated option strings

Reimplemented from CommandOption.

Definition at line 359 of file CommandOption.cpp.

References CommandOption::getOptionString().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 03:31:34 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1