TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::OneofDescriptorProto Class Reference

#include <descriptor.pb.h>

Public Member Functions

 OneofDescriptorProto ()
 
virtual ~OneofDescriptorProto ()
 
 OneofDescriptorProto (const OneofDescriptorProto &from)
 
OneofDescriptorProtooperator= (const OneofDescriptorProto &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (OneofDescriptorProto *other)
 
OneofDescriptorProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const OneofDescriptorProto &from)
 
void MergeFrom (const OneofDescriptorProto &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_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)
 
- 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 OneofDescriptorProtodefault_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_name ()
 
void clear_has_name ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * name_
 

Static Private Attributes

static OneofDescriptorProtodefault_instance_
 

Friends

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto ()
 
void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto ()
 
void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

google::protobuf::OneofDescriptorProto::OneofDescriptorProto ( )
virtual google::protobuf::OneofDescriptorProto::~OneofDescriptorProto ( )
virtual
google::protobuf::OneofDescriptorProto::OneofDescriptorProto ( const OneofDescriptorProto from)

Member Function Documentation

int google::protobuf::OneofDescriptorProto::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::OneofDescriptorProto::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::OneofDescriptorProto::clear_has_name ( )
inlineprivate
4199  {
4200  _has_bits_[0] &= ~0x00000001u;
4201 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1040
void google::protobuf::OneofDescriptorProto::clear_name ( )
inline
4202  {
4204  name_->clear();
4205  }
4206  clear_has_name();
4207 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4199
::std::string * name_
Definition: descriptor.pb.h:1042

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

1009 { return _cached_size_; }
int _cached_size_
Definition: descriptor.pb.h:1041
::google::protobuf::Metadata google::protobuf::OneofDescriptorProto::GetMetadata ( ) const
virtual
bool google::protobuf::OneofDescriptorProto::has_name ( ) const
inline
4193  {
4194  return (_has_bits_[0] & 0x00000001u) != 0;
4195 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1040
void google::protobuf::OneofDescriptorProto::InitAsDefaultInstance ( )
private
bool google::protobuf::OneofDescriptorProto::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void google::protobuf::OneofDescriptorProto::MergeFrom ( const ::google::protobuf::Message from)
void google::protobuf::OneofDescriptorProto::MergeFrom ( const OneofDescriptorProto from)
bool google::protobuf::OneofDescriptorProto::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * google::protobuf::OneofDescriptorProto::mutable_name ( )
inline
4236  {
4237  set_has_name();
4239  name_ = new ::std::string;
4240  }
4241  // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
4242  return name_;
4243 }
void set_has_name()
Definition: descriptor.pb.h:4196
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1042

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* google::protobuf::OneofDescriptorProto::mutable_unknown_fields ( )
inline
984  {
985  return &_unknown_fields_;
986  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1038
const ::std::string & google::protobuf::OneofDescriptorProto::name ( ) const
inline
4208  {
4209  // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
4210  return *name_;
4211 }
::std::string * name_
Definition: descriptor.pb.h:1042
OneofDescriptorProto* google::protobuf::OneofDescriptorProto::New ( ) const
virtual
OneofDescriptorProto& google::protobuf::OneofDescriptorProto::operator= ( const OneofDescriptorProto from)
inline
975  {
976  CopyFrom(from);
977  return *this;
978  }
void CopyFrom(const ::google::protobuf::Message &from)
std::string * google::protobuf::OneofDescriptorProto::release_name ( )
inline
4244  {
4245  clear_has_name();
4247  return NULL;
4248  } else {
4249  ::std::string* temp = name_;
4250  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4251  return temp;
4252  }
4253 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4199
::std::string * name_
Definition: descriptor.pb.h:1042

+ Here is the call graph for this function:

void google::protobuf::OneofDescriptorProto::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* google::protobuf::OneofDescriptorProto::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void google::protobuf::OneofDescriptorProto::set_allocated_name ( ::std::string *  name)
inline
4254  {
4256  delete name_;
4257  }
4258  if (name) {
4259  set_has_name();
4260  name_ = name;
4261  } else {
4262  clear_has_name();
4263  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4264  }
4265  // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
4266 }
void set_has_name()
Definition: descriptor.pb.h:4196
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_name()
Definition: descriptor.pb.h:4199
const ::std::string & name() const
Definition: descriptor.pb.h:4208
::std::string * name_
Definition: descriptor.pb.h:1042

+ Here is the call graph for this function:

void google::protobuf::OneofDescriptorProto::set_has_name ( )
inlineprivate
4196  {
4197  _has_bits_[0] |= 0x00000001u;
4198 }
::google::protobuf::uint32 _has_bits_[1]
Definition: descriptor.pb.h:1040
void google::protobuf::OneofDescriptorProto::set_name ( const ::std::string &  value)
inline
4212  {
4213  set_has_name();
4215  name_ = new ::std::string;
4216  }
4217  name_->assign(value);
4218  // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
4219 }
void set_has_name()
Definition: descriptor.pb.h:4196
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1042
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::OneofDescriptorProto::set_name ( const char *  value)
inline
4220  {
4221  set_has_name();
4223  name_ = new ::std::string;
4224  }
4225  name_->assign(value);
4226  // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)
4227 }
void set_has_name()
Definition: descriptor.pb.h:4196
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1042
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::OneofDescriptorProto::set_name ( const char *  value,
size_t  size 
)
inline
4228  {
4229  set_has_name();
4231  name_ = new ::std::string;
4232  }
4233  name_->assign(reinterpret_cast<const char*>(value), size);
4234  // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)
4235 }
void set_has_name()
Definition: descriptor.pb.h:4196
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * name_
Definition: descriptor.pb.h:1042
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void google::protobuf::OneofDescriptorProto::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void google::protobuf::OneofDescriptorProto::SharedCtor ( )
private
void google::protobuf::OneofDescriptorProto::SharedDtor ( )
private
void google::protobuf::OneofDescriptorProto::Swap ( OneofDescriptorProto other)
const ::google::protobuf::UnknownFieldSet& google::protobuf::OneofDescriptorProto::unknown_fields ( ) const
inline
980  {
981  return _unknown_fields_;
982  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: descriptor.pb.h:1038

Friends And Related Function Documentation

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto ( )
friend
void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto ( )
friend
void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto ( )
friend

Member Data Documentation

int google::protobuf::OneofDescriptorProto::_cached_size_
mutableprivate
::google::protobuf::uint32 google::protobuf::OneofDescriptorProto::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet google::protobuf::OneofDescriptorProto::_unknown_fields_
private
OneofDescriptorProto* google::protobuf::OneofDescriptorProto::default_instance_
staticprivate
const int google::protobuf::OneofDescriptorProto::kNameFieldNumber = 1
static
::std::string* google::protobuf::OneofDescriptorProto::name_
private

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