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

#include <descriptor.h>

Public Member Functions

const string & name () const
 
const string & full_name () const
 
int index () const
 
const Descriptorcontaining_type () const
 
int field_count () const
 
const FieldDescriptorfield (int index) const
 
void CopyTo (OneofDescriptorProto *proto) const
 
string DebugString () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 

Private Member Functions

void DebugString (int depth, string *contents) const
 
void GetLocationPath (vector< int > *output) const
 
 OneofDescriptor ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OneofDescriptor)
 

Private Attributes

const string * name_
 
const string * full_name_
 
const Descriptorcontaining_type_
 
bool is_extendable_
 
int field_count_
 
const FieldDescriptor ** fields_
 

Friends

class DescriptorBuilder
 
class Descriptor
 

Constructor & Destructor Documentation

google::protobuf::OneofDescriptor::OneofDescriptor ( )
inlineprivate
674 {}

Member Function Documentation

const Descriptor* google::protobuf::OneofDescriptor::containing_type ( ) const
void google::protobuf::OneofDescriptor::CopyTo ( OneofDescriptorProto proto) const
string google::protobuf::OneofDescriptor::DebugString ( ) const
void google::protobuf::OneofDescriptor::DebugString ( int  depth,
string *  contents 
) const
private
const FieldDescriptor * google::protobuf::OneofDescriptor::field ( int  index) const
inline
1684  {
1685  return fields_[index];
1686 }
int index() const
Definition: descriptor.h:1613
const FieldDescriptor ** fields_
Definition: descriptor.h:668

+ Here is the call graph for this function:

int google::protobuf::OneofDescriptor::field_count ( ) const
const string& google::protobuf::OneofDescriptor::full_name ( ) const
void google::protobuf::OneofDescriptor::GetLocationPath ( vector< int > *  output) const
private
bool google::protobuf::OneofDescriptor::GetSourceLocation ( SourceLocation out_location) const
google::protobuf::OneofDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OneofDescriptor  )
private
int google::protobuf::OneofDescriptor::index ( ) const
inline
1613  {
1614  return static_cast<int>(this - containing_type_->oneof_decls_);
1615 }
OneofDescriptor * oneof_decls_
Definition: descriptor.h:306
const Descriptor * containing_type_
Definition: descriptor.h:665

+ Here is the caller graph for this function:

const string& google::protobuf::OneofDescriptor::name ( ) const

Friends And Related Function Documentation

friend class Descriptor
friend
friend class DescriptorBuilder
friend

Member Data Documentation

const Descriptor* google::protobuf::OneofDescriptor::containing_type_
private
int google::protobuf::OneofDescriptor::field_count_
private
const FieldDescriptor** google::protobuf::OneofDescriptor::fields_
private
const string* google::protobuf::OneofDescriptor::full_name_
private
bool google::protobuf::OneofDescriptor::is_extendable_
private
const string* google::protobuf::OneofDescriptor::name_
private

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