Searched defs:ToStringVisitor (Results 1 – 1 of 1) sorted by relevance
285 struct ToStringVisitor : public IterationVisitor { struct292 ToStringVisitor(std::string delimiter, bool quotes, std::string indent, argument299 ToStringVisitor(std::string delimiter) in ToStringVisitor() argument306 void append_indent() { in append_indent()310 void StartSequence() { in StartSequence()315 void EndSequence() { in EndSequence()321 void Field(size_t /*field_idx*/, size_t set_idx, ElementaryType /*type*/, in Field()337 template<typename T> void Named(T x, const char *name) { in Named()346 void UType(uint8_t x, const char *name) { Named(x, name); } in UType()347 void Bool(bool x) { s += x ? "true" : "false"; } in Bool()[all …]