Searched defs:ToStringVisitor (Results 1 – 1 of 1) sorted by relevance
284 struct ToStringVisitor : public IterationVisitor { struct290 ToStringVisitor(std::string delimiter, bool quotes, std::string indent) in ToStringVisitor() argument292 ToStringVisitor(std::string delimiter) in ToStringVisitor() function295 void append_indent() { in append_indent()299 void StartSequence() { in StartSequence()304 void EndSequence() { in EndSequence()310 void Field(size_t /*field_idx*/, size_t set_idx, ElementaryType /*type*/, in Field()326 template<typename T> void Named(T x, const char *name) { in Named()335 void UType(uint8_t x, const char *name) { Named(x, name); } in UType()336 void Bool(bool x) { s += x ? "true" : "false"; } in Bool()[all …]