BWAPI
Classes | Namespaces | Defines | Typedefs
Undermind/proxy/cpp/include/google/protobuf/extension_set.h File Reference
#include <vector>
#include <stack>
#include <map>
#include <utility>
#include <string>
#include <google/protobuf/stubs/common.h>
Include dependency graph for extension_set.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  google::protobuf::internal::ExtensionInfo
struct  google::protobuf::internal::ExtensionInfo::EnumValidityCheck
class  google::protobuf::internal::ExtensionFinder
class  google::protobuf::internal::GeneratedExtensionFinder
class  google::protobuf::internal::ExtensionSet
struct  google::protobuf::internal::ExtensionSet::Extension
class  google::protobuf::internal::PrimitiveTypeTraits< Type >
class  google::protobuf::internal::RepeatedPrimitiveTypeTraits< Type >
class  google::protobuf::internal::StringTypeTraits
class  google::protobuf::internal::RepeatedStringTypeTraits
class  google::protobuf::internal::EnumTypeTraits< Type, IsValid >
class  google::protobuf::internal::RepeatedEnumTypeTraits< Type, IsValid >
class  google::protobuf::internal::MessageTypeTraits< Type >
class  google::protobuf::internal::RepeatedMessageTypeTraits< Type >
class  google::protobuf::internal::ExtensionIdentifier< ExtendeeType, TypeTraitsType, field_type, is_packed >

Namespaces

namespace  google
namespace  google::protobuf
namespace  google::protobuf::io
namespace  google::protobuf::internal

Defines

#define desc   const FieldDescriptor* descriptor
#define desc   const FieldDescriptor* descriptor
#define PROTOBUF_DEFINE_PRIMITIVE_TYPE(TYPE, METHOD)
#define GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(CLASSNAME)

Typedefs

typedef uint8 google::protobuf::internal::FieldType
typedef bool google::protobuf::internal::EnumValidityFunc (int number)
typedef bool google::protobuf::internal::EnumValidityFuncWithArg (const void *arg, int number)

Define Documentation

#define desc   const FieldDescriptor* descriptor
#define desc   const FieldDescriptor* descriptor
#define GOOGLE_PROTOBUF_EXTENSION_ACCESSORS (   CLASSNAME)
#define PROTOBUF_DEFINE_PRIMITIVE_TYPE (   TYPE,
  METHOD 
)
Value:
template<> inline TYPE PrimitiveTypeTraits<TYPE>::Get(                     \
    int number, const ExtensionSet& set, TYPE default_value) {             \
  return set.Get##METHOD(number, default_value);                           \
}                                                                          \
template<> inline void PrimitiveTypeTraits<TYPE>::Set(                     \
    int number, FieldType field_type, TYPE value, ExtensionSet* set) {     \
  set->Set##METHOD(number, field_type, value, NULL);                       \
}                                                                          \
                                                                           \
template<> inline TYPE RepeatedPrimitiveTypeTraits<TYPE>::Get(             \
    int number, const ExtensionSet& set, int index) {                      \
  return set.GetRepeated##METHOD(number, index);                           \
}                                                                          \
template<> inline void RepeatedPrimitiveTypeTraits<TYPE>::Set(             \
    int number, int index, TYPE value, ExtensionSet* set) {                \
  set->SetRepeated##METHOD(number, index, value);                          \
}                                                                          \
template<> inline void RepeatedPrimitiveTypeTraits<TYPE>::Add(             \
    int number, FieldType field_type, bool is_packed,                      \
    TYPE value, ExtensionSet* set) {                                       \
  set->Add##METHOD(number, field_type, is_packed, value, NULL);            \
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines