Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CLS Class Reference

#include <CLP.h>

List of all members.

Public Member Functions

 CLS (std::string name, std::string shortName, std::string description, unsigned numberOfSwitchArguments)
void setSwitch (void)
void addSwitchArgument (std::string argument)
void resetSwitch ()
unsigned getNumberOfSwitchArguments (void)
bool isSet (void)
std::string getSwitchArgument (unsigned index)
const std::string getDescription (void)
const std::string getShortName (void)

Private Attributes

std::string _name
std::string _shortName
std::string _description
unsigned _numberOfSwitchArguments
std::vector< std::string > _switchArguments
bool _isSet


Constructor & Destructor Documentation

CLS::CLS std::string  name,
std::string  shortName,
std::string  description,
unsigned  numberOfSwitchArguments
 


Member Function Documentation

void CLS::addSwitchArgument std::string  argument  )  [inline]
 

const std::string CLS::getDescription void   )  [inline]
 

unsigned CLS::getNumberOfSwitchArguments void   )  [inline]
 

const std::string CLS::getShortName void   )  [inline]
 

std::string CLS::getSwitchArgument unsigned  index  )  [inline]
 

bool CLS::isSet void   )  [inline]
 

void CLS::resetSwitch  )  [inline]
 

void CLS::setSwitch void   )  [inline]
 


Member Data Documentation

std::string CLS::_description [private]
 

bool CLS::_isSet [private]
 

std::string CLS::_name [private]
 

unsigned CLS::_numberOfSwitchArguments [private]
 

std::string CLS::_shortName [private]
 

std::vector<std::string> CLS::_switchArguments [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 18 16:24:39 2011 for MADELINE by  doxygen 1.4.4