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

#include <rpc_types.pb.h>

Public Member Functions

 Address ()
 
virtual ~Address ()
 
 Address (const Address &from)
 
Addressoperator= (const Address &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Address *other)
 
AddressNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Address &from)
 
void MergeFrom (const Address &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_address () const
 
void clear_address ()
 
const ::std::string & address () const
 
void set_address (const ::std::string &value)
 
void set_address (const char *value)
 
void set_address (const char *value, size_t size)
 
inline::std::string * mutable_address ()
 
inline::std::string * release_address ()
 
void set_allocated_address (::std::string *address)
 
bool has_port () const
 
void clear_port ()
 
inline::google::protobuf::uint32 port () const
 
void set_port (::google::protobuf::uint32 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 Addressdefault_instance ()
 

Static Public Attributes

static const int kAddressFieldNumber = 1
 
static const int kPortFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_address ()
 
void clear_has_address ()
 
void set_has_port ()
 
void clear_has_port ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * address_
 
::google::protobuf::uint32 port_
 

Static Private Attributes

static Addressdefault_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::Address::Address ( )
virtual bgs::protocol::Address::~Address ( )
virtual
bgs::protocol::Address::Address ( const Address from)

Member Function Documentation

const ::std::string & bgs::protocol::Address::address ( ) const
inline
787  {
788  // @@protoc_insertion_point(field_get:bgs.protocol.Address.address)
789  return *address_;
790 }
::std::string * address_
Definition: rpc_types.pb.h:203

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::Address::clear_address ( )
inline
781  {
783  address_->clear();
784  }
786 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203
void clear_has_address()
Definition: rpc_types.pb.h:778

+ Here is the call graph for this function:

void bgs::protocol::Address::clear_has_address ( )
inlineprivate
778  {
779  _has_bits_[0] &= ~0x00000001u;
780 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201

+ Here is the caller graph for this function:

void bgs::protocol::Address::clear_has_port ( )
inlineprivate
854  {
855  _has_bits_[0] &= ~0x00000002u;
856 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201

+ Here is the caller graph for this function:

void bgs::protocol::Address::clear_port ( )
inline
857  {
858  port_ = 0u;
859  clear_has_port();
860 }
::google::protobuf::uint32 port_
Definition: rpc_types.pb.h:204
void clear_has_port()
Definition: rpc_types.pb.h:854

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

161 { return _cached_size_; }
int _cached_size_
Definition: rpc_types.pb.h:202
::google::protobuf::Metadata bgs::protocol::Address::GetMetadata ( ) const
virtual
bool bgs::protocol::Address::has_address ( ) const
inline
772  {
773  return (_has_bits_[0] & 0x00000001u) != 0;
774 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201
bool bgs::protocol::Address::has_port ( ) const
inline
848  {
849  return (_has_bits_[0] & 0x00000002u) != 0;
850 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201
void bgs::protocol::Address::InitAsDefaultInstance ( )
private
bool bgs::protocol::Address::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::Address::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::Address::MergeFrom ( const Address from)
bool bgs::protocol::Address::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * bgs::protocol::Address::mutable_address ( )
inline
815  {
816  set_has_address();
818  address_ = new ::std::string;
819  }
820  // @@protoc_insertion_point(field_mutable:bgs.protocol.Address.address)
821  return address_;
822 }
void set_has_address()
Definition: rpc_types.pb.h:775
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::Address::mutable_unknown_fields ( )
inline
136  {
137  return &_unknown_fields_;
138  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:199
Address* bgs::protocol::Address::New ( ) const
virtual
Address& bgs::protocol::Address::operator= ( const Address from)
inline
127  {
128  CopyFrom(from);
129  return *this;
130  }
void CopyFrom(const ::google::protobuf::Message &from)
google::protobuf::uint32 bgs::protocol::Address::port ( ) const
inline
861  {
862  // @@protoc_insertion_point(field_get:bgs.protocol.Address.port)
863  return port_;
864 }
::google::protobuf::uint32 port_
Definition: rpc_types.pb.h:204
std::string * bgs::protocol::Address::release_address ( )
inline
823  {
826  return NULL;
827  } else {
828  ::std::string* temp = address_;
830  return temp;
831  }
832 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203
void clear_has_address()
Definition: rpc_types.pb.h:778

+ Here is the call graph for this function:

void bgs::protocol::Address::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::Address::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::Address::set_address ( const ::std::string &  value)
inline
791  {
792  set_has_address();
794  address_ = new ::std::string;
795  }
796  address_->assign(value);
797  // @@protoc_insertion_point(field_set:bgs.protocol.Address.address)
798 }
void set_has_address()
Definition: rpc_types.pb.h:775
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Address::set_address ( const char *  value)
inline
799  {
800  set_has_address();
802  address_ = new ::std::string;
803  }
804  address_->assign(value);
805  // @@protoc_insertion_point(field_set_char:bgs.protocol.Address.address)
806 }
void set_has_address()
Definition: rpc_types.pb.h:775
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Address::set_address ( const char *  value,
size_t  size 
)
inline
807  {
808  set_has_address();
810  address_ = new ::std::string;
811  }
812  address_->assign(reinterpret_cast<const char*>(value), size);
813  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Address.address)
814 }
void set_has_address()
Definition: rpc_types.pb.h:775
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * address_
Definition: rpc_types.pb.h:203
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Address::set_allocated_address ( ::std::string *  address)
inline
833  {
835  delete address_;
836  }
837  if (address) {
838  set_has_address();
839  address_ = address;
840  } else {
843  }
844  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Address.address)
845 }
void set_has_address()
Definition: rpc_types.pb.h:775
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const ::std::string & address() const
Definition: rpc_types.pb.h:787
::std::string * address_
Definition: rpc_types.pb.h:203
void clear_has_address()
Definition: rpc_types.pb.h:778

+ Here is the call graph for this function:

void bgs::protocol::Address::set_has_address ( )
inlineprivate
775  {
776  _has_bits_[0] |= 0x00000001u;
777 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201

+ Here is the caller graph for this function:

void bgs::protocol::Address::set_has_port ( )
inlineprivate
851  {
852  _has_bits_[0] |= 0x00000002u;
853 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:201

+ Here is the caller graph for this function:

void bgs::protocol::Address::set_port ( ::google::protobuf::uint32  value)
inline
865  {
866  set_has_port();
867  port_ = value;
868  // @@protoc_insertion_point(field_set:bgs.protocol.Address.port)
869 }
::google::protobuf::uint32 port_
Definition: rpc_types.pb.h:204
void set_has_port()
Definition: rpc_types.pb.h:851
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::Address::SharedCtor ( )
private
void bgs::protocol::Address::SharedDtor ( )
private
void bgs::protocol::Address::Swap ( Address other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::Address::unknown_fields ( ) const
inline
132  {
133  return _unknown_fields_;
134  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:199

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::Address::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::Address::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::Address::_unknown_fields_
private
::std::string* bgs::protocol::Address::address_
private
Address* bgs::protocol::Address::default_instance_
staticprivate
const int bgs::protocol::Address::kAddressFieldNumber = 1
static
const int bgs::protocol::Address::kPortFieldNumber = 2
static
::google::protobuf::uint32 bgs::protocol::Address::port_
private

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