eckit::QuitCmd class

Base classes

class CmdResource

Public static functions

static auto run(Proc, CmdArg&, std::istream&, std::ostream&) -> bool
static void command(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void loop(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void pipe(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void redirect(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static void append(CmdResource*, CmdArg&, std::istream&, std::ostream&)
static auto completion(const std::string&) -> std::vector<std::string>
static auto completion(const std::vector<std::string>&) -> std::vector<std::string>
static auto completion(const char*, int pos, char*, int) -> bool

Constructors, destructors, conversion operators

QuitCmd()
~QuitCmd()

Private functions

void execute(std::istream&, std::ostream& out, CmdArg&) override
void help(std::ostream&) const override
auto usage(const std::string& cmd) const -> Arg override

Function documentation

static bool eckit::QuitCmd::run(Proc, CmdArg&, std::istream&, std::ostream&)

static void eckit::QuitCmd::command(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::QuitCmd::loop(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::QuitCmd::pipe(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::QuitCmd::redirect(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static void eckit::QuitCmd::append(CmdResource*, CmdArg&, std::istream&, std::ostream&)

static std::vector<std::string> eckit::QuitCmd::completion(const std::string&)

static bool eckit::QuitCmd::completion(const char*, int pos, char*, int)