#include <CmdLineParser.h>


Public Member Functions | |
| OptionsBOOL (const Parser &parser) | |
| bool | Match (int &, char **, int) |
| CmdLine::OptionsBOOL::OptionsBOOL | ( | const Parser & | parser | ) | [inline] |
| bool OptionsBOOL::Match | ( | int & | i, | |
| char ** | argv, | |||
| int | argc | |||
| ) |
Try to identify a bool option in command-line and then add it into m_opts.
References CmdLine::OptionsType< bool >::CheckDuplicate(), CmdLine::OptionsType< bool >::Find(), CmdLine::Option< T >::m_found, and CmdLine::Option< T >::m_value.
Referenced by CmdLine::Parser::Process().