| 199 | class MyDumper : public bvar::Dumper { |
| 200 | public: |
| 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 | }; |