template class axl::sl::CmdLineParser

#include <axl_sl_CmdLineParser.h>

template <
    typename T,
    typename SwitchTable
    >
class CmdLineParser: private axl::sl::CmdLineParserRoot
{
public:
    // typedefs

    typedef SwitchTable::SwitchKind SwitchKind;

    // methods

    bool
    parse(const sl::StringRef& cmdLine0);

    bool
    parse(
        int argc,
        const char*const* argv
        );

    bool
    parse(
        int argc,
        const wchar_t*const* argv
        );

    bool
    onValue0(const sl::StringRef& value);

    bool
    onValue(const sl::StringRef& value);

    bool
    onSwitch(
        SwitchKind switchKind,
        const sl::StringRef& value
        );

    bool
    finalize();
};