TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
JSON::RealmList::IPAddress Class Reference

#include <RealmList.pb.h>

Public Member Functions

 IPAddress ()
 
virtual ~IPAddress ()
 
 IPAddress (const IPAddress &from)
 
IPAddressoperator= (const IPAddress &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (IPAddress *other)
 
IPAddressNew () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_ip () const
 
void clear_ip ()
 
const ::std::string & ip () const
 
void set_ip (const ::std::string &value)
 
void set_ip (const char *value)
 
void set_ip (const char *value, size_t size)
 
inline::std::string * mutable_ip ()
 
inline::std::string * release_ip ()
 
void set_allocated_ip (::std::string *ip)
 
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 Clear ()
 
virtual bool IsInitialized () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual int ByteSize () const
 
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 IPAddressdefault_instance ()
 

Static Public Attributes

static const int kIpFieldNumber = 1
 
static const int kPortFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_ip ()
 
void clear_has_ip ()
 
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 * ip_
 
::google::protobuf::uint32 port_
 

Static Private Attributes

static IPAddressdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto ()
 
void protobuf_AssignDesc_RealmList_2eproto ()
 
void protobuf_ShutdownFile_RealmList_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

JSON::RealmList::IPAddress::IPAddress ( )
virtual JSON::RealmList::IPAddress::~IPAddress ( )
virtual
JSON::RealmList::IPAddress::IPAddress ( const IPAddress from)

Member Function Documentation

void JSON::RealmList::IPAddress::clear_has_ip ( )
inlineprivate
2281  {
2282  _has_bits_[0] &= ~0x00000001u;
2283 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::clear_has_port ( )
inlineprivate
2357  {
2358  _has_bits_[0] &= ~0x00000002u;
2359 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::clear_ip ( )
inline
2284  {
2286  ip_->clear();
2287  }
2288  clear_has_ip();
2289 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_ip()
Definition: RealmList.pb.h:2281

+ Here is the call graph for this function:

void JSON::RealmList::IPAddress::clear_port ( )
inline
2360  {
2361  port_ = 0u;
2362  clear_has_port();
2363 }
::google::protobuf::uint32 port_
Definition: RealmList.pb.h:992
void clear_has_port()
Definition: RealmList.pb.h:2357

+ Here is the call graph for this function:

static const IPAddress& JSON::RealmList::IPAddress::default_instance ( )
static
static const ::google::protobuf::Descriptor* JSON::RealmList::IPAddress::descriptor ( )
static
int JSON::RealmList::IPAddress::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

949 { return _cached_size_; }
int _cached_size_
Definition: RealmList.pb.h:990
::google::protobuf::Metadata JSON::RealmList::IPAddress::GetMetadata ( ) const
virtual
bool JSON::RealmList::IPAddress::has_ip ( ) const
inline
2275  {
2276  return (_has_bits_[0] & 0x00000001u) != 0;
2277 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989
bool JSON::RealmList::IPAddress::has_port ( ) const
inline
2351  {
2352  return (_has_bits_[0] & 0x00000002u) != 0;
2353 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989
void JSON::RealmList::IPAddress::InitAsDefaultInstance ( )
private
const ::std::string & JSON::RealmList::IPAddress::ip ( ) const
inline
2290  {
2291  // @@protoc_insertion_point(field_get:JSON.RealmList.IPAddress.ip)
2292  return *ip_;
2293 }
::std::string * ip_
Definition: RealmList.pb.h:991

+ Here is the caller graph for this function:

std::string * JSON::RealmList::IPAddress::mutable_ip ( )
inline
2318  {
2319  set_has_ip();
2321  ip_ = new ::std::string;
2322  }
2323  // @@protoc_insertion_point(field_mutable:JSON.RealmList.IPAddress.ip)
2324  return ip_;
2325 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_ip()
Definition: RealmList.pb.h:2278

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* JSON::RealmList::IPAddress::mutable_unknown_fields ( )
inline
937  {
938  return &_unknown_fields_;
939  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: RealmList.pb.h:987
IPAddress* JSON::RealmList::IPAddress::New ( ) const
virtual
IPAddress& JSON::RealmList::IPAddress::operator= ( const IPAddress from)
inline
928  {
929  CopyFrom(from);
930  return *this;
931  }
virtual void CopyFrom(const Message &from)
google::protobuf::uint32 JSON::RealmList::IPAddress::port ( ) const
inline
2364  {
2365  // @@protoc_insertion_point(field_get:JSON.RealmList.IPAddress.port)
2366  return port_;
2367 }
::google::protobuf::uint32 port_
Definition: RealmList.pb.h:992
std::string * JSON::RealmList::IPAddress::release_ip ( )
inline
2326  {
2327  clear_has_ip();
2329  return NULL;
2330  } else {
2331  ::std::string* temp = ip_;
2332  ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2333  return temp;
2334  }
2335 }
::std::string * ip_
Definition: RealmList.pb.h:991
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_ip()
Definition: RealmList.pb.h:2281

+ Here is the call graph for this function:

void JSON::RealmList::IPAddress::set_allocated_ip ( ::std::string *  ip)
inline
2336  {
2338  delete ip_;
2339  }
2340  if (ip) {
2341  set_has_ip();
2342  ip_ = ip;
2343  } else {
2344  clear_has_ip();
2345  ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2346  }
2347  // @@protoc_insertion_point(field_set_allocated:JSON.RealmList.IPAddress.ip)
2348 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_ip()
Definition: RealmList.pb.h:2278
const ::std::string & ip() const
Definition: RealmList.pb.h:2290
void clear_has_ip()
Definition: RealmList.pb.h:2281

+ Here is the call graph for this function:

void JSON::RealmList::IPAddress::set_has_ip ( )
inlineprivate
2278  {
2279  _has_bits_[0] |= 0x00000001u;
2280 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::set_has_port ( )
inlineprivate
2354  {
2355  _has_bits_[0] |= 0x00000002u;
2356 }
::google::protobuf::uint32 _has_bits_[1]
Definition: RealmList.pb.h:989

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::set_ip ( const ::std::string &  value)
inline
2294  {
2295  set_has_ip();
2297  ip_ = new ::std::string;
2298  }
2299  ip_->assign(value);
2300  // @@protoc_insertion_point(field_set:JSON.RealmList.IPAddress.ip)
2301 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_ip()
Definition: RealmList.pb.h:2278
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::set_ip ( const char *  value)
inline
2302  {
2303  set_has_ip();
2305  ip_ = new ::std::string;
2306  }
2307  ip_->assign(value);
2308  // @@protoc_insertion_point(field_set_char:JSON.RealmList.IPAddress.ip)
2309 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_ip()
Definition: RealmList.pb.h:2278
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void JSON::RealmList::IPAddress::set_ip ( const char *  value,
size_t  size 
)
inline
2310  {
2311  set_has_ip();
2313  ip_ = new ::std::string;
2314  }
2315  ip_->assign(reinterpret_cast<const char*>(value), size);
2316  // @@protoc_insertion_point(field_set_pointer:JSON.RealmList.IPAddress.ip)
2317 }
::std::string * ip_
Definition: RealmList.pb.h:991
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_ip()
Definition: RealmList.pb.h:2278
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void JSON::RealmList::IPAddress::set_port ( ::google::protobuf::uint32  value)
inline
2368  {
2369  set_has_port();
2370  port_ = value;
2371  // @@protoc_insertion_point(field_set:JSON.RealmList.IPAddress.port)
2372 }
::google::protobuf::uint32 port_
Definition: RealmList.pb.h:992
void set_has_port()
Definition: RealmList.pb.h:2354
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void JSON::RealmList::IPAddress::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void JSON::RealmList::IPAddress::SharedCtor ( )
private
void JSON::RealmList::IPAddress::SharedDtor ( )
private
void JSON::RealmList::IPAddress::Swap ( IPAddress other)
const ::google::protobuf::UnknownFieldSet& JSON::RealmList::IPAddress::unknown_fields ( ) const
inline
933  {
934  return _unknown_fields_;
935  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: RealmList.pb.h:987

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_RealmList_2eproto ( )
friend
void protobuf_AssignDesc_RealmList_2eproto ( )
friend
void protobuf_ShutdownFile_RealmList_2eproto ( )
friend

Member Data Documentation

int JSON::RealmList::IPAddress::_cached_size_
mutableprivate
::google::protobuf::uint32 JSON::RealmList::IPAddress::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet JSON::RealmList::IPAddress::_unknown_fields_
private
IPAddress* JSON::RealmList::IPAddress::default_instance_
staticprivate
::std::string* JSON::RealmList::IPAddress::ip_
private
const int JSON::RealmList::IPAddress::kIpFieldNumber = 1
static
const int JSON::RealmList::IPAddress::kPortFieldNumber = 2
static
::google::protobuf::uint32 JSON::RealmList::IPAddress::port_
private

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