Back to index

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

List of all members.

Public Member Functions

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

Protected Attributes

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

Private Attributes

std::string & value


class OptionParser

Detailed Description

Definition at line 114 of file OptionParser.cpp.

Constructor & Destructor Documentation

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

Definition at line 117 of file OptionParser.cpp.

Definition at line 122 of file OptionParser.cpp.


Member Function Documentation

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

Implements Arc::OptionBase.

Definition at line 132 of file OptionParser.cpp.

      value = val;
      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.

std::string& Arc::StringOption::value [private]

Definition at line 139 of file OptionParser.cpp.

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