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