MCPcopy Create free account
hub / github.com/ceph/ceph / bad_cmd_get

Class bad_cmd_get

src/common/cmdparse.h:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50std::string cmd_vartype_stringify(const cmd_vartype& v);
51
52struct bad_cmd_get : public std::exception {
53 std::string desc;
54 bad_cmd_get(std::string_view f, const cmdmap_t& cmdmap) {
55 desc += "bad or missing field '";
56 desc += f;
57 desc += "'";
58 }
59 const char *what() const throw() override {
60 return desc.c_str();
61 }
62};
63
64bool cmd_getval(const cmdmap_t& cmdmap,
65 std::string_view k, bool& val);

Callers 4

cmd_getvalFunction · 0.85
cmd_getval_orFunction · 0.85
cmd_getval_cast_orFunction · 0.85
cmd_getvalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected