TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::ObjectAddress Class Reference

#include <rpc_types.pb.h>

Public Member Functions

 ObjectAddress ()
 
virtual ~ObjectAddress ()
 
 ObjectAddress (const ObjectAddress &from)
 
ObjectAddressoperator= (const ObjectAddress &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ObjectAddress *other)
 
ObjectAddressNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ObjectAddress &from)
 
void MergeFrom (const ObjectAddress &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_host () const
 
void clear_host ()
 
const ::bgs::protocol::ProcessIdhost () const
 
inline::bgs::protocol::ProcessId * mutable_host ()
 
inline::bgs::protocol::ProcessId * release_host ()
 
void set_allocated_host (::bgs::protocol::ProcessId *host)
 
bool has_object_id () const
 
void clear_object_id ()
 
inline::google::protobuf::uint64 object_id () const
 
void set_object_id (::google::protobuf::uint64 value)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
 
static const ObjectAddressdefault_instance ()
 

Static Public Attributes

static const int kHostFieldNumber = 1
 
static const int kObjectIdFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_host ()
 
void clear_has_host ()
 
void set_has_object_id ()
 
void clear_has_object_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::ProcessIdhost_
 
::google::protobuf::uint64 object_id_
 

Static Private Attributes

static ObjectAddressdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_rpc_5ftypes_2eproto ()
 
void protobuf_AssignDesc_rpc_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_rpc_5ftypes_2eproto ()
 

Additional Inherited Members

- Public Types inherited from google::protobuf::Message
typedef
google::protobuf::Reflection 
Reflection
 

Constructor & Destructor Documentation

bgs::protocol::ObjectAddress::ObjectAddress ( )
virtual bgs::protocol::ObjectAddress::~ObjectAddress ( )
virtual
bgs::protocol::ObjectAddress::ObjectAddress ( const ObjectAddress from)

Member Function Documentation

int bgs::protocol::ObjectAddress::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::ObjectAddress::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::ObjectAddress::clear_has_host ( )
inlineprivate
934  {
935  _has_bits_[0] &= ~0x00000001u;
936 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381

+ Here is the caller graph for this function:

void bgs::protocol::ObjectAddress::clear_has_object_id ( )
inlineprivate
975  {
976  _has_bits_[0] &= ~0x00000002u;
977 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381

+ Here is the caller graph for this function:

void bgs::protocol::ObjectAddress::clear_host ( )
inline
937  {
938  if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
939  clear_has_host();
940 }
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:383
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_host()
Definition: rpc_types.pb.h:934

+ Here is the call graph for this function:

void bgs::protocol::ObjectAddress::clear_object_id ( )
inline
978  {
981 }
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:384
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
void clear_has_object_id()
Definition: rpc_types.pb.h:975

+ Here is the call graph for this function:

void bgs::protocol::ObjectAddress::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::ObjectAddress::CopyFrom ( const ObjectAddress from)
static const ObjectAddress& bgs::protocol::ObjectAddress::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::ObjectAddress::descriptor ( )
static
int bgs::protocol::ObjectAddress::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

344 { return _cached_size_; }
int _cached_size_
Definition: rpc_types.pb.h:382
::google::protobuf::Metadata bgs::protocol::ObjectAddress::GetMetadata ( ) const
virtual
bool bgs::protocol::ObjectAddress::has_host ( ) const
inline
928  {
929  return (_has_bits_[0] & 0x00000001u) != 0;
930 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381
bool bgs::protocol::ObjectAddress::has_object_id ( ) const
inline
969  {
970  return (_has_bits_[0] & 0x00000002u) != 0;
971 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381
const ::bgs::protocol::ProcessId & bgs::protocol::ObjectAddress::host ( ) const
inline
941  {
942  // @@protoc_insertion_point(field_get:bgs.protocol.ObjectAddress.host)
943  return host_ != NULL ? *host_ : *default_instance_->host_;
944 }
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:383
arena_t NULL
Definition: jemalloc_internal.h:624
static ObjectAddress * default_instance_
Definition: rpc_types.pb.h:390

+ Here is the caller graph for this function:

void bgs::protocol::ObjectAddress::InitAsDefaultInstance ( )
private
bool bgs::protocol::ObjectAddress::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::ObjectAddress::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::ObjectAddress::MergeFrom ( const ObjectAddress from)
bool bgs::protocol::ObjectAddress::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::ProcessId * bgs::protocol::ObjectAddress::mutable_host ( )
inline
945  {
946  set_has_host();
947  if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
948  // @@protoc_insertion_point(field_mutable:bgs.protocol.ObjectAddress.host)
949  return host_;
950 }
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:383
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_host()
Definition: rpc_types.pb.h:931

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::ObjectAddress::mutable_unknown_fields ( )
inline
319  {
320  return &_unknown_fields_;
321  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:379
ObjectAddress* bgs::protocol::ObjectAddress::New ( ) const
virtual
google::protobuf::uint64 bgs::protocol::ObjectAddress::object_id ( ) const
inline
982  {
983  // @@protoc_insertion_point(field_get:bgs.protocol.ObjectAddress.object_id)
984  return object_id_;
985 }
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:384
ObjectAddress& bgs::protocol::ObjectAddress::operator= ( const ObjectAddress from)
inline
310  {
311  CopyFrom(from);
312  return *this;
313  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::ProcessId * bgs::protocol::ObjectAddress::release_host ( )
inline
951  {
952  clear_has_host();
954  host_ = NULL;
955  return temp;
956 }
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:383
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_host()
Definition: rpc_types.pb.h:934
Definition: rpc_types.pb.h:214

+ Here is the call graph for this function:

void bgs::protocol::ObjectAddress::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::ObjectAddress::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::ObjectAddress::set_allocated_host ( ::bgs::protocol::ProcessId host)
inline
957  {
958  delete host_;
959  host_ = host;
960  if (host) {
961  set_has_host();
962  } else {
963  clear_has_host();
964  }
965  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.ObjectAddress.host)
966 }
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:383
void clear_has_host()
Definition: rpc_types.pb.h:934
const ::bgs::protocol::ProcessId & host() const
Definition: rpc_types.pb.h:941
void set_has_host()
Definition: rpc_types.pb.h:931

+ Here is the call graph for this function:

void bgs::protocol::ObjectAddress::set_has_host ( )
inlineprivate
931  {
932  _has_bits_[0] |= 0x00000001u;
933 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381

+ Here is the caller graph for this function:

void bgs::protocol::ObjectAddress::set_has_object_id ( )
inlineprivate
972  {
973  _has_bits_[0] |= 0x00000002u;
974 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:381

+ Here is the caller graph for this function:

void bgs::protocol::ObjectAddress::set_object_id ( ::google::protobuf::uint64  value)
inline
986  {
988  object_id_ = value;
989  // @@protoc_insertion_point(field_set:bgs.protocol.ObjectAddress.object_id)
990 }
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:384
void set_has_object_id()
Definition: rpc_types.pb.h:972
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::ObjectAddress::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::ObjectAddress::SharedCtor ( )
private
void bgs::protocol::ObjectAddress::SharedDtor ( )
private
void bgs::protocol::ObjectAddress::Swap ( ObjectAddress other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::ObjectAddress::unknown_fields ( ) const
inline
315  {
316  return _unknown_fields_;
317  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:379

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_rpc_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_rpc_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_rpc_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::ObjectAddress::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::ObjectAddress::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::ObjectAddress::_unknown_fields_
private
ObjectAddress* bgs::protocol::ObjectAddress::default_instance_
staticprivate
::bgs::protocol::ProcessId* bgs::protocol::ObjectAddress::host_
private
const int bgs::protocol::ObjectAddress::kHostFieldNumber = 1
static
const int bgs::protocol::ObjectAddress::kObjectIdFieldNumber = 2
static
::google::protobuf::uint64 bgs::protocol::ObjectAddress::object_id_
private

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