Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
Public Member Functions
CommandLineArgs Class Reference

#include <argparser.h>

Public Member Functions

 CommandLineArgs (void)
 
bool parse (int argc, char *argv[])
 
std::string errorString (void) const
 
int argc (void) const
 
const std::string operator[] (const std::string &arg) const
 
void addOptional (const std::string &arg, const std::string &desc, bool boolean)
 
void addRequired (const std::string &arg, const std::string &desc, bool boolean)
 
bool hasArg (const std::string &arg) const
 
std::string usageString (void) const
 
void setTail (const std::string &str)
 
const std::vector< std::string > & getUnqualifiedArgs () const
 

Detailed Description

Definition at line 31 of file argparser.h.

Constructor & Destructor Documentation

◆ CommandLineArgs()

CommandLineArgs ( void  )

Definition at line 17 of file argparser.cc.

Member Function Documentation

◆ addOptional()

void addOptional ( const std::string &  arg,
const std::string &  desc,
bool  boolean 
)

Definition at line 224 of file argparser.cc.

Here is the caller graph for this function:

◆ addRequired()

void addRequired ( const std::string &  arg,
const std::string &  desc,
bool  boolean 
)

Definition at line 231 of file argparser.cc.

◆ argc()

int argc ( void  ) const

Definition at line 307 of file argparser.cc.

Here is the caller graph for this function:

◆ errorString()

string errorString ( void  ) const

Definition at line 211 of file argparser.cc.

Here is the caller graph for this function:

◆ getUnqualifiedArgs()

const vector< string > & getUnqualifiedArgs ( ) const

Definition at line 319 of file argparser.cc.

◆ hasArg()

bool hasArg ( const std::string &  arg) const

Definition at line 253 of file argparser.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator[]()

const string operator[] ( const std::string &  arg) const

Definition at line 217 of file argparser.cc.

◆ parse()

bool parse ( int  argc,
char *  argv[] 
)

Definition at line 24 of file argparser.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTail()

void setTail ( const std::string &  str)

Definition at line 313 of file argparser.cc.

◆ usageString()

string usageString ( void  ) const

Definition at line 260 of file argparser.cc.

Here is the caller graph for this function:

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