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

#include <role_types.pb.h>

Public Member Functions

 Role ()
 
virtual ~Role ()
 
 Role (const Role &from)
 
Roleoperator= (const Role &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Role *other)
 
RoleNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Role &from)
 
void MergeFrom (const Role &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_id () const
 
void clear_id ()
 
inline::google::protobuf::uint32 id () const
 
void set_id (::google::protobuf::uint32 value)
 
bool has_name () const
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
inline::std::string * mutable_name ()
 
inline::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 
int privilege_size () const
 
void clear_privilege ()
 
const ::std::string & privilege (int index) const
 
inline::std::string * mutable_privilege (int index)
 
void set_privilege (int index, const ::std::string &value)
 
void set_privilege (int index, const char *value)
 
void set_privilege (int index, const char *value, size_t size)
 
inline::std::string * add_privilege ()
 
void add_privilege (const ::std::string &value)
 
void add_privilege (const char *value)
 
void add_privilege (const char *value, size_t size)
 
const
::google::protobuf::RepeatedPtrField
< ::std::string > & 
privilege () const
 
inline::google::protobuf::RepeatedPtrField
< ::std::string > * 
mutable_privilege ()
 
int assignable_role_size () const
 
void clear_assignable_role ()
 
inline::google::protobuf::uint32 assignable_role (int index) const
 
void set_assignable_role (int index,::google::protobuf::uint32 value)
 
void add_assignable_role (::google::protobuf::uint32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > & 
assignable_role () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > * 
mutable_assignable_role ()
 
bool has_required () const
 
void clear_required ()
 
bool required () const
 
void set_required (bool value)
 
bool has_unique () const
 
void clear_unique ()
 
bool unique () const
 
void set_unique (bool value)
 
bool has_relegation_role () const
 
void clear_relegation_role ()
 
inline::google::protobuf::uint32 relegation_role () const
 
void set_relegation_role (::google::protobuf::uint32 value)
 
int attribute_size () const
 
void clear_attribute ()
 
const ::bgs::protocol::Attributeattribute (int index) const
 
inline::bgs::protocol::Attribute * mutable_attribute (int index)
 
inline::bgs::protocol::Attribute * add_attribute ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute > & 
attribute () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute > * 
mutable_attribute ()
 
int kickable_role_size () const
 
void clear_kickable_role ()
 
inline::google::protobuf::uint32 kickable_role (int index) const
 
void set_kickable_role (int index,::google::protobuf::uint32 value)
 
void add_kickable_role (::google::protobuf::uint32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > & 
kickable_role () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > * 
mutable_kickable_role ()
 
int removable_role_size () const
 
void clear_removable_role ()
 
inline::google::protobuf::uint32 removable_role (int index) const
 
void set_removable_role (int index,::google::protobuf::uint32 value)
 
void add_removable_role (::google::protobuf::uint32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > & 
removable_role () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > * 
mutable_removable_role ()
 
- 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 Roledefault_instance ()
 

Static Public Attributes

static const int kIdFieldNumber = 1
 
static const int kNameFieldNumber = 2
 
static const int kPrivilegeFieldNumber = 3
 
static const int kAssignableRoleFieldNumber = 4
 
static const int kRequiredFieldNumber = 5
 
static const int kUniqueFieldNumber = 6
 
static const int kRelegationRoleFieldNumber = 7
 
static const int kAttributeFieldNumber = 8
 
static const int kKickableRoleFieldNumber = 9
 
static const int kRemovableRoleFieldNumber = 10
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_id ()
 
void clear_has_id ()
 
void set_has_name ()
 
void clear_has_name ()
 
void set_has_required ()
 
void clear_has_required ()
 
void set_has_unique ()
 
void clear_has_unique ()
 
void set_has_relegation_role ()
 
void clear_has_relegation_role ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * name_
 
::google::protobuf::RepeatedPtrField
< ::std::string > 
privilege_
 
::google::protobuf::RepeatedField
< ::google::protobuf::uint32
assignable_role_
 
int _assignable_role_cached_byte_size_
 
::google::protobuf::uint32 id_
 
bool required_
 
bool unique_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute
attribute_
 
::google::protobuf::RepeatedField
< ::google::protobuf::uint32
kickable_role_
 
int _kickable_role_cached_byte_size_
 
::google::protobuf::RepeatedField
< ::google::protobuf::uint32
removable_role_
 
int _removable_role_cached_byte_size_
 
::google::protobuf::uint32 relegation_role_
 

Static Private Attributes

static Roledefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_role_5ftypes_2eproto ()
 
void protobuf_AssignDesc_role_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_role_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

void bgs::protocol::Role::add_assignable_role ( ::google::protobuf::uint32  value)
inline
416  {
418  // @@protoc_insertion_point(field_add:bgs.protocol.Role.assignable_role)
419 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
void Add(const Element &value)
Definition: repeated_field.h:684
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

bgs::protocol::Attribute * bgs::protocol::Role::add_attribute ( )
inline
518  {
519  // @@protoc_insertion_point(field_add:bgs.protocol.Role.attribute)
520  return attribute_.Add();
521 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
void bgs::protocol::Role::add_kickable_role ( ::google::protobuf::uint32  value)
inline
548  {
550  // @@protoc_insertion_point(field_add:bgs.protocol.Role.kickable_role)
551 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
void Add(const Element &value)
Definition: repeated_field.h:684
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

std::string * bgs::protocol::Role::add_privilege ( )
inline
375  {
376  return privilege_.Add();
377 }
Element * Add()
Definition: repeated_field.h:1123
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218

+ Here is the call graph for this function:

void bgs::protocol::Role::add_privilege ( const ::std::string &  value)
inline
378  {
379  privilege_.Add()->assign(value);
380  // @@protoc_insertion_point(field_add:bgs.protocol.Role.privilege)
381 }
Element * Add()
Definition: repeated_field.h:1123
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::add_privilege ( const char *  value)
inline
382  {
383  privilege_.Add()->assign(value);
384  // @@protoc_insertion_point(field_add_char:bgs.protocol.Role.privilege)
385 }
Element * Add()
Definition: repeated_field.h:1123
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::add_privilege ( const char *  value,
size_t  size 
)
inline
386  {
387  privilege_.Add()->assign(reinterpret_cast<const char*>(value), size);
388  // @@protoc_insertion_point(field_add_pointer:bgs.protocol.Role.privilege)
389 }
Element * Add()
Definition: repeated_field.h:1123
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::add_removable_role ( ::google::protobuf::uint32  value)
inline
578  {
580  // @@protoc_insertion_point(field_add:bgs.protocol.Role.removable_role)
581 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
void Add(const Element &value)
Definition: repeated_field.h:684
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

google::protobuf::uint32 bgs::protocol::Role::assignable_role ( int  index) const
inline
408  {
409  // @@protoc_insertion_point(field_get:bgs.protocol.Role.assignable_role)
410  return assignable_role_.Get(index);
411 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
const Element & Get(int index) const
Definition: repeated_field.h:663

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedField<::google::protobuf::uint32 > & bgs::protocol::Role::assignable_role ( ) const
inline
421  {
422  // @@protoc_insertion_point(field_list:bgs.protocol.Role.assignable_role)
423  return assignable_role_;
424 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
int bgs::protocol::Role::assignable_role_size ( ) const
inline
402  {
403  return assignable_role_.size();
404 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219

+ Here is the call graph for this function:

const ::bgs::protocol::Attribute & bgs::protocol::Role::attribute ( int  index) const
inline
510  {
511  // @@protoc_insertion_point(field_get:bgs.protocol.Role.attribute)
512  return attribute_.Get(index);
513 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::Attribute > & bgs::protocol::Role::attribute ( ) const
inline
523  {
524  // @@protoc_insertion_point(field_list:bgs.protocol.Role.attribute)
525  return attribute_;
526 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
int bgs::protocol::Role::attribute_size ( ) const
inline
504  {
505  return attribute_.size();
506 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
int bgs::protocol::Role::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::Role::clear_assignable_role ( )
inline
405  {
407 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
void Clear()
Definition: repeated_field.h:723

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_attribute ( )
inline
507  {
508  attribute_.Clear();
509 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
void bgs::protocol::Role::clear_has_id ( )
inlineprivate
254  {
255  _has_bits_[0] &= ~0x00000001u;
256 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::clear_has_name ( )
inlineprivate
278  {
279  _has_bits_[0] &= ~0x00000002u;
280 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::clear_has_relegation_role ( )
inlineprivate
486  {
487  _has_bits_[0] &= ~0x00000040u;
488 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::clear_has_required ( )
inlineprivate
438  {
439  _has_bits_[0] &= ~0x00000010u;
440 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::clear_has_unique ( )
inlineprivate
462  {
463  _has_bits_[0] &= ~0x00000020u;
464 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::clear_id ( )
inline
257  {
258  id_ = 0u;
259  clear_has_id();
260 }
void clear_has_id()
Definition: role_types.pb.h:254
::google::protobuf::uint32 id_
Definition: role_types.pb.h:221

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_kickable_role ( )
inline
537  {
539 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
void Clear()
Definition: repeated_field.h:723

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_name ( )
inline
281  {
283  name_->clear();
284  }
285  clear_has_name();
286 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void clear_has_name()
Definition: role_types.pb.h:278

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_privilege ( )
inline
351  {
352  privilege_.Clear();
353 }
void Clear()
Definition: repeated_field.h:1160
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_relegation_role ( )
inline
489  {
490  relegation_role_ = 0u;
492 }
::google::protobuf::uint32 relegation_role_
Definition: role_types.pb.h:229
void clear_has_relegation_role()
Definition: role_types.pb.h:486

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_removable_role ( )
inline
567  {
569 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
void Clear()
Definition: repeated_field.h:723

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_required ( )
inline
441  {
442  required_ = false;
444 }
bool required_
Definition: role_types.pb.h:222
void clear_has_required()
Definition: role_types.pb.h:438

+ Here is the call graph for this function:

void bgs::protocol::Role::clear_unique ( )
inline
465  {
466  unique_ = false;
468 }
bool unique_
Definition: role_types.pb.h:223
void clear_has_unique()
Definition: role_types.pb.h:462

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

84 { return _cached_size_; }
int _cached_size_
Definition: role_types.pb.h:216
::google::protobuf::Metadata bgs::protocol::Role::GetMetadata ( ) const
virtual
bool bgs::protocol::Role::has_id ( ) const
inline
248  {
249  return (_has_bits_[0] & 0x00000001u) != 0;
250 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
bool bgs::protocol::Role::has_name ( ) const
inline
272  {
273  return (_has_bits_[0] & 0x00000002u) != 0;
274 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
bool bgs::protocol::Role::has_relegation_role ( ) const
inline
480  {
481  return (_has_bits_[0] & 0x00000040u) != 0;
482 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
bool bgs::protocol::Role::has_required ( ) const
inline
432  {
433  return (_has_bits_[0] & 0x00000010u) != 0;
434 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
bool bgs::protocol::Role::has_unique ( ) const
inline
456  {
457  return (_has_bits_[0] & 0x00000020u) != 0;
458 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
google::protobuf::uint32 bgs::protocol::Role::id ( ) const
inline
261  {
262  // @@protoc_insertion_point(field_get:bgs.protocol.Role.id)
263  return id_;
264 }
::google::protobuf::uint32 id_
Definition: role_types.pb.h:221
void bgs::protocol::Role::InitAsDefaultInstance ( )
private
bool bgs::protocol::Role::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

google::protobuf::uint32 bgs::protocol::Role::kickable_role ( int  index) const
inline
540  {
541  // @@protoc_insertion_point(field_get:bgs.protocol.Role.kickable_role)
542  return kickable_role_.Get(index);
543 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
const Element & Get(int index) const
Definition: repeated_field.h:663

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedField<::google::protobuf::uint32 > & bgs::protocol::Role::kickable_role ( ) const
inline
553  {
554  // @@protoc_insertion_point(field_list:bgs.protocol.Role.kickable_role)
555  return kickable_role_;
556 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
int bgs::protocol::Role::kickable_role_size ( ) const
inline
534  {
535  return kickable_role_.size();
536 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225

+ Here is the call graph for this function:

void bgs::protocol::Role::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::Role::MergeFrom ( const Role from)
bool bgs::protocol::Role::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::Role::mutable_assignable_role ( )
inline
426  {
427  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Role.assignable_role)
428  return &assignable_role_;
429 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
bgs::protocol::Attribute * bgs::protocol::Role::mutable_attribute ( int  index)
inline
514  {
515  // @@protoc_insertion_point(field_mutable:bgs.protocol.Role.attribute)
516  return attribute_.Mutable(index);
517 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
google::protobuf::RepeatedPtrField<::bgs::protocol::Attribute > * bgs::protocol::Role::mutable_attribute ( )
inline
528  {
529  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Role.attribute)
530  return &attribute_;
531 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::Role::mutable_kickable_role ( )
inline
558  {
559  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Role.kickable_role)
560  return &kickable_role_;
561 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
std::string * bgs::protocol::Role::mutable_name ( )
inline
315  {
316  set_has_name();
318  name_ = new ::std::string;
319  }
320  // @@protoc_insertion_point(field_mutable:bgs.protocol.Role.name)
321  return name_;
322 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void set_has_name()
Definition: role_types.pb.h:275

+ Here is the call graph for this function:

std::string * bgs::protocol::Role::mutable_privilege ( int  index)
inline
358  {
359  // @@protoc_insertion_point(field_mutable:bgs.protocol.Role.privilege)
360  return privilege_.Mutable(index);
361 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
Element * Mutable(int index)
Definition: repeated_field.h:1118

+ Here is the call graph for this function:

google::protobuf::RepeatedPtrField<::std::string > * bgs::protocol::Role::mutable_privilege ( )
inline
396  {
397  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Role.privilege)
398  return &privilege_;
399 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::Role::mutable_removable_role ( )
inline
588  {
589  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Role.removable_role)
590  return &removable_role_;
591 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::Role::mutable_unknown_fields ( )
inline
59  {
60  return &_unknown_fields_;
61  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: role_types.pb.h:213
const ::std::string & bgs::protocol::Role::name ( ) const
inline
287  {
288  // @@protoc_insertion_point(field_get:bgs.protocol.Role.name)
289  return *name_;
290 }
::std::string * name_
Definition: role_types.pb.h:217

+ Here is the caller graph for this function:

Role* bgs::protocol::Role::New ( ) const
virtual
Role& bgs::protocol::Role::operator= ( const Role from)
inline
50  {
51  CopyFrom(from);
52  return *this;
53  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::std::string & bgs::protocol::Role::privilege ( int  index) const
inline
354  {
355  // @@protoc_insertion_point(field_get:bgs.protocol.Role.privilege)
356  return privilege_.Get(index);
357 }
const Element & Get(int index) const
Definition: repeated_field.h:1112
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedPtrField<::std::string > & bgs::protocol::Role::privilege ( ) const
inline
391  {
392  // @@protoc_insertion_point(field_list:bgs.protocol.Role.privilege)
393  return privilege_;
394 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
int bgs::protocol::Role::privilege_size ( ) const
inline
348  {
349  return privilege_.size();
350 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
int size() const
Definition: repeated_field.h:1107

+ Here is the call graph for this function:

std::string * bgs::protocol::Role::release_name ( )
inline
323  {
324  clear_has_name();
326  return NULL;
327  } else {
328  ::std::string* temp = name_;
329  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
330  return temp;
331  }
332 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void clear_has_name()
Definition: role_types.pb.h:278

+ Here is the call graph for this function:

google::protobuf::uint32 bgs::protocol::Role::relegation_role ( ) const
inline
493  {
494  // @@protoc_insertion_point(field_get:bgs.protocol.Role.relegation_role)
495  return relegation_role_;
496 }
::google::protobuf::uint32 relegation_role_
Definition: role_types.pb.h:229
google::protobuf::uint32 bgs::protocol::Role::removable_role ( int  index) const
inline
570  {
571  // @@protoc_insertion_point(field_get:bgs.protocol.Role.removable_role)
572  return removable_role_.Get(index);
573 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
const Element & Get(int index) const
Definition: repeated_field.h:663

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedField<::google::protobuf::uint32 > & bgs::protocol::Role::removable_role ( ) const
inline
583  {
584  // @@protoc_insertion_point(field_list:bgs.protocol.Role.removable_role)
585  return removable_role_;
586 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
int bgs::protocol::Role::removable_role_size ( ) const
inline
564  {
565  return removable_role_.size();
566 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227

+ Here is the call graph for this function:

bool bgs::protocol::Role::required ( ) const
inline
445  {
446  // @@protoc_insertion_point(field_get:bgs.protocol.Role.required)
447  return required_;
448 }
bool required_
Definition: role_types.pb.h:222
void bgs::protocol::Role::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::Role::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::Role::set_allocated_name ( ::std::string *  name)
inline
333  {
335  delete name_;
336  }
337  if (name) {
338  set_has_name();
339  name_ = name;
340  } else {
341  clear_has_name();
342  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
343  }
344  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Role.name)
345 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void set_has_name()
Definition: role_types.pb.h:275
const ::std::string & name() const
Definition: role_types.pb.h:287
void clear_has_name()
Definition: role_types.pb.h:278

+ Here is the call graph for this function:

void bgs::protocol::Role::set_assignable_role ( int  index,
::google::protobuf::uint32  value 
)
inline
412  {
413  assignable_role_.Set(index, value);
414  // @@protoc_insertion_point(field_set:bgs.protocol.Role.assignable_role)
415 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
const FieldDescriptor value
Definition: descriptor.h:1522
void Set(int index, const Element &value)
Definition: repeated_field.h:677

+ Here is the call graph for this function:

void bgs::protocol::Role::set_has_id ( )
inlineprivate
251  {
252  _has_bits_[0] |= 0x00000001u;
253 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::set_has_name ( )
inlineprivate
275  {
276  _has_bits_[0] |= 0x00000002u;
277 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::set_has_relegation_role ( )
inlineprivate
483  {
484  _has_bits_[0] |= 0x00000040u;
485 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::set_has_required ( )
inlineprivate
435  {
436  _has_bits_[0] |= 0x00000010u;
437 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::set_has_unique ( )
inlineprivate
459  {
460  _has_bits_[0] |= 0x00000020u;
461 }
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215

+ Here is the caller graph for this function:

void bgs::protocol::Role::set_id ( ::google::protobuf::uint32  value)
inline
265  {
266  set_has_id();
267  id_ = value;
268  // @@protoc_insertion_point(field_set:bgs.protocol.Role.id)
269 }
::google::protobuf::uint32 id_
Definition: role_types.pb.h:221
const FieldDescriptor value
Definition: descriptor.h:1522
void set_has_id()
Definition: role_types.pb.h:251

+ Here is the call graph for this function:

void bgs::protocol::Role::set_kickable_role ( int  index,
::google::protobuf::uint32  value 
)
inline
544  {
545  kickable_role_.Set(index, value);
546  // @@protoc_insertion_point(field_set:bgs.protocol.Role.kickable_role)
547 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
const FieldDescriptor value
Definition: descriptor.h:1522
void Set(int index, const Element &value)
Definition: repeated_field.h:677

+ Here is the call graph for this function:

void bgs::protocol::Role::set_name ( const ::std::string &  value)
inline
291  {
292  set_has_name();
294  name_ = new ::std::string;
295  }
296  name_->assign(value);
297  // @@protoc_insertion_point(field_set:bgs.protocol.Role.name)
298 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void set_has_name()
Definition: role_types.pb.h:275
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::set_name ( const char *  value)
inline
299  {
300  set_has_name();
302  name_ = new ::std::string;
303  }
304  name_->assign(value);
305  // @@protoc_insertion_point(field_set_char:bgs.protocol.Role.name)
306 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void set_has_name()
Definition: role_types.pb.h:275
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::set_name ( const char *  value,
size_t  size 
)
inline
307  {
308  set_has_name();
310  name_ = new ::std::string;
311  }
312  name_->assign(reinterpret_cast<const char*>(value), size);
313  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Role.name)
314 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: role_types.pb.h:217
void set_has_name()
Definition: role_types.pb.h:275
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::set_privilege ( int  index,
const ::std::string &  value 
)
inline
362  {
363  // @@protoc_insertion_point(field_set:bgs.protocol.Role.privilege)
364  privilege_.Mutable(index)->assign(value);
365 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522
Element * Mutable(int index)
Definition: repeated_field.h:1118

+ Here is the call graph for this function:

void bgs::protocol::Role::set_privilege ( int  index,
const char *  value 
)
inline
366  {
367  privilege_.Mutable(index)->assign(value);
368  // @@protoc_insertion_point(field_set_char:bgs.protocol.Role.privilege)
369 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522
Element * Mutable(int index)
Definition: repeated_field.h:1118

+ Here is the call graph for this function:

void bgs::protocol::Role::set_privilege ( int  index,
const char *  value,
size_t  size 
)
inline
370  {
371  privilege_.Mutable(index)->assign(
372  reinterpret_cast<const char*>(value), size);
373  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Role.privilege)
374 }
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
const FieldDescriptor value
Definition: descriptor.h:1522
Element * Mutable(int index)
Definition: repeated_field.h:1118

+ Here is the call graph for this function:

void bgs::protocol::Role::set_relegation_role ( ::google::protobuf::uint32  value)
inline
497  {
500  // @@protoc_insertion_point(field_set:bgs.protocol.Role.relegation_role)
501 }
::google::protobuf::uint32 relegation_role_
Definition: role_types.pb.h:229
const FieldDescriptor value
Definition: descriptor.h:1522
void set_has_relegation_role()
Definition: role_types.pb.h:483

+ Here is the call graph for this function:

void bgs::protocol::Role::set_removable_role ( int  index,
::google::protobuf::uint32  value 
)
inline
574  {
575  removable_role_.Set(index, value);
576  // @@protoc_insertion_point(field_set:bgs.protocol.Role.removable_role)
577 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
const FieldDescriptor value
Definition: descriptor.h:1522
void Set(int index, const Element &value)
Definition: repeated_field.h:677

+ Here is the call graph for this function:

void bgs::protocol::Role::set_required ( bool  value)
inline
449  {
451  required_ = value;
452  // @@protoc_insertion_point(field_set:bgs.protocol.Role.required)
453 }
void set_has_required()
Definition: role_types.pb.h:435
bool required_
Definition: role_types.pb.h:222
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::Role::set_unique ( bool  value)
inline
473  {
474  set_has_unique();
475  unique_ = value;
476  // @@protoc_insertion_point(field_set:bgs.protocol.Role.unique)
477 }
bool unique_
Definition: role_types.pb.h:223
void set_has_unique()
Definition: role_types.pb.h:459
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::Role::SharedCtor ( )
private
void bgs::protocol::Role::SharedDtor ( )
private
void bgs::protocol::Role::Swap ( Role other)
bool bgs::protocol::Role::unique ( ) const
inline
469  {
470  // @@protoc_insertion_point(field_get:bgs.protocol.Role.unique)
471  return unique_;
472 }
bool unique_
Definition: role_types.pb.h:223
const ::google::protobuf::UnknownFieldSet& bgs::protocol::Role::unknown_fields ( ) const
inline
55  {
56  return _unknown_fields_;
57  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: role_types.pb.h:213

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_role_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_role_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_role_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::Role::_assignable_role_cached_byte_size_
mutableprivate
int bgs::protocol::Role::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::Role::_has_bits_[1]
private
int bgs::protocol::Role::_kickable_role_cached_byte_size_
mutableprivate
int bgs::protocol::Role::_removable_role_cached_byte_size_
mutableprivate
::google::protobuf::UnknownFieldSet bgs::protocol::Role::_unknown_fields_
private
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::Role::assignable_role_
private
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > bgs::protocol::Role::attribute_
private
Role* bgs::protocol::Role::default_instance_
staticprivate
::google::protobuf::uint32 bgs::protocol::Role::id_
private
const int bgs::protocol::Role::kAssignableRoleFieldNumber = 4
static
const int bgs::protocol::Role::kAttributeFieldNumber = 8
static
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::Role::kickable_role_
private
const int bgs::protocol::Role::kIdFieldNumber = 1
static
const int bgs::protocol::Role::kKickableRoleFieldNumber = 9
static
const int bgs::protocol::Role::kNameFieldNumber = 2
static
const int bgs::protocol::Role::kPrivilegeFieldNumber = 3
static
const int bgs::protocol::Role::kRelegationRoleFieldNumber = 7
static
const int bgs::protocol::Role::kRemovableRoleFieldNumber = 10
static
const int bgs::protocol::Role::kRequiredFieldNumber = 5
static
const int bgs::protocol::Role::kUniqueFieldNumber = 6
static
::std::string* bgs::protocol::Role::name_
private
::google::protobuf::RepeatedPtrField< ::std::string> bgs::protocol::Role::privilege_
private
::google::protobuf::uint32 bgs::protocol::Role::relegation_role_
private
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::Role::removable_role_
private
bool bgs::protocol::Role::required_
private
bool bgs::protocol::Role::unique_
private

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