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

#include <text_format.h>

Classes

class  ParserImpl
 

Public Member Functions

void AllowCaseInsensitiveField (bool allow)
 
void AllowFieldNumber (bool allow)
 
void AllowPartialMessage (bool allow)
 
void AllowUnknownExtension (bool allow)
 
void AllowUnknownField (bool allow)
 
bool Merge (io::ZeroCopyInputStream *input, Message *output)
 
bool MergeFromString (const std::string &input, Message *output)
 
bool Parse (io::ZeroCopyInputStream *input, Message *output)
 
bool ParseFieldValueFromString (const std::string &input, const FieldDescriptor *field, Message *output)
 
bool ParseFromString (const std::string &input, Message *output)
 
 Parser ()
 
void RecordErrorsTo (io::ErrorCollector *error_collector)
 
void SetFinder (const Finder *finder)
 
void SetRecursionLimit (int limit)
 
void WriteLocationsTo (ParseInfoTree *tree)
 
 ~Parser ()
 

Private Member Functions

bool MergeUsingImpl (io::ZeroCopyInputStream *input, Message *output, ParserImpl *parser_impl)
 

Private Attributes

bool allow_case_insensitive_field_
 
bool allow_field_number_
 
bool allow_partial_
 
bool allow_relaxed_whitespace_
 
bool allow_singular_overwrites_
 
bool allow_unknown_enum_
 
bool allow_unknown_extension_
 
bool allow_unknown_field_
 
io::ErrorCollectorerror_collector_
 
const Finderfinder_
 
ParseInfoTreeparse_info_tree_
 
int recursion_limit_
 

Detailed Description

Definition at line 509 of file text_format.h.

Constructor & Destructor Documentation

◆ Parser()

google::protobuf::TextFormat::Parser::Parser ( )

Definition at line 1382 of file text_format.cc.

◆ ~Parser()

google::protobuf::TextFormat::Parser::~Parser ( )

Definition at line 1396 of file text_format.cc.

Member Function Documentation

◆ AllowCaseInsensitiveField()

void google::protobuf::TextFormat::Parser::AllowCaseInsensitiveField ( bool  allow)
inline

Definition at line 546 of file text_format.h.

◆ AllowFieldNumber()

void google::protobuf::TextFormat::Parser::AllowFieldNumber ( bool  allow)
inline

Definition at line 568 of file text_format.h.

◆ AllowPartialMessage()

void google::protobuf::TextFormat::Parser::AllowPartialMessage ( bool  allow)
inline

Definition at line 540 of file text_format.h.

◆ AllowUnknownExtension()

void google::protobuf::TextFormat::Parser::AllowUnknownExtension ( bool  allow)
inline

Definition at line 558 of file text_format.h.

◆ AllowUnknownField()

void google::protobuf::TextFormat::Parser::AllowUnknownField ( bool  allow)
inline

Definition at line 565 of file text_format.h.

◆ Merge()

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

Definition at line 1439 of file text_format.cc.

◆ MergeFromString()

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

Definition at line 1450 of file text_format.cc.

◆ MergeUsingImpl()

bool google::protobuf::TextFormat::Parser::MergeUsingImpl ( io::ZeroCopyInputStream input,
Message output,
ParserImpl parser_impl 
)
private

Definition at line 1458 of file text_format.cc.

◆ Parse()

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

Definition at line 1414 of file text_format.cc.

◆ ParseFieldValueFromString()

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

Definition at line 1473 of file text_format.cc.

◆ ParseFromString()

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

Definition at line 1431 of file text_format.cc.

◆ RecordErrorsTo()

void google::protobuf::TextFormat::Parser::RecordErrorsTo ( io::ErrorCollector error_collector)
inline

Definition at line 525 of file text_format.h.

◆ SetFinder()

void google::protobuf::TextFormat::Parser::SetFinder ( const Finder finder)
inline

Definition at line 532 of file text_format.h.

◆ SetRecursionLimit()

void google::protobuf::TextFormat::Parser::SetRecursionLimit ( int  limit)
inline

Definition at line 572 of file text_format.h.

◆ WriteLocationsTo()

void google::protobuf::TextFormat::Parser::WriteLocationsTo ( ParseInfoTree tree)
inline

Definition at line 536 of file text_format.h.

Member Data Documentation

◆ allow_case_insensitive_field_

bool google::protobuf::TextFormat::Parser::allow_case_insensitive_field_
private

Definition at line 588 of file text_format.h.

◆ allow_field_number_

bool google::protobuf::TextFormat::Parser::allow_field_number_
private

Definition at line 592 of file text_format.h.

◆ allow_partial_

bool google::protobuf::TextFormat::Parser::allow_partial_
private

Definition at line 587 of file text_format.h.

◆ allow_relaxed_whitespace_

bool google::protobuf::TextFormat::Parser::allow_relaxed_whitespace_
private

Definition at line 593 of file text_format.h.

◆ allow_singular_overwrites_

bool google::protobuf::TextFormat::Parser::allow_singular_overwrites_
private

Definition at line 594 of file text_format.h.

◆ allow_unknown_enum_

bool google::protobuf::TextFormat::Parser::allow_unknown_enum_
private

Definition at line 591 of file text_format.h.

◆ allow_unknown_extension_

bool google::protobuf::TextFormat::Parser::allow_unknown_extension_
private

Definition at line 590 of file text_format.h.

◆ allow_unknown_field_

bool google::protobuf::TextFormat::Parser::allow_unknown_field_
private

Definition at line 589 of file text_format.h.

◆ error_collector_

io::ErrorCollector* google::protobuf::TextFormat::Parser::error_collector_
private

Definition at line 584 of file text_format.h.

◆ finder_

const Finder* google::protobuf::TextFormat::Parser::finder_
private

Definition at line 585 of file text_format.h.

◆ parse_info_tree_

ParseInfoTree* google::protobuf::TextFormat::Parser::parse_info_tree_
private

Definition at line 586 of file text_format.h.

◆ recursion_limit_

int google::protobuf::TextFormat::Parser::recursion_limit_
private

Definition at line 595 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