TrinityCore
bgs::protocol::Attribute Class Reference

#include <attribute_types.pb.h>

+ Inheritance diagram for bgs::protocol::Attribute:

Public Member Functions

 Attribute ()
 
virtual ~Attribute ()
 
 Attribute (const Attribute &from)
 
Attributeoperator= (const Attribute &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Attribute *other)
 
AttributeNew () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
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)
 
bool has_value () const
 
void clear_value ()
 
const ::bgs::protocol::Variantvalue () const
 
inline ::bgs::protocol::Variantmutable_value ()
 
inline ::bgs::protocol::Variantrelease_value ()
 
void set_allocated_value (::bgs::protocol::Variant *value)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const Attributedefault_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 
static const int kValueFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_name ()
 
void clear_has_name ()
 
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_
 
::std::string * name_
 
::bgs::protocol::Variantvalue_
 

Static Private Attributes

static Attributedefault_instance_
 

Friends

void TC_PROTO_API protobuf_AddDesc_attribute_5ftypes_2eproto ()
 
void protobuf_AssignDesc_attribute_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_attribute_5ftypes_2eproto ()
 

Detailed Description

Definition at line 235 of file attribute_types.pb.h.

Constructor & Destructor Documentation

◆ Attribute() [1/2]

bgs::protocol::Attribute::Attribute ( )

◆ ~Attribute()

virtual bgs::protocol::Attribute::~Attribute ( )
virtual

◆ Attribute() [2/2]

bgs::protocol::Attribute::Attribute ( const Attribute from)

Member Function Documentation

◆ clear_has_name()

void bgs::protocol::Attribute::clear_has_name ( )
inlineprivate

Definition at line 881 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_value()

void bgs::protocol::Attribute::clear_has_value ( )
inlineprivate

Definition at line 957 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_name()

void bgs::protocol::Attribute::clear_name ( )
inline

Definition at line 884 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ clear_value()

void bgs::protocol::Attribute::clear_value ( )
inline

Definition at line 960 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ default_instance()

static const Attribute & bgs::protocol::Attribute::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor * bgs::protocol::Attribute::descriptor ( )
static

◆ GetCachedSize()

int bgs::protocol::Attribute::GetCachedSize ( ) const
inline

Definition at line 263 of file attribute_types.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata bgs::protocol::Attribute::GetMetadata ( ) const

◆ has_name()

bool bgs::protocol::Attribute::has_name ( ) const
inline

Definition at line 875 of file attribute_types.pb.h.

◆ has_value()

bool bgs::protocol::Attribute::has_value ( ) const
inline

Definition at line 951 of file attribute_types.pb.h.

◆ InitAsDefaultInstance()

void bgs::protocol::Attribute::InitAsDefaultInstance ( )
private

◆ mutable_name()

std::string * bgs::protocol::Attribute::mutable_name ( )
inline

Definition at line 918 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * bgs::protocol::Attribute::mutable_unknown_fields ( )
inline

Definition at line 251 of file attribute_types.pb.h.

◆ mutable_value()

bgs::protocol::Variant * bgs::protocol::Attribute::mutable_value ( )
inline

Definition at line 968 of file attribute_types.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ name()

const ::std::string & bgs::protocol::Attribute::name ( ) const
inline

Definition at line 890 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

◆ New()

Attribute * bgs::protocol::Attribute::New ( ) const

◆ operator=()

Attribute & bgs::protocol::Attribute::operator= ( const Attribute from)
inline

Definition at line 242 of file attribute_types.pb.h.

◆ release_name()

std::string * bgs::protocol::Attribute::release_name ( )
inline

Definition at line 926 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ release_value()

bgs::protocol::Variant * bgs::protocol::Attribute::release_value ( )
inline

Definition at line 974 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_name()

void bgs::protocol::Attribute::set_allocated_name ( ::std::string *  name)
inline

Definition at line 936 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_value()

void bgs::protocol::Attribute::set_allocated_value ( ::bgs::protocol::Variant value)
inline

Definition at line 980 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ set_has_name()

void bgs::protocol::Attribute::set_has_name ( )
inlineprivate

Definition at line 878 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_value()

void bgs::protocol::Attribute::set_has_value ( )
inlineprivate

Definition at line 954 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

◆ set_name() [1/3]

void bgs::protocol::Attribute::set_name ( const ::std::string &  value)
inline

Definition at line 894 of file attribute_types.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_name() [2/3]

void bgs::protocol::Attribute::set_name ( const char *  value)
inline

Definition at line 902 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ set_name() [3/3]

void bgs::protocol::Attribute::set_name ( const char *  value,
size_t  size 
)
inline

Definition at line 910 of file attribute_types.pb.h.

+ Here is the call graph for this function:

◆ SetCachedSize()

void bgs::protocol::Attribute::SetCachedSize ( int  size) const
private

◆ SharedCtor()

void bgs::protocol::Attribute::SharedCtor ( )
private

◆ SharedDtor()

void bgs::protocol::Attribute::SharedDtor ( )
private

◆ Swap()

void bgs::protocol::Attribute::Swap ( Attribute other)

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & bgs::protocol::Attribute::unknown_fields ( ) const
inline

Definition at line 247 of file attribute_types.pb.h.

◆ value()

const ::bgs::protocol::Variant & bgs::protocol::Attribute::value ( ) const
inline

Definition at line 964 of file attribute_types.pb.h.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ protobuf_AddDesc_attribute_5ftypes_2eproto

void TC_PROTO_API protobuf_AddDesc_attribute_5ftypes_2eproto ( )
friend

◆ protobuf_AssignDesc_attribute_5ftypes_2eproto

void protobuf_AssignDesc_attribute_5ftypes_2eproto ( )
friend

◆ protobuf_ShutdownFile_attribute_5ftypes_2eproto

void protobuf_ShutdownFile_attribute_5ftypes_2eproto ( )
friend

Member Data Documentation

◆ _cached_size_

int bgs::protocol::Attribute::_cached_size_
mutableprivate

Definition at line 306 of file attribute_types.pb.h.

◆ _has_bits_

::google::protobuf::uint32 bgs::protocol::Attribute::_has_bits_[1]
private

Definition at line 305 of file attribute_types.pb.h.

◆ _unknown_fields_

::google::protobuf::UnknownFieldSet bgs::protocol::Attribute::_unknown_fields_
private

Definition at line 303 of file attribute_types.pb.h.

◆ default_instance_

Attribute* bgs::protocol::Attribute::default_instance_
staticprivate

Definition at line 314 of file attribute_types.pb.h.

◆ kNameFieldNumber

const int bgs::protocol::Attribute::kNameFieldNumber = 1
static

Definition at line 278 of file attribute_types.pb.h.

◆ kValueFieldNumber

const int bgs::protocol::Attribute::kValueFieldNumber = 2
static

Definition at line 290 of file attribute_types.pb.h.

◆ name_

::std::string* bgs::protocol::Attribute::name_
private

Definition at line 307 of file attribute_types.pb.h.

◆ value_

::bgs::protocol::Variant* bgs::protocol::Attribute::value_
private

Definition at line 308 of file attribute_types.pb.h.


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