TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::internal::MessageTypeTraits< Type > Class Template Reference

#include <extension_set.h>

Public Types

typedef const TypeConstType
 
typedef TypeMutableType
 
typedef MessageTypeTraits< TypeSingular
 

Static Public Member Functions

static ConstType Get (int number, const ExtensionSet &set, ConstType default_value)
 
static MutableType Mutable (int number, FieldType field_type, ExtensionSet *set)
 
static void SetAllocated (int number, FieldType field_type, MutableType message, ExtensionSet *set)
 
static MutableType Release (int number, FieldType, ExtensionSet *set)
 

Member Typedef Documentation

template<typename Type >
typedef Type* google::protobuf::internal::MessageTypeTraits< Type >::MutableType

Member Function Documentation

template<typename Type >
static ConstType google::protobuf::internal::MessageTypeTraits< Type >::Get ( int  number,
const ExtensionSet set,
ConstType  default_value 
)
inlinestatic
943  {
944  return static_cast<const Type&>(
945  set.GetMessage(number, default_value));
946  }
Type
Type of JSON value.
Definition: rapidjson.h:642

+ Here is the call graph for this function:

template<typename Type >
static MutableType google::protobuf::internal::MessageTypeTraits< Type >::Mutable ( int  number,
FieldType  field_type,
ExtensionSet set 
)
inlinestatic
948  {
949  return static_cast<Type*>(
950  set->MutableMessage(number, field_type, Type::default_instance(), NULL));
951  }
arena_t NULL
Definition: jemalloc_internal.h:624
Type
Type of JSON value.
Definition: rapidjson.h:642

+ Here is the call graph for this function:

template<typename Type >
static MutableType google::protobuf::internal::MessageTypeTraits< Type >::Release ( int  number,
FieldType  ,
ExtensionSet set 
)
inlinestatic
957  {
958  return static_cast<Type*>(set->ReleaseMessage(
959  number, Type::default_instance()));
960  }
Type
Type of JSON value.
Definition: rapidjson.h:642

+ Here is the call graph for this function:

template<typename Type >
static void google::protobuf::internal::MessageTypeTraits< Type >::SetAllocated ( int  number,
FieldType  field_type,
MutableType  message,
ExtensionSet set 
)
inlinestatic
953  {
954  set->SetAllocatedMessage(number, field_type, NULL, message);
955  }
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the call graph for this function:


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