Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
google::protobuf::TextFormat Class Reference

#include <text_format.h>

Classes

class  BaseTextGenerator
 
class  FastFieldValuePrinter
 
class  FieldValuePrinter
 
class  Finder
 
class  MessagePrinter
 
class  ParseInfoTree
 
struct  ParseLocation
 
struct  ParseLocationRange
 
class  Parser
 
class  Parser
 
class  Printer
 

Public Member Functions

class PROTOBUF_EXPORT PROTOBUF_DEPRECATED_MSG ("Please use FastFieldValuePrinter") FieldValuePrinter
 

Static Public Member Functions

static bool Merge (io::ZeroCopyInputStream *input, Message *output)
 
static bool Merge (io::ZeroCopyInputStream *input, Message *output)
 
static bool MergeFromString (const std::string &input, Message *output)
 
static bool MergeFromString (ConstStringParam input, Message *output)
 
static bool Parse (io::ZeroCopyInputStream *input, Message *output)
 
static bool Parse (io::ZeroCopyInputStream *input, Message *output)
 
static bool ParseFieldValueFromString (const std::string &input, const FieldDescriptor *field, Message *message)
 
static bool ParseFieldValueFromString (const std::string &input, const FieldDescriptor *field, Message *message)
 
static bool ParseFromString (const std::string &input, Message *output)
 
static bool ParseFromString (ConstStringParam input, Message *output)
 
static bool Print (const Message &message, io::ZeroCopyOutputStream *output)
 
static bool Print (const Message &message, io::ZeroCopyOutputStream *output)
 
static void PrintFieldValueToString (const Message &message, const FieldDescriptor *field, int index, std::string *output)
 
static void PrintFieldValueToString (const Message &message, const FieldDescriptor *field, int index, std::string *output)
 
static bool PrintToString (const Message &message, std::string *output)
 
static bool PrintToString (const Message &message, std::string *output)
 
static bool PrintUnknownFields (const UnknownFieldSet &unknown_fields, io::ZeroCopyOutputStream *output)
 
static bool PrintUnknownFields (const UnknownFieldSet &unknown_fields, io::ZeroCopyOutputStream *output)
 
static bool PrintUnknownFieldsToString (const UnknownFieldSet &unknown_fields, std::string *output)
 
static bool PrintUnknownFieldsToString (const UnknownFieldSet &unknown_fields, std::string *output)
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (TextFormat)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (TextFormat)
 

Static Private Member Functions

static ParseInfoTreeCreateNested (ParseInfoTree *info_tree, const FieldDescriptor *field)
 
static ParseInfoTreeCreateNested (ParseInfoTree *info_tree, const FieldDescriptor *field)
 
static void RecordLocation (ParseInfoTree *info_tree, const FieldDescriptor *field, ParseLocation location)
 
static void RecordLocation (ParseInfoTree *info_tree, const FieldDescriptor *field, ParseLocationRange location)
 

Detailed Description

Definition at line 70 of file bloaty/third_party/protobuf/src/google/protobuf/text_format.h.

Member Function Documentation

◆ CreateNested() [1/2]

TextFormat::ParseInfoTree * google::protobuf::TextFormat::CreateNested ( ParseInfoTree info_tree,
const FieldDescriptor field 
)
inlinestaticprivate

◆ CreateNested() [2/2]

static ParseInfoTree* google::protobuf::TextFormat::CreateNested ( ParseInfoTree info_tree,
const FieldDescriptor field 
)
inlinestaticprivate

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::TextFormat::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( TextFormat  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::TextFormat::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( TextFormat  )
private

◆ Merge() [1/2]

bool google::protobuf::TextFormat::Merge ( io::ZeroCopyInputStream input,
Message output 
)
static

◆ Merge() [2/2]

static bool google::protobuf::TextFormat::Merge ( io::ZeroCopyInputStream input,
Message output 
)
static

◆ MergeFromString() [1/2]

bool google::protobuf::TextFormat::MergeFromString ( const std::string &  input,
Message output 
)
static

◆ MergeFromString() [2/2]

static bool google::protobuf::TextFormat::MergeFromString ( ConstStringParam  input,
Message output 
)
static

◆ Parse() [1/2]

bool google::protobuf::TextFormat::Parse ( io::ZeroCopyInputStream input,
Message output 
)
static

◆ Parse() [2/2]

static bool google::protobuf::TextFormat::Parse ( io::ZeroCopyInputStream input,
Message output 
)
static

◆ ParseFieldValueFromString() [1/2]

bool google::protobuf::TextFormat::ParseFieldValueFromString ( const std::string &  input,
const FieldDescriptor field,
Message message 
)
static

◆ ParseFieldValueFromString() [2/2]

static bool google::protobuf::TextFormat::ParseFieldValueFromString ( const std::string &  input,
const FieldDescriptor field,
Message message 
)
static

◆ ParseFromString() [1/2]

bool google::protobuf::TextFormat::ParseFromString ( const std::string &  input,
Message output 
)
static

◆ ParseFromString() [2/2]

static bool google::protobuf::TextFormat::ParseFromString ( ConstStringParam  input,
Message output 
)
static

◆ Print() [1/2]

bool google::protobuf::TextFormat::Print ( const Message message,
io::ZeroCopyOutputStream output 
)
static

◆ Print() [2/2]

static bool google::protobuf::TextFormat::Print ( const Message message,
io::ZeroCopyOutputStream output 
)
static

◆ PrintFieldValueToString() [1/2]

void google::protobuf::TextFormat::PrintFieldValueToString ( const Message message,
const FieldDescriptor field,
int  index,
std::string *  output 
)
static

◆ PrintFieldValueToString() [2/2]

static void google::protobuf::TextFormat::PrintFieldValueToString ( const Message message,
const FieldDescriptor field,
int  index,
std::string *  output 
)
static

◆ PrintToString() [1/2]

static bool google::protobuf::TextFormat::PrintToString ( const Message message,
std::string *  output 
)
static

◆ PrintToString() [2/2]

bool google::protobuf::TextFormat::PrintToString ( const Message message,
std::string *  output 
)
static

◆ PrintUnknownFields() [1/2]

bool google::protobuf::TextFormat::PrintUnknownFields ( const UnknownFieldSet unknown_fields,
io::ZeroCopyOutputStream output 
)
static

◆ PrintUnknownFields() [2/2]

static bool google::protobuf::TextFormat::PrintUnknownFields ( const UnknownFieldSet unknown_fields,
io::ZeroCopyOutputStream output 
)
static

◆ PrintUnknownFieldsToString() [1/2]

static bool google::protobuf::TextFormat::PrintUnknownFieldsToString ( const UnknownFieldSet unknown_fields,
std::string *  output 
)
static

◆ PrintUnknownFieldsToString() [2/2]

bool google::protobuf::TextFormat::PrintUnknownFieldsToString ( const UnknownFieldSet unknown_fields,
std::string *  output 
)
static

◆ PROTOBUF_DEPRECATED_MSG()

class PROTOBUF_EXPORT google::protobuf::TextFormat::PROTOBUF_DEPRECATED_MSG ( "Please use FastFieldValuePrinter )
inline

◆ RecordLocation() [1/2]

void google::protobuf::TextFormat::RecordLocation ( ParseInfoTree info_tree,
const FieldDescriptor field,
ParseLocation  location 
)
inlinestaticprivate

◆ RecordLocation() [2/2]

void google::protobuf::TextFormat::RecordLocation ( ParseInfoTree info_tree,
const FieldDescriptor field,
ParseLocationRange  location 
)
inlinestaticprivate

Definition at line 671 of file protobuf/src/google/protobuf/text_format.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:22