Option Class Reference

List of all members.

Public Types

enum  {
  Mandatory = 0x1, MandatoryValue = 0x2, OptionalValue = 0x4, SetByDefault = 0x8,
  Usage = 0x100, Help = 0x200
}

Public Member Functions

 Option ()
 Option (char opt, const std::string &long_opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc())
 Option (char opt, const std::string &long_opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc())
 Option (char opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc())
 Option (const std::string &long_opt, const OptionType &type=OptionBoolType(), unsigned int flags=0, const OptionDesc &optdesc=OptionDesc())
 Option (char opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc())
 Option (const std::string &long_opt, const OptionType &type, unsigned int flags, const std::string &defval, const OptionDesc &optdesc=OptionDesc())
 Option (const Option &o)
Optionoperator= (const Option &o)
char getOpt () const
const std::string & getLongOpt () const
const OptionTypegetOptionType () const
unsigned int getFlags () const
const std::string & getDefaultValue () const
const OptionDescgetOptionDesc () const
 ~Option ()


Detailed Description

Definition at line 158 of file GetOpt.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
Mandatory 
MandatoryValue 
OptionalValue 
SetByDefault 
Usage 
Help 

Definition at line 213 of file GetOpt.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 22 18:16:16 2008 for eyedb by  doxygen 1.5.3