|
bool | Parse (Message *output) |
|
bool | ParseField (const FieldDescriptor *field, Message *output) |
|
| ParserImpl (const Descriptor *root_message_type, io::ZeroCopyInputStream *input_stream, io::ErrorCollector *error_collector, const TextFormat::Finder *finder, ParseInfoTree *parse_info_tree, SingularOverwritePolicy singular_overwrite_policy, bool allow_case_insensitive_field, bool allow_unknown_field, bool allow_unknown_extension, bool allow_unknown_enum, bool allow_field_number, bool allow_relaxed_whitespace, bool allow_partial, int recursion_limit) |
|
void | ReportError (int line, int col, const std::string &message) |
|
void | ReportWarning (int line, int col, const std::string &message) |
|
| ~ParserImpl () |
|
|
bool | Consume (const std::string &value) |
|
bool | ConsumeAnyTypeUrl (std::string *full_type_name, std::string *prefix) |
|
bool | ConsumeAnyValue (const Descriptor *value_descriptor, std::string *serialized_value) |
|
bool | ConsumeDouble (double *value) |
|
bool | ConsumeField (Message *message) |
|
bool | ConsumeFieldMessage (Message *message, const Reflection *reflection, const FieldDescriptor *field) |
|
bool | ConsumeFieldValue (Message *message, const Reflection *reflection, const FieldDescriptor *field) |
|
bool | ConsumeFullTypeName (std::string *name) |
|
bool | ConsumeIdentifier (std::string *identifier) |
|
bool | ConsumeMessage (Message *message, const std::string delimiter) |
|
bool | ConsumeMessageDelimiter (std::string *delimiter) |
|
bool | ConsumeSignedInteger (int64 *value, uint64 max_value) |
|
bool | ConsumeString (std::string *text) |
|
bool | ConsumeTypeUrlOrFullTypeName () |
|
bool | ConsumeUnsignedDecimalAsDouble (double *value, uint64 max_value) |
|
bool | ConsumeUnsignedInteger (uint64 *value, uint64 max_value) |
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ParserImpl) |
|
bool | LookingAt (const std::string &text) |
|
bool | LookingAtType (io::Tokenizer::TokenType token_type) |
|
void | ReportError (const std::string &message) |
|
void | ReportWarning (const std::string &message) |
|
bool | SkipField () |
|
bool | SkipFieldMessage () |
|
bool | SkipFieldValue () |
|
bool | TryConsume (const std::string &value) |
|
Definition at line 243 of file text_format.cc.
◆ SingularOverwritePolicy
Enumerator |
---|
ALLOW_SINGULAR_OVERWRITES | |
FORBID_SINGULAR_OVERWRITES | |
Definition at line 249 of file text_format.cc.
◆ ParserImpl()
google::protobuf::TextFormat::Parser::ParserImpl::ParserImpl |
( |
const Descriptor * |
root_message_type, |
|
|
io::ZeroCopyInputStream * |
input_stream, |
|
|
io::ErrorCollector * |
error_collector, |
|
|
const TextFormat::Finder * |
finder, |
|
|
ParseInfoTree * |
parse_info_tree, |
|
|
SingularOverwritePolicy |
singular_overwrite_policy, |
|
|
bool |
allow_case_insensitive_field, |
|
|
bool |
allow_unknown_field, |
|
|
bool |
allow_unknown_extension, |
|
|
bool |
allow_unknown_enum, |
|
|
bool |
allow_field_number, |
|
|
bool |
allow_relaxed_whitespace, |
|
|
bool |
allow_partial, |
|
|
int |
recursion_limit |
|
) |
| |
|
inline |
◆ ~ParserImpl()
google::protobuf::TextFormat::Parser::ParserImpl::~ParserImpl |
( |
| ) |
|
|
inline |
◆ Consume()
bool google::protobuf::TextFormat::Parser::ParserImpl::Consume |
( |
const std::string & |
value | ) |
|
|
inlineprivate |
◆ ConsumeAnyTypeUrl()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeAnyTypeUrl |
( |
std::string * |
full_type_name, |
|
|
std::string * |
prefix |
|
) |
| |
|
inlineprivate |
◆ ConsumeAnyValue()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeAnyValue |
( |
const Descriptor * |
value_descriptor, |
|
|
std::string * |
serialized_value |
|
) |
| |
|
inlineprivate |
◆ ConsumeDouble()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeDouble |
( |
double * |
value | ) |
|
|
inlineprivate |
◆ ConsumeField()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeField |
( |
Message * |
message | ) |
|
|
inlineprivate |
◆ ConsumeFieldMessage()
◆ ConsumeFieldValue()
◆ ConsumeFullTypeName()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeFullTypeName |
( |
std::string * |
name | ) |
|
|
inlineprivate |
◆ ConsumeIdentifier()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeIdentifier |
( |
std::string * |
identifier | ) |
|
|
inlineprivate |
◆ ConsumeMessage()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeMessage |
( |
Message * |
message, |
|
|
const std::string |
delimiter |
|
) |
| |
|
inlineprivate |
◆ ConsumeMessageDelimiter()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeMessageDelimiter |
( |
std::string * |
delimiter | ) |
|
|
inlineprivate |
◆ ConsumeSignedInteger()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeSignedInteger |
( |
int64 * |
value, |
|
|
uint64 |
max_value |
|
) |
| |
|
inlineprivate |
◆ ConsumeString()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeString |
( |
std::string * |
text | ) |
|
|
inlineprivate |
◆ ConsumeTypeUrlOrFullTypeName()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeTypeUrlOrFullTypeName |
( |
| ) |
|
|
inlineprivate |
◆ ConsumeUnsignedDecimalAsDouble()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeUnsignedDecimalAsDouble |
( |
double * |
value, |
|
|
uint64 |
max_value |
|
) |
| |
|
inlineprivate |
◆ ConsumeUnsignedInteger()
bool google::protobuf::TextFormat::Parser::ParserImpl::ConsumeUnsignedInteger |
( |
uint64 * |
value, |
|
|
uint64 |
max_value |
|
) |
| |
|
inlineprivate |
◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()
google::protobuf::TextFormat::Parser::ParserImpl::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
ParserImpl |
| ) |
|
|
private |
◆ LookingAt()
bool google::protobuf::TextFormat::Parser::ParserImpl::LookingAt |
( |
const std::string & |
text | ) |
|
|
inlineprivate |
◆ LookingAtType()
◆ Parse()
bool google::protobuf::TextFormat::Parser::ParserImpl::Parse |
( |
Message * |
output | ) |
|
|
inline |
◆ ParseField()
bool google::protobuf::TextFormat::Parser::ParserImpl::ParseField |
( |
const FieldDescriptor * |
field, |
|
|
Message * |
output |
|
) |
| |
|
inline |
◆ ReportError() [1/2]
void google::protobuf::TextFormat::Parser::ParserImpl::ReportError |
( |
const std::string & |
message | ) |
|
|
inlineprivate |
◆ ReportError() [2/2]
void google::protobuf::TextFormat::Parser::ParserImpl::ReportError |
( |
int |
line, |
|
|
int |
col, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
◆ ReportWarning() [1/2]
void google::protobuf::TextFormat::Parser::ParserImpl::ReportWarning |
( |
const std::string & |
message | ) |
|
|
inlineprivate |
◆ ReportWarning() [2/2]
void google::protobuf::TextFormat::Parser::ParserImpl::ReportWarning |
( |
int |
line, |
|
|
int |
col, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
◆ SkipField()
bool google::protobuf::TextFormat::Parser::ParserImpl::SkipField |
( |
| ) |
|
|
inlineprivate |
◆ SkipFieldMessage()
bool google::protobuf::TextFormat::Parser::ParserImpl::SkipFieldMessage |
( |
| ) |
|
|
inlineprivate |
◆ SkipFieldValue()
bool google::protobuf::TextFormat::Parser::ParserImpl::SkipFieldValue |
( |
| ) |
|
|
inlineprivate |
◆ TryConsume()
bool google::protobuf::TextFormat::Parser::ParserImpl::TryConsume |
( |
const std::string & |
value | ) |
|
|
inlineprivate |
◆ allow_case_insensitive_field_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_case_insensitive_field_ |
|
private |
◆ allow_field_number_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_field_number_ |
|
private |
◆ allow_partial_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_partial_ |
|
private |
◆ allow_unknown_enum_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_unknown_enum_ |
|
private |
◆ allow_unknown_extension_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_unknown_extension_ |
|
private |
◆ allow_unknown_field_
const bool google::protobuf::TextFormat::Parser::ParserImpl::allow_unknown_field_ |
|
private |
◆ error_collector_
◆ finder_
◆ had_errors_
bool google::protobuf::TextFormat::Parser::ParserImpl::had_errors_ |
|
private |
◆ parse_info_tree_
ParseInfoTree* google::protobuf::TextFormat::Parser::ParserImpl::parse_info_tree_ |
|
private |
◆ recursion_limit_
int google::protobuf::TextFormat::Parser::ParserImpl::recursion_limit_ |
|
private |
◆ root_message_type_
const Descriptor* google::protobuf::TextFormat::Parser::ParserImpl::root_message_type_ |
|
private |
◆ singular_overwrite_policy_
◆ tokenizer_
io::Tokenizer google::protobuf::TextFormat::Parser::ParserImpl::tokenizer_ |
|
private |
◆ tokenizer_error_collector_
The documentation for this class was generated from the following file: