TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
generated_message_reflection.h File Reference
+ Include dependency graph for generated_message_reflection.h:

Go to the source code of this file.

Classes

class  google::protobuf::internal::GeneratedMessageReflection
 

Namespaces

 google
 
 google::upb
 
 google::upb::google_opensource
 
 google::protobuf
 
 google::protobuf::internal
 

Macros

#define GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TYPE, FIELD)
 
#define PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(ONEOF, FIELD)
 

Functions

template<typename To , typename From >
To google::protobuf::internal::dynamic_cast_if_available (From from)
 

Macro Definition Documentation

#define GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET (   TYPE,
  FIELD 
)
Value:
static_cast<int>( \
reinterpret_cast<const char*>( \
&reinterpret_cast<const TYPE*>(16)->FIELD) - \
reinterpret_cast<const char*>(16))
Definition: inflate.h:32
#define PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET (   ONEOF,
  FIELD 
)
Value:
static_cast<int>( \
reinterpret_cast<const char*>(&(ONEOF->FIELD)) \
- reinterpret_cast<const char*>(ONEOF))