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

#include <descriptor.h>

Public Member Functions

const string & name () const
 
int index () const
 
int number () const
 
const string & full_name () const
 
const EnumDescriptortype () const
 
const EnumValueOptionsoptions () const
 
void CopyTo (EnumValueDescriptorProto *proto) const
 
string DebugString () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 

Private Types

typedef EnumValueOptions OptionsType
 

Private Member Functions

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

Private Attributes

const string * name_
 
const string * full_name_
 
int number_
 
const EnumDescriptortype_
 
const EnumValueOptionsoptions_
 

Friends

class DescriptorBuilder
 
class EnumDescriptor
 

Member Typedef Documentation

Constructor & Destructor Documentation

google::protobuf::EnumValueDescriptor::EnumValueDescriptor ( )
inlineprivate
836 {}

Member Function Documentation

void google::protobuf::EnumValueDescriptor::CopyTo ( EnumValueDescriptorProto proto) const
string google::protobuf::EnumValueDescriptor::DebugString ( ) const
void google::protobuf::EnumValueDescriptor::DebugString ( int  depth,
string *  contents 
) const
private
const string& google::protobuf::EnumValueDescriptor::full_name ( ) const
void google::protobuf::EnumValueDescriptor::GetLocationPath ( vector< int > *  output) const
private
bool google::protobuf::EnumValueDescriptor::GetSourceLocation ( SourceLocation out_location) const
google::protobuf::EnumValueDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( EnumValueDescriptor  )
private
int google::protobuf::EnumValueDescriptor::index ( ) const
inline
1625  {
1626  return static_cast<int>(this - type_->values_);
1627 }
EnumValueDescriptor * values_
Definition: descriptor.h:760
const EnumDescriptor * type_
Definition: descriptor.h:829
const string& google::protobuf::EnumValueDescriptor::name ( ) const

+ Here is the caller graph for this function:

int google::protobuf::EnumValueDescriptor::number ( ) const
const EnumValueOptions& google::protobuf::EnumValueDescriptor::options ( ) const
const EnumDescriptor* google::protobuf::EnumValueDescriptor::type ( ) const

Friends And Related Function Documentation

friend class DescriptorBuilder
friend
friend class EnumDescriptor
friend

Member Data Documentation

const string* google::protobuf::EnumValueDescriptor::full_name_
private
const string* google::protobuf::EnumValueDescriptor::name_
private
int google::protobuf::EnumValueDescriptor::number_
private
const EnumValueOptions* google::protobuf::EnumValueDescriptor::options_
private
const EnumDescriptor* google::protobuf::EnumValueDescriptor::type_
private

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