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  Finder
 
class  MessagePrinter
 
class  ParseInfoTree
 
struct  ParseLocation
 
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 MergeFromString (const std::string &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 ParseFromString (const std::string &input, Message *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 bool PrintToString (const Message &message, std::string *output)
 
static bool PrintUnknownFields (const UnknownFieldSet &unknown_fields, io::ZeroCopyOutputStream *output)
 
static bool PrintUnknownFieldsToString (const UnknownFieldSet &unknown_fields, std::string *output)
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (TextFormat)
 

Static Private Member Functions

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

Detailed Description

Definition at line 70 of file text_format.h.

Member Function Documentation

◆ CreateNested()

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

Definition at line 619 of file text_format.h.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

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

◆ Merge()

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

Definition at line 1491 of file text_format.cc.

◆ MergeFromString()

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

Definition at line 1501 of file text_format.cc.

◆ Parse()

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

Definition at line 1486 of file text_format.cc.

◆ ParseFieldValueFromString()

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

Definition at line 2414 of file text_format.cc.

◆ ParseFromString()

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

Definition at line 1496 of file text_format.cc.

◆ Print()

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

Definition at line 2388 of file text_format.cc.

◆ PrintFieldValueToString()

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

Definition at line 2408 of file text_format.cc.

◆ PrintToString()

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

Definition at line 2398 of file text_format.cc.

◆ PrintUnknownFields()

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

Definition at line 2393 of file text_format.cc.

◆ PrintUnknownFieldsToString()

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

Definition at line 2403 of file text_format.cc.

◆ PROTOBUF_DEPRECATED_MSG()

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

Definition at line 158 of file text_format.h.

◆ RecordLocation()

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

Definition at line 613 of file text_format.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09