OsmAnd
Classes | Packages | Defines
jni/protobuf/google/protobuf/descriptor.cc File Reference
#include <google/protobuf/stubs/hash.h>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
#include <limits>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/map-util.h>
#include <google/protobuf/stubs/stl_util-inl.h>

Classes

class  google::protobuf::DescriptorPool::Tables
class  google::protobuf::FileDescriptorTables
class  google::protobuf::DescriptorBuilder
class  google::protobuf::DescriptorBuilder::OptionInterpreter

Packages

namespace  google
namespace  google::protobuf

Defines

#define CONSTRUCTOR(TYPE, TYPE_CONSTANT, FIELD)
#define BUILD_ARRAY(INPUT, OUTPUT, NAME, METHOD, PARENT)
#define VALIDATE_OPTIONS_FROM_ARRAY(descriptor, array_name, type)

Define Documentation

#define BUILD_ARRAY (   INPUT,
  OUTPUT,
  NAME,
  METHOD,
  PARENT 
)
Value:
OUTPUT->NAME##_count_ = INPUT.NAME##_size();                       \
  AllocateArray(INPUT.NAME##_size(), &OUTPUT->NAME##s_);             \
  for (int i = 0; i < INPUT.NAME##_size(); i++) {                    \
    METHOD(INPUT.NAME(i), PARENT, OUTPUT->NAME##s_ + i);             \
  }
#define CONSTRUCTOR (   TYPE,
  TYPE_CONSTANT,
  FIELD 
)
Value:
inline explicit Symbol(const TYPE* value) {    \
    type = TYPE_CONSTANT;                        \
    this->FIELD = value;                         \
  }
#define VALIDATE_OPTIONS_FROM_ARRAY (   descriptor,
  array_name,
  type 
)
Value:
for (int i = 0; i < descriptor->array_name##_count(); ++i) {     \
    Validate##type##Options(descriptor->array_name##s_ + i,        \
                            proto.array_name(i));                  \
  }

Variable Documentation

const Descriptor* descriptor
string element_name
const EnumDescriptor* enum_descriptor
const EnumValueDescriptor* enum_value_descriptor
const FieldDescriptor* field_descriptor
const MethodDescriptor* method_descriptor
string name_scope
Message* options
const Message* original_options
const FileDescriptor* package_file_descriptor
const ServiceDescriptor* service_descriptor
Type type
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines