CommandOptionGroupAnd Class Reference
[Command-Line Options]

#include <CommandOption.hpp>

Inheritance diagram for CommandOptionGroupAnd:

Inheritance graph
[legend]
Collaboration diagram for CommandOptionGroupAnd:

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" iff all 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 612 of file CommandOption.hpp.

Public Member Functions

 CommandOptionGroupAnd ()
 CommandOptionGroupAnd contructor.
virtual ~CommandOptionGroupAnd ()
 Destructor.
virtual unsigned long getCount () const
 returns the sum of all encapsulated option counts if all are in use, zero otherwise.


Constructor & Destructor Documentation

CommandOptionGroupAnd  )  [inline]
 

CommandOptionGroupAnd contructor.

Does nothing explicitly.

Definition at line 618 of file CommandOption.hpp.

virtual ~CommandOptionGroupAnd  )  [inline, virtual]
 

Destructor.

Definition at line 622 of file CommandOption.hpp.


Member Function Documentation

unsigned long getCount  )  const [virtual]
 

returns the sum of all encapsulated option counts if all are in use, zero otherwise.

Reimplemented from CommandOptionGroupOr.

Definition at line 384 of file CommandOption.cpp.

References CommandOption::getCount().


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 03:32:02 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1