Searched refs:FieldValuePrinter (Results 1 – 4 of 4) sorted by relevance
98 class LIBPROTOBUF_EXPORT FieldValuePrinter {100 FieldValuePrinter();101 virtual ~FieldValuePrinter();125 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldValuePrinter);190 void SetDefaultFieldValuePrinter(const FieldValuePrinter* printer);240 const FieldValuePrinter* printer);303 google::protobuf::scoped_ptr<const FieldValuePrinter> default_field_value_printer_;305 const FieldValuePrinter*> CustomPrinterMap;
1342 TextFormat::FieldValuePrinter::FieldValuePrinter() {} in FieldValuePrinter() function in google::protobuf::TextFormat::FieldValuePrinter1343 TextFormat::FieldValuePrinter::~FieldValuePrinter() {} in ~FieldValuePrinter()1344 string TextFormat::FieldValuePrinter::PrintBool(bool val) const { in PrintBool()1347 string TextFormat::FieldValuePrinter::PrintInt32(int32 val) const { in PrintInt32()1350 string TextFormat::FieldValuePrinter::PrintUInt32(uint32 val) const { in PrintUInt32()1353 string TextFormat::FieldValuePrinter::PrintInt64(int64 val) const { in PrintInt64()1356 string TextFormat::FieldValuePrinter::PrintUInt64(uint64 val) const { in PrintUInt64()1359 string TextFormat::FieldValuePrinter::PrintFloat(float val) const { in PrintFloat()1362 string TextFormat::FieldValuePrinter::PrintDouble(double val) const { in PrintDouble()1365 string TextFormat::FieldValuePrinter::PrintString(const string& val) const { in PrintString()[all …]
397 class CustomUInt32FieldValuePrinter : public TextFormat::FieldValuePrinter {400 return StrCat(FieldValuePrinter::PrintUInt32(val), "u"); in PrintUInt32()421 class CustomInt32FieldValuePrinter : public TextFormat::FieldValuePrinter {424 return StrCat("value-is(", FieldValuePrinter::PrintInt32(val), ")"); in PrintInt32()451 TextFormat::FieldValuePrinter my_field_printer; in TEST_F()456 class CustomMessageFieldValuePrinter : public TextFormat::FieldValuePrinter {459 return StrCat(FieldValuePrinter::PrintInt32(v), " # x", strings::Hex(v)); in PrintInt32()506 class CustomMultilineCommentPrinter : public TextFormat::FieldValuePrinter {
1777 class PythonFieldValuePrinter : public TextFormat::FieldValuePrinter { in CheckAndGetInteger()