libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::CmdLineFlagArgParser Class Reference

#include <CmdLineParsing.h>

+ Inheritance diagram for osmscout::CmdLineFlagArgParser:

Public Types

typedef std::function< void(const
bool &)> 
SetterFunction
 

Public Member Functions

 CmdLineFlagArgParser (SetterFunction &&setter)
 
std::string GetOptionHint () const
 
std::string GetPositionalHint (const std::string &positional) const
 
CmdLineParseResult Parse (CmdLineScanner &scanner)
 
- Public Member Functions inherited from osmscout::CmdLineArgParser
void SetArgumentName (const std::string &argumentName)
 
virtual ~CmdLineArgParser ()
 

Additional Inherited Members

- Protected Member Functions inherited from osmscout::CmdLineArgParser
std::string GetArgumentName () const
 

Member Typedef Documentation

typedef std::function<void(const bool&)> osmscout::CmdLineFlagArgParser::SetterFunction

Constructor & Destructor Documentation

osmscout::CmdLineFlagArgParser::CmdLineFlagArgParser ( SetterFunction &&  setter)

Member Function Documentation

std::string osmscout::CmdLineFlagArgParser::GetOptionHint ( ) const
virtual
std::string osmscout::CmdLineFlagArgParser::GetPositionalHint ( const std::string &  positional) const
virtual
CmdLineParseResult osmscout::CmdLineFlagArgParser::Parse ( CmdLineScanner scanner)
virtual

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