eckit::CmdArg class

Base classes

class Streamable

Public static functions

static auto classSpec() -> const ClassSpec&

Constructors, destructors, conversion operators

CmdArg()
CmdArg(eckit::Stream&)
~CmdArg()
CmdArg(const CmdArg&)

Public functions

auto operator=(const CmdArg&) -> CmdArg&
void operator+=(const CmdArg&)
auto operator[](const std::string&) const -> const eckit::Value&
auto operator[](const long) const -> const eckit::Value&
auto operator[](const std::string&) -> eckit::Value&
auto operator[](const long) -> eckit::Value&
auto operator()(const std::string&, eckit::Value) -> const eckit::Value&
auto operator()(const long, eckit::Value) -> const eckit::Value&
auto size() const -> size_t
void erase()
void erase(long, long)
void erase(const std::string&)
auto exists(const std::string&) const -> bool
auto exists(long) const -> bool
auto args() const -> std::vector<std::string>
void encode(eckit::Stream&) const override
auto reanimator() const -> const eckit::ReanimatorBase& override
auto get(const std::string&, const eckit::Value&) const -> const eckit::Value&
template<typename T>
auto get(const std::string& name, const std::string& resource, const T& def) const -> const eckit::Value
auto className() const -> std::string virtual

Friends

auto operator<<(std::ostream& s, const CmdArg& p) -> std::ostream&
auto operator<(const CmdArg& lhs, const CmdArg& rhs) -> bool
auto operator==(const CmdArg& lhs, const CmdArg& rhs) -> bool

Function documentation

static const ClassSpec& eckit::CmdArg::classSpec()

std::string eckit::CmdArg::className() const virtual