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

#include <presence_types.pb.h>

Public Types

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

Public Member Functions

 FieldOperation ()
 
virtual ~FieldOperation ()
 
 FieldOperation (const FieldOperation &from)
 
FieldOperationoperator= (const FieldOperation &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (FieldOperation *other)
 
FieldOperationNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const FieldOperation &from)
 
void MergeFrom (const FieldOperation &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_field () const
 
void clear_field ()
 
const
::bgs::protocol::presence::v1::Field
field () const
 
inline::bgs::protocol::presence::v1::Field * mutable_field ()
 
inline::bgs::protocol::presence::v1::Field * release_field ()
 
void set_allocated_field (::bgs::protocol::presence::v1::Field *field)
 
bool has_operation () const
 
void clear_operation ()
 
inline::bgs::protocol::presence::v1::FieldOperation_OperationType operation () const
 
void set_operation (::bgs::protocol::presence::v1::FieldOperation_OperationType 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 FieldOperationdefault_instance ()
 
static bool OperationType_IsValid (int value)
 
static const
::google::protobuf::EnumDescriptor
OperationType_descriptor ()
 
static const ::std::string & OperationType_Name (OperationType value)
 
static bool OperationType_Parse (const ::std::string &name, OperationType *value)
 

Static Public Attributes

static const OperationType SET = FieldOperation_OperationType_SET
 
static const OperationType CLEAR = FieldOperation_OperationType_CLEAR
 
static const OperationType OperationType_MIN
 
static const OperationType OperationType_MAX
 
static const int OperationType_ARRAYSIZE
 
static const int kFieldFieldNumber = 1
 
static const int kOperationFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_field ()
 
void clear_has_field ()
 
void set_has_operation ()
 
void clear_has_operation ()
 
void InitAsDefaultInstance ()
 

Private Attributes

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

Static Private Attributes

static FieldOperationdefault_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

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::FieldOperation::clear_field ( )
inline
875  {
876  if (field_ != NULL) field_->::bgs::protocol::presence::v1::Field::Clear();
877  clear_has_field();
878 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476
void clear_has_field()
Definition: presence_types.pb.h:872

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::FieldOperation::clear_has_field ( )
inlineprivate
872  {
873  _has_bits_[0] &= ~0x00000001u;
874 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::FieldOperation::clear_has_operation ( )
inlineprivate
913  {
914  _has_bits_[0] &= ~0x00000002u;
915 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::FieldOperation::clear_operation ( )
inline
916  {
917  operation_ = 0;
919 }
void clear_has_operation()
Definition: presence_types.pb.h:913
int operation_
Definition: presence_types.pb.h:477

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::FieldOperation::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::FieldOperation::CopyFrom ( const FieldOperation from)
static const FieldOperation& bgs::protocol::presence::v1::FieldOperation::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::presence::v1::FieldOperation::descriptor ( )
static
const ::bgs::protocol::presence::v1::Field & bgs::protocol::presence::v1::FieldOperation::field ( ) const
inline
879  {
880  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldOperation.field)
881  return field_ != NULL ? *field_ : *default_instance_->field_;
882 }
static FieldOperation * default_instance_
Definition: presence_types.pb.h:483
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476

+ Here is the caller graph for this function:

int bgs::protocol::presence::v1::FieldOperation::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

413 { return _cached_size_; }
int _cached_size_
Definition: presence_types.pb.h:475
::google::protobuf::Metadata bgs::protocol::presence::v1::FieldOperation::GetMetadata ( ) const
virtual
bool bgs::protocol::presence::v1::FieldOperation::has_field ( ) const
inline
866  {
867  return (_has_bits_[0] & 0x00000001u) != 0;
868 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474
bool bgs::protocol::presence::v1::FieldOperation::has_operation ( ) const
inline
907  {
908  return (_has_bits_[0] & 0x00000002u) != 0;
909 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474
void bgs::protocol::presence::v1::FieldOperation::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::FieldOperation::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::FieldOperation::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::FieldOperation::MergeFrom ( const FieldOperation from)
bool bgs::protocol::presence::v1::FieldOperation::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::presence::v1::Field * bgs::protocol::presence::v1::FieldOperation::mutable_field ( )
inline
883  {
884  set_has_field();
885  if (field_ == NULL) field_ = new ::bgs::protocol::presence::v1::Field;
886  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.FieldOperation.field)
887  return field_;
888 }
void set_has_field()
Definition: presence_types.pb.h:869
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::FieldOperation::mutable_unknown_fields ( )
inline
388  {
389  return &_unknown_fields_;
390  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:472
FieldOperation* bgs::protocol::presence::v1::FieldOperation::New ( ) const
virtual
bgs::protocol::presence::v1::FieldOperation_OperationType bgs::protocol::presence::v1::FieldOperation::operation ( ) const
inline
920  {
921  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldOperation.operation)
923 }
FieldOperation_OperationType
Definition: presence_types.pb.h:50
int operation_
Definition: presence_types.pb.h:477
static const ::google::protobuf::EnumDescriptor* bgs::protocol::presence::v1::FieldOperation::OperationType_descriptor ( )
inlinestatic
436  {
438  }
TC_SHARED_APIconst::google::protobuf::EnumDescriptor * FieldOperation_OperationType_descriptor()

+ Here is the call graph for this function:

static bool bgs::protocol::presence::v1::FieldOperation::OperationType_IsValid ( int  value)
inlinestatic
426  {
428  }
const FieldDescriptor value
Definition: descriptor.h:1522
TC_SHARED_API bool FieldOperation_OperationType_IsValid(int value)

+ Here is the call graph for this function:

static const ::std::string& bgs::protocol::presence::v1::FieldOperation::OperationType_Name ( OperationType  value)
inlinestatic
439  {
441  }
const ::std::string & FieldOperation_OperationType_Name(FieldOperation_OperationType value)
Definition: presence_types.pb.h:60
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

static bool bgs::protocol::presence::v1::FieldOperation::OperationType_Parse ( const ::std::string &  name,
OperationType value 
)
inlinestatic
443  {
445  }
bool FieldOperation_OperationType_Parse(const ::std::string &name, FieldOperation_OperationType *value)
Definition: presence_types.pb.h:64
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

FieldOperation& bgs::protocol::presence::v1::FieldOperation::operator= ( const FieldOperation from)
inline
379  {
380  CopyFrom(from);
381  return *this;
382  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::presence::v1::Field * bgs::protocol::presence::v1::FieldOperation::release_field ( )
inline
889  {
890  clear_has_field();
892  field_ = NULL;
893  return temp;
894 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476
Definition: presence_types.pb.h:279
void clear_has_field()
Definition: presence_types.pb.h:872

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::FieldOperation::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::FieldOperation::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::presence::v1::FieldOperation::set_allocated_field ( ::bgs::protocol::presence::v1::Field field)
inline
895  {
896  delete field_;
897  field_ = field;
898  if (field) {
899  set_has_field();
900  } else {
901  clear_has_field();
902  }
903  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.FieldOperation.field)
904 }
void set_has_field()
Definition: presence_types.pb.h:869
const ::bgs::protocol::presence::v1::Field & field() const
Definition: presence_types.pb.h:879
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476
void clear_has_field()
Definition: presence_types.pb.h:872

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::FieldOperation::set_has_field ( )
inlineprivate
869  {
870  _has_bits_[0] |= 0x00000001u;
871 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::FieldOperation::set_has_operation ( )
inlineprivate
910  {
911  _has_bits_[0] |= 0x00000002u;
912 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::FieldOperation::set_operation ( ::bgs::protocol::presence::v1::FieldOperation_OperationType  value)
inline
924  {
927  operation_ = value;
928  // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldOperation.operation)
929 }
void set_has_operation()
Definition: presence_types.pb.h:910
int operation_
Definition: presence_types.pb.h:477
const FieldDescriptor value
Definition: descriptor.h:1522
TC_SHARED_API bool FieldOperation_OperationType_IsValid(int value)

+ Here is the call graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::FieldOperation::SharedCtor ( )
private
void bgs::protocol::presence::v1::FieldOperation::SharedDtor ( )
private
void bgs::protocol::presence::v1::FieldOperation::Swap ( FieldOperation other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::FieldOperation::unknown_fields ( ) const
inline
384  {
385  return _unknown_fields_;
386  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:472

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::FieldOperation::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::FieldOperation::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::FieldOperation::_unknown_fields_
private
const OperationType bgs::protocol::presence::v1::FieldOperation::CLEAR = FieldOperation_OperationType_CLEAR
static
FieldOperation* bgs::protocol::presence::v1::FieldOperation::default_instance_
staticprivate
::bgs::protocol::presence::v1::Field* bgs::protocol::presence::v1::FieldOperation::field_
private
const int bgs::protocol::presence::v1::FieldOperation::kFieldFieldNumber = 1
static
const int bgs::protocol::presence::v1::FieldOperation::kOperationFieldNumber = 2
static
int bgs::protocol::presence::v1::FieldOperation::operation_
private
const int bgs::protocol::presence::v1::FieldOperation::OperationType_ARRAYSIZE
static
const OperationType bgs::protocol::presence::v1::FieldOperation::OperationType_MAX
static
const OperationType bgs::protocol::presence::v1::FieldOperation::OperationType_MIN
static
const OperationType bgs::protocol::presence::v1::FieldOperation::SET = FieldOperation_OperationType_SET
static

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