OsmAnd
Classes | Packages | Defines
jni/protobuf/google/protobuf/text_format.cc File Reference
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stack>
#include <limits>
#include <google/protobuf/text_format.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/stubs/strutil.h>

Classes

class  google::protobuf::TextFormat::Parser::ParserImpl
class  google::protobuf::TextFormat::Parser::ParserImpl::ParserErrorCollector
class  google::protobuf::TextFormat::Printer::TextGenerator

Packages

namespace  google
namespace  google::protobuf

Defines

#define DO(STATEMENT)   if (STATEMENT) {} else return false
#define SET_FIELD(CPPTYPE, VALUE)
#define OUTPUT_FIELD(CPPTYPE, METHOD, TO_STRING)

Define Documentation

#define DO (   STATEMENT)    if (STATEMENT) {} else return false
#define OUTPUT_FIELD (   CPPTYPE,
  METHOD,
  TO_STRING 
)
Value:
case FieldDescriptor::CPPTYPE_##CPPTYPE:                               \
        generator.Print(TO_STRING(field->is_repeated() ?                     \
          reflection->GetRepeated##METHOD(message, field, index) :           \
          reflection->Get##METHOD(message, field)));                         \
        break;                                                               \
#define SET_FIELD (   CPPTYPE,
  VALUE 
)
Value:
if (field->is_repeated()) {                                \
          reflection->Add##CPPTYPE(message, field, VALUE);         \
        } else {                                                   \
          reflection->Set##CPPTYPE(message, field, VALUE);         \
        }                                                          \
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines