Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Attributes | Private Attributes | Friends
Arc::BoolOption Class Reference
Inheritance diagram for Arc::BoolOption:
Inheritance graph
Collaboration diagram for Arc::BoolOption:
Collaboration graph

List of all members.

Public Member Functions

 BoolOption (char shortOpt, std::string longOpt, std::string optDesc, std::string argDesc, bool &value)
 ~BoolOption ()
bool Set (const std::string &)

Protected Attributes

char shortOpt
std::string longOpt
std::string optDesc
std::string argDesc

Private Attributes

bool & value


class OptionParser

Detailed Description

Definition at line 63 of file OptionParser.cpp.

Constructor & Destructor Documentation

Arc::BoolOption::BoolOption ( char  shortOpt,
std::string  longOpt,
std::string  optDesc,
std::string  argDesc,
bool &  value 
) [inline]

Definition at line 66 of file OptionParser.cpp.

Definition at line 71 of file OptionParser.cpp.


Member Function Documentation

bool Arc::BoolOption::Set ( const std::string &  ) [inline, virtual]

Implements Arc::OptionBase.

Definition at line 77 of file OptionParser.cpp.

      value = true;
      return true;

Friends And Related Function Documentation

friend class OptionParser [friend, inherited]

Definition at line 58 of file OptionParser.cpp.

Member Data Documentation

std::string Arc::OptionBase::argDesc [protected, inherited]

Definition at line 56 of file OptionParser.cpp.

std::string Arc::OptionBase::longOpt [protected, inherited]

Definition at line 54 of file OptionParser.cpp.

std::string Arc::OptionBase::optDesc [protected, inherited]

Definition at line 55 of file OptionParser.cpp.

char Arc::OptionBase::shortOpt [protected, inherited]

Definition at line 53 of file OptionParser.cpp.

bool& Arc::BoolOption::value [private]

Definition at line 84 of file OptionParser.cpp.

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