Class Parser

Inheritance Relationships

Base Type

Class Documentation

class Parser : private Catch::Clara::Detail::ParserBase

Public Functions

inline auto operator|=(ExeName const &exeName) -> Parser&
inline auto operator|=(Arg const &arg) -> Parser&
Parser &operator|=(Parser const &other)
std::vector<Detail::HelpColumns> getHelpColumns() const
void writeToStream(std::ostream &os) const
virtual Detail::Result validate() const override
virtual Detail::InternalParseResult parse(std::string const &exeName, Detail::TokenStream tokens) const override

Friends

inline friend Parser &operator|=(Parser &p, Opt const &opt)
inline friend Parser &operator|=(Parser &p, Opt &&opt)
template<typename T>
inline friend Parser operator|(Parser const &p, T &&rhs)
template<typename T>
inline friend Parser operator|(Parser &&p, T &&rhs)
inline friend auto operator<<(std::ostream &os, Parser const &parser) -> std::ostream&