class
#include <eckit/cmd/CmdResource.h>
CmdResource
Derived classes
- class AliasCmd
- class ConfigCmd
- class DirCmd
- class EchoCmd
- class EnvironmentCmd
- class ExportCmd
- class HistoryCmd
- class JSONCmd
- class KillCmd
- class LockCmd
- class ManCmd
- class MemoryCmd
- class PsCmd
- class QuitCmd
- class RemoteCmd
- class SleepCmd
- class StartCmd
- class StatusCmd
- class StopCmd
- class TailCmd
- class UpTimeCmd
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
-
CmdResource(const std::
string&) - ~CmdResource() virtual
Private functions
-
void execute(std::
istream&, std:: ostream&, CmdArg&) pure virtual -
auto usage(const std::
string& cmd) const -> Arg pure virtual -
void help(std::
ostream&) const pure virtual -
void print(std::
ostream&) const virtual
Friends
-
auto operator<<(std::
ostream& o, const CmdResource& cmd) -> std:: ostream&