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

#include <CmdLineParsing.h>

+ Inheritance diagram for osmscout::CmdLineBoolArgParser:

Public Types

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

Public Member Functions

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

Additional Inherited Members

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

osmscout::CmdLineBoolArgParser::CmdLineBoolArgParser ( SetterFunction &&  setter)

Member Function Documentation

std::string osmscout::CmdLineBoolArgParser::GetOptionHint ( ) const
std::string osmscout::CmdLineBoolArgParser::GetPositionalHint ( const std::string &  positional) const

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