TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::TextFormat::Parser Class Reference

#include <text_format.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

io::ErrorCollectorerror_collector_
 
Finderfinder_
 
ParseInfoTreeparse_info_tree_
 
bool allow_partial_
 
bool allow_case_insensitive_field_
 
bool allow_unknown_field_
 
bool allow_unknown_enum_
 
bool allow_field_number_
 
bool allow_relaxed_whitespace_
 
bool allow_singular_overwrites_
 

Constructor & Destructor Documentation

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

Member Function Documentation

void google::protobuf::TextFormat::Parser::AllowCaseInsensitiveField ( bool  allow)
inline
406  {
408  }
bool allow_case_insensitive_field_
Definition: text_format.h:435
void google::protobuf::TextFormat::Parser::AllowFieldNumber ( bool  allow)
inline
416  {
417  allow_field_number_ = allow;
418  }
bool allow_field_number_
Definition: text_format.h:438
void google::protobuf::TextFormat::Parser::AllowPartialMessage ( bool  allow)
inline
398  {
399  allow_partial_ = allow;
400  }
bool allow_partial_
Definition: text_format.h:434
bool google::protobuf::TextFormat::Parser::Merge ( io::ZeroCopyInputStream input,
Message output 
)
bool google::protobuf::TextFormat::Parser::MergeFromString ( const string &  input,
Message output 
)
bool google::protobuf::TextFormat::Parser::MergeUsingImpl ( io::ZeroCopyInputStream input,
Message output,
ParserImpl *  parser_impl 
)
private
bool google::protobuf::TextFormat::Parser::Parse ( io::ZeroCopyInputStream input,
Message output 
)
bool google::protobuf::TextFormat::Parser::ParseFieldValueFromString ( const string &  input,
const FieldDescriptor field,
Message output 
)
bool google::protobuf::TextFormat::Parser::ParseFromString ( const string &  input,
Message output 
)
void google::protobuf::TextFormat::Parser::RecordErrorsTo ( io::ErrorCollector error_collector)
inline
379  {
380  error_collector_ = error_collector;
381  }
io::ErrorCollector * error_collector_
Definition: text_format.h:431
void google::protobuf::TextFormat::Parser::SetFinder ( Finder finder)
inline
386  {
387  finder_ = finder;
388  }
Finder * finder_
Definition: text_format.h:432
void google::protobuf::TextFormat::Parser::WriteLocationsTo ( ParseInfoTree tree)
inline
392  {
393  parse_info_tree_ = tree;
394  }
ParseInfoTree * parse_info_tree_
Definition: text_format.h:433

Member Data Documentation

bool google::protobuf::TextFormat::Parser::allow_case_insensitive_field_
private
bool google::protobuf::TextFormat::Parser::allow_field_number_
private
bool google::protobuf::TextFormat::Parser::allow_partial_
private
bool google::protobuf::TextFormat::Parser::allow_relaxed_whitespace_
private
bool google::protobuf::TextFormat::Parser::allow_singular_overwrites_
private
bool google::protobuf::TextFormat::Parser::allow_unknown_enum_
private
bool google::protobuf::TextFormat::Parser::allow_unknown_field_
private
io::ErrorCollector* google::protobuf::TextFormat::Parser::error_collector_
private
Finder* google::protobuf::TextFormat::Parser::finder_
private
ParseInfoTree* google::protobuf::TextFormat::Parser::parse_info_tree_
private

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