FONTAINE  1.0
Public Member Functions | Private Attributes | List of all members
CLS Class Reference

#include <CLP.h>

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
 
const std::string getShortName (void) const
 

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::CLS ( std::string  name,
std::string  shortName,
std::string  description,
unsigned  numberOfSwitchArguments 
)

References CLP::_name.

Member Function Documentation

§ addSwitchArgument()

void CLS::addSwitchArgument ( std::string  argument)
inline

§ getDescription()

const std::string CLS::getDescription ( void  ) const
inline

References _description.

§ getNumberOfSwitchArguments()

unsigned CLS::getNumberOfSwitchArguments ( void  )
inline

§ getShortName()

const std::string CLS::getShortName ( void  ) const
inline

References _shortName.

§ getSwitchArgument()

std::string CLS::getSwitchArgument ( unsigned  index)
inline

§ isSet()

bool CLS::isSet ( void  )
inline

References _isSet.

§ resetSwitch()

void CLS::resetSwitch ( )
inline

§ setSwitch()

void CLS::setSwitch ( void  )
inline

Member Data Documentation

§ _description

std::string CLS::_description
private

Referenced by getDescription().

§ _isSet

bool CLS::_isSet
private

Referenced by isSet().

§ _name

std::string CLS::_name
private

§ _numberOfSwitchArguments

unsigned CLS::_numberOfSwitchArguments
private

§ _shortName

std::string CLS::_shortName
private

Referenced by getShortName().

§ _switchArguments

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

The documentation for this class was generated from the following files: