Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::TextFormat::ParseInfoTree Class Reference

#include <text_format.h>

Public Member Functions

ParseLocation GetLocation (const FieldDescriptor *field, int index) const
 
ParseLocation GetLocation (const FieldDescriptor *field, int index) const
 
ParseLocationRange GetLocationRange (const FieldDescriptor *field, int index) const
 
ParseInfoTreeGetTreeForNested (const FieldDescriptor *field, int index) const
 
ParseInfoTreeGetTreeForNested (const FieldDescriptor *field, int index) const
 
ParseInfoTreeoperator= (const ParseInfoTree &)=delete
 
ParseInfoTreeoperator= (const ParseInfoTree &)=delete
 
 ParseInfoTree ()=default
 
 ParseInfoTree ()=default
 
 ParseInfoTree (const ParseInfoTree &)=delete
 
 ParseInfoTree (const ParseInfoTree &)=delete
 

Private Types

typedef std::map< const FieldDescriptor *, std::vector< ParseLocation > > LocationMap
 
typedef std::map< const FieldDescriptor *, std::vector< ParseLocationRange > > LocationMap
 
typedef std::map< const FieldDescriptor *, std::vector< std::unique_ptr< ParseInfoTree > > > NestedMap
 
typedef std::map< const FieldDescriptor *, std::vector< std::unique_ptr< ParseInfoTree > > > NestedMap
 

Private Member Functions

ParseInfoTreeCreateNested (const FieldDescriptor *field)
 
ParseInfoTreeCreateNested (const FieldDescriptor *field)
 
void RecordLocation (const FieldDescriptor *field, ParseLocation location)
 
void RecordLocation (const FieldDescriptor *field, ParseLocationRange range)
 

Private Attributes

LocationMap locations_
 
NestedMap nested_
 

Friends

class TextFormat
 

Detailed Description

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

Member Typedef Documentation

◆ LocationMap [1/2]

◆ LocationMap [2/2]

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

◆ NestedMap [1/2]

◆ NestedMap [2/2]

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

Constructor & Destructor Documentation

◆ ParseInfoTree() [1/4]

google::protobuf::TextFormat::ParseInfoTree::ParseInfoTree ( )
default

◆ ParseInfoTree() [2/4]

google::protobuf::TextFormat::ParseInfoTree::ParseInfoTree ( const ParseInfoTree )
delete

◆ ParseInfoTree() [3/4]

google::protobuf::TextFormat::ParseInfoTree::ParseInfoTree ( )
default

◆ ParseInfoTree() [4/4]

google::protobuf::TextFormat::ParseInfoTree::ParseInfoTree ( const ParseInfoTree )
delete

Member Function Documentation

◆ CreateNested() [1/2]

TextFormat::ParseInfoTree * google::protobuf::TextFormat::ParseInfoTree::CreateNested ( const FieldDescriptor field)
private

◆ CreateNested() [2/2]

ParseInfoTree* google::protobuf::TextFormat::ParseInfoTree::CreateNested ( const FieldDescriptor field)
private

◆ GetLocation() [1/2]

TextFormat::ParseLocation google::protobuf::TextFormat::ParseInfoTree::GetLocation ( const FieldDescriptor field,
int  index 
) const

◆ GetLocation() [2/2]

ParseLocation google::protobuf::TextFormat::ParseInfoTree::GetLocation ( const FieldDescriptor field,
int  index 
) const
inline

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

◆ GetLocationRange()

TextFormat::ParseLocationRange google::protobuf::TextFormat::ParseInfoTree::GetLocationRange ( const FieldDescriptor field,
int  index 
) const

Definition at line 170 of file protobuf/src/google/protobuf/text_format.cc.

◆ GetTreeForNested() [1/2]

TextFormat::ParseInfoTree * google::protobuf::TextFormat::ParseInfoTree::GetTreeForNested ( const FieldDescriptor field,
int  index 
) const

◆ GetTreeForNested() [2/2]

ParseInfoTree* google::protobuf::TextFormat::ParseInfoTree::GetTreeForNested ( const FieldDescriptor field,
int  index 
) const

◆ operator=() [1/2]

ParseInfoTree& google::protobuf::TextFormat::ParseInfoTree::operator= ( const ParseInfoTree )
delete

◆ operator=() [2/2]

ParseInfoTree& google::protobuf::TextFormat::ParseInfoTree::operator= ( const ParseInfoTree )
delete

◆ RecordLocation() [1/2]

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

◆ RecordLocation() [2/2]

void google::protobuf::TextFormat::ParseInfoTree::RecordLocation ( const FieldDescriptor field,
TextFormat::ParseLocationRange  range 
)
private

Definition at line 143 of file protobuf/src/google/protobuf/text_format.cc.

Friends And Related Function Documentation

◆ TextFormat

TextFormat
friend

Member Data Documentation

◆ locations_

LocationMap google::protobuf::TextFormat::ParseInfoTree::locations_
private

◆ nested_

NestedMap google::protobuf::TextFormat::ParseInfoTree::nested_
private

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


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