Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BOSS::t_OptItem Class Reference

#include <boss_optitem.h>

List of all members.

Public Member Functions

 t_OptItem ()
 t_OptItem (const string &o, const string &oa, const bool ot)
 t_OptItem (const string &o, const string &oa, const bool ot, const bool of)
 t_OptItem (const t_OptItem &O)
t_OptItemoperator= (const t_OptItem &O)
bool operator< (const t_OptItem &O) const
bool operator== (const t_OptItem &O) const

Public Attributes

string option
string optionarg
bool optiontype
bool optionflag


Detailed Description

help class for command line parsing


Constructor & Destructor Documentation

BOSS::t_OptItem::t_OptItem  )  [inline]
 

BOSS::t_OptItem::t_OptItem const string &  o,
const string &  oa,
const bool  ot
[inline]
 

BOSS::t_OptItem::t_OptItem const string &  o,
const string &  oa,
const bool  ot,
const bool  of
[inline]
 

BOSS::t_OptItem::t_OptItem const t_OptItem O  )  [inline]
 


Member Function Documentation

bool BOSS::t_OptItem::operator< const t_OptItem O  )  const [inline]
 

t_OptItem& BOSS::t_OptItem::operator= const t_OptItem O  )  [inline]
 

bool BOSS::t_OptItem::operator== const t_OptItem O  )  const [inline]
 


Member Data Documentation

string BOSS::t_OptItem::option
 

name of the option

string BOSS::t_OptItem::optionarg
 

argument of the option - empty string if no argument is needed by option

bool BOSS::t_OptItem::optionflag
 

false means the option was not found in the command line - true, option was found

bool BOSS::t_OptItem::optiontype
 

for use with the BOSS::CommandLine class, false means the option is necessary - true, not necessary for use with BOSS::Config, false means the option is of the boolean type, true means the option is of type "-key value".


The documentation for this class was generated from the following file:
Generated on Tue Dec 20 23:14:41 2005 for BOSS by doxygen 1.3.6