MCPcopy Create free account
hub / github.com/apache/brpc / dump

Method dump

test/bvar_variable_unittest.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199class MyDumper : public bvar::Dumper {
200public:
201 bool dump(const std::string& name,
202 const butil::StringPiece& description) {
203 _list.push_back(std::make_pair(name, description.as_string()));
204 return true;
205 }
206
207 std::vector<std::pair<std::string, std::string> > _list;
208};

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
as_stringMethod · 0.45

Tested by

no test coverage detected