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

#include <presence_types.pb.h>

Public Member Functions

 Field ()
 
virtual ~Field ()
 
 Field (const Field &from)
 
Fieldoperator= (const Field &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Field *other)
 
FieldNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Field &from)
 
void MergeFrom (const Field &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_key () const
 
void clear_key ()
 
const
::bgs::protocol::presence::v1::FieldKey
key () const
 
inline::bgs::protocol::presence::v1::FieldKey * mutable_key ()
 
inline::bgs::protocol::presence::v1::FieldKey * release_key ()
 
void set_allocated_key (::bgs::protocol::presence::v1::FieldKey *key)
 
bool has_value () const
 
void clear_value ()
 
const ::bgs::protocol::Variantvalue () const
 
inline::bgs::protocol::Variant * mutable_value ()
 
inline::bgs::protocol::Variant * release_value ()
 
void set_allocated_value (::bgs::protocol::Variant *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 Fielddefault_instance ()
 

Static Public Attributes

static const int kKeyFieldNumber = 1
 
static const int kValueFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_key ()
 
void clear_has_key ()
 
void set_has_value ()
 
void clear_has_value ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::presence::v1::FieldKeykey_
 
::bgs::protocol::Variantvalue_
 

Static Private Attributes

static Fielddefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_presence_5ftypes_2eproto ()
 
void protobuf_AssignDesc_presence_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_presence_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::presence::v1::Field::Field ( )
virtual bgs::protocol::presence::v1::Field::~Field ( )
virtual
bgs::protocol::presence::v1::Field::Field ( const Field from)

Member Function Documentation

int bgs::protocol::presence::v1::Field::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::Field::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void Field::clear_has_key ( )
inlineprivate
786  {
787  _has_bits_[0] &= ~0x00000001u;
788 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359

+ Here is the caller graph for this function:

void Field::clear_has_value ( )
inlineprivate
827  {
828  _has_bits_[0] &= ~0x00000002u;
829 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359

+ Here is the caller graph for this function:

void Field::clear_key ( )
inline
789  {
790  if (key_ != NULL) key_->::bgs::protocol::presence::v1::FieldKey::Clear();
791  clear_has_key();
792 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_key()
Definition: presence_types.pb.h:786
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361

+ Here is the call graph for this function:

void Field::clear_value ( )
inline
830  {
831  if (value_ != NULL) value_->::bgs::protocol::Variant::Clear();
832  clear_has_value();
833 }
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_value()
Definition: presence_types.pb.h:827

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

320 { return _cached_size_; }
int _cached_size_
Definition: presence_types.pb.h:360
::google::protobuf::Metadata bgs::protocol::presence::v1::Field::GetMetadata ( ) const
virtual
bool Field::has_key ( ) const
inline
780  {
781  return (_has_bits_[0] & 0x00000001u) != 0;
782 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359
bool Field::has_value ( ) const
inline
821  {
822  return (_has_bits_[0] & 0x00000002u) != 0;
823 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359
void bgs::protocol::presence::v1::Field::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::Field::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::presence::v1::FieldKey & Field::key ( ) const
inline
793  {
794  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.Field.key)
795  return key_ != NULL ? *key_ : *default_instance_->key_;
796 }
arena_t NULL
Definition: jemalloc_internal.h:624
static Field * default_instance_
Definition: presence_types.pb.h:368
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::Field::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::Field::MergeFrom ( const Field from)
bool bgs::protocol::presence::v1::Field::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::presence::v1::FieldKey * Field::mutable_key ( )
inline
797  {
798  set_has_key();
799  if (key_ == NULL) key_ = new ::bgs::protocol::presence::v1::FieldKey;
800  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.Field.key)
801  return key_;
802 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_key()
Definition: presence_types.pb.h:783
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::Field::mutable_unknown_fields ( )
inline
295  {
296  return &_unknown_fields_;
297  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:357
bgs::protocol::Variant * Field::mutable_value ( )
inline
838  {
839  set_has_value();
840  if (value_ == NULL) value_ = new ::bgs::protocol::Variant;
841  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.Field.value)
842  return value_;
843 }
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_value()
Definition: presence_types.pb.h:824

+ Here is the call graph for this function:

Field* bgs::protocol::presence::v1::Field::New ( ) const
virtual
Field& bgs::protocol::presence::v1::Field::operator= ( const Field from)
inline
286  {
287  CopyFrom(from);
288  return *this;
289  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::presence::v1::FieldKey * Field::release_key ( )
inline
803  {
804  clear_has_key();
806  key_ = NULL;
807  return temp;
808 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_key()
Definition: presence_types.pb.h:786
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361
Definition: presence_types.pb.h:170

+ Here is the call graph for this function:

bgs::protocol::Variant * Field::release_value ( )
inline
844  {
845  clear_has_value();
847  value_ = NULL;
848  return temp;
849 }
Definition: attribute_types.pb.h:67
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_value()
Definition: presence_types.pb.h:827

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::Field::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::Field::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void Field::set_allocated_key ( ::bgs::protocol::presence::v1::FieldKey key)
inline
809  {
810  delete key_;
811  key_ = key;
812  if (key) {
813  set_has_key();
814  } else {
815  clear_has_key();
816  }
817  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.Field.key)
818 }
void set_has_key()
Definition: presence_types.pb.h:783
const ::bgs::protocol::presence::v1::FieldKey & key() const
Definition: presence_types.pb.h:793
void clear_has_key()
Definition: presence_types.pb.h:786
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361

+ Here is the call graph for this function:

void Field::set_allocated_value ( ::bgs::protocol::Variant value)
inline
850  {
851  delete value_;
852  value_ = value;
853  if (value) {
854  set_has_value();
855  } else {
856  clear_has_value();
857  }
858  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.Field.value)
859 }
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
void set_has_value()
Definition: presence_types.pb.h:824
const ::bgs::protocol::Variant & value() const
Definition: presence_types.pb.h:834
void clear_has_value()
Definition: presence_types.pb.h:827

+ Here is the call graph for this function:

void Field::set_has_key ( )
inlineprivate
783  {
784  _has_bits_[0] |= 0x00000001u;
785 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359

+ Here is the caller graph for this function:

void Field::set_has_value ( )
inlineprivate
824  {
825  _has_bits_[0] |= 0x00000002u;
826 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::Field::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::Field::SharedCtor ( )
private
void bgs::protocol::presence::v1::Field::SharedDtor ( )
private
void bgs::protocol::presence::v1::Field::Swap ( Field other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::Field::unknown_fields ( ) const
inline
291  {
292  return _unknown_fields_;
293  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:357
const ::bgs::protocol::Variant & Field::value ( ) const
inline
834  {
835  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.Field.value)
836  return value_ != NULL ? *value_ : *default_instance_->value_;
837 }
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
arena_t NULL
Definition: jemalloc_internal.h:624
static Field * default_instance_
Definition: presence_types.pb.h:368

+ Here is the caller graph for this function:

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_presence_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_presence_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_presence_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::presence::v1::Field::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::Field::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::Field::_unknown_fields_
private
Field* bgs::protocol::presence::v1::Field::default_instance_
staticprivate
::bgs::protocol::presence::v1::FieldKey* bgs::protocol::presence::v1::Field::key_
private
const int bgs::protocol::presence::v1::Field::kKeyFieldNumber = 1
static
const int bgs::protocol::presence::v1::Field::kValueFieldNumber = 2
static
::bgs::protocol::Variant* bgs::protocol::presence::v1::Field::value_
private

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