Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::CommandLineParser::Option Class Reference

Internal class for storing registered command-line options. More...

List of all members.

Public Methods

 Option (int shortOptionChar, bool hasArgument, bool mandatory, const std::string &usage, const StringList &possibleArguments=StringList())
int getShortOption () const
bool hasArgument () const
bool isMandatory () const
const std::string & getUsage () const
const StringListgetArguments () const

Private Attributes

int m_ShortOption
bool m_HasArgument
bool m_Mandatory
std::string m_Usage
StringList m_Arguments


Detailed Description

Internal class for storing registered command-line options.

class Option


Constructor & Destructor Documentation

IDEA::CommandLineParser::Option::Option int    shortOptionChar,
bool    hasArgument,
bool    mandatory,
const std::string &    usage,
const StringList   possibleArguments = StringList()
[inline]
 


Member Function Documentation

const StringList& IDEA::CommandLineParser::Option::getArguments   const [inline]
 

int IDEA::CommandLineParser::Option::getShortOption   const [inline]
 

const std::string& IDEA::CommandLineParser::Option::getUsage   const [inline]
 

bool IDEA::CommandLineParser::Option::hasArgument   const [inline]
 

bool IDEA::CommandLineParser::Option::isMandatory   const [inline]
 


Member Data Documentation

StringList IDEA::CommandLineParser::Option::m_Arguments [private]
 

bool IDEA::CommandLineParser::Option::m_HasArgument [private]
 

bool IDEA::CommandLineParser::Option::m_Mandatory [private]
 

int IDEA::CommandLineParser::Option::m_ShortOption [private]
 

std::string IDEA::CommandLineParser::Option::m_Usage [private]
 


Contact information
© IDEA
Generated on Fri Feb 3 17:09:45 2006 for IDEA.