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

#include <descriptor.h>

Public Member Functions

const string & name () const
 
const string & package () const
 
const DescriptorPoolpool () const
 
int dependency_count () const
 
const FileDescriptordependency (int index) const
 
int public_dependency_count () const
 
const FileDescriptorpublic_dependency (int index) const
 
int weak_dependency_count () const
 
const FileDescriptorweak_dependency (int index) const
 
int message_type_count () const
 
const Descriptormessage_type (int index) const
 
int enum_type_count () const
 
const EnumDescriptorenum_type (int index) const
 
int service_count () const
 
const ServiceDescriptorservice (int index) const
 
int extension_count () const
 
const FieldDescriptorextension (int index) const
 
const FileOptionsoptions () const
 
const DescriptorFindMessageTypeByName (const string &name) const
 
const EnumDescriptorFindEnumTypeByName (const string &name) const
 
const EnumValueDescriptorFindEnumValueByName (const string &name) const
 
const ServiceDescriptorFindServiceByName (const string &name) const
 
const FieldDescriptorFindExtensionByName (const string &name) const
 
const FieldDescriptorFindExtensionByLowercaseName (const string &name) const
 
const FieldDescriptorFindExtensionByCamelcaseName (const string &name) const
 
void CopyTo (FileDescriptorProto *proto) const
 
void CopySourceCodeInfoTo (FileDescriptorProto *proto) const
 
string DebugString () const
 
bool is_placeholder () const
 

Private Types

typedef FileOptions OptionsType
 

Private Member Functions

bool GetSourceLocation (const vector< int > &path, SourceLocation *out_location) const
 
 FileDescriptor ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (FileDescriptor)
 

Private Attributes

const string * name_
 
const string * package_
 
const DescriptorPoolpool_
 
int dependency_count_
 
const FileDescriptor ** dependencies_
 
int public_dependency_count_
 
int * public_dependencies_
 
int weak_dependency_count_
 
int * weak_dependencies_
 
int message_type_count_
 
Descriptormessage_types_
 
int enum_type_count_
 
EnumDescriptorenum_types_
 
int service_count_
 
ServiceDescriptorservices_
 
int extension_count_
 
bool is_placeholder_
 
FieldDescriptorextensions_
 
const FileOptionsoptions_
 
const FileDescriptorTables * tables_
 
const SourceCodeInfosource_code_info_
 

Friends

class DescriptorBuilder
 
class Descriptor
 
class FieldDescriptor
 
class OneofDescriptor
 
class EnumDescriptor
 
class EnumValueDescriptor
 
class MethodDescriptor
 
class ServiceDescriptor
 

Member Typedef Documentation

Constructor & Destructor Documentation

google::protobuf::FileDescriptor::FileDescriptor ( )
inlineprivate
1129 {}

Member Function Documentation

void google::protobuf::FileDescriptor::CopySourceCodeInfoTo ( FileDescriptorProto proto) const
void google::protobuf::FileDescriptor::CopyTo ( FileDescriptorProto proto) const

+ Here is the caller graph for this function:

string google::protobuf::FileDescriptor::DebugString ( ) const
const FileDescriptor * google::protobuf::FileDescriptor::dependency ( int  index) const
inline
1668  {
1669  return dependencies_[index];
1670 }
const FileDescriptor ** dependencies_
Definition: descriptor.h:1107

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::dependency_count ( ) const

+ Here is the caller graph for this function:

const EnumDescriptor* google::protobuf::FileDescriptor::enum_type ( int  index) const

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::enum_type_count ( ) const

+ Here is the caller graph for this function:

const FieldDescriptor* google::protobuf::FileDescriptor::extension ( int  index) const

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::extension_count ( ) const

+ Here is the caller graph for this function:

const EnumDescriptor* google::protobuf::FileDescriptor::FindEnumTypeByName ( const string &  name) const
const EnumValueDescriptor* google::protobuf::FileDescriptor::FindEnumValueByName ( const string &  name) const
const FieldDescriptor* google::protobuf::FileDescriptor::FindExtensionByCamelcaseName ( const string &  name) const
const FieldDescriptor* google::protobuf::FileDescriptor::FindExtensionByLowercaseName ( const string &  name) const
const FieldDescriptor* google::protobuf::FileDescriptor::FindExtensionByName ( const string &  name) const
const Descriptor* google::protobuf::FileDescriptor::FindMessageTypeByName ( const string &  name) const
const ServiceDescriptor* google::protobuf::FileDescriptor::FindServiceByName ( const string &  name) const
bool google::protobuf::FileDescriptor::GetSourceLocation ( const vector< int > &  path,
SourceLocation out_location 
) const
private
google::protobuf::FileDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( FileDescriptor  )
private
bool google::protobuf::FileDescriptor::is_placeholder ( ) const
const Descriptor* google::protobuf::FileDescriptor::message_type ( int  index) const

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::message_type_count ( ) const

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

const FileOptions& google::protobuf::FileDescriptor::options ( ) const

+ Here is the caller graph for this function:

const string& google::protobuf::FileDescriptor::package ( ) const

+ Here is the caller graph for this function:

const DescriptorPool* google::protobuf::FileDescriptor::pool ( ) const
const FileDescriptor * google::protobuf::FileDescriptor::public_dependency ( int  index) const
inline
1673  {
1674  return dependencies_[public_dependencies_[index]];
1675 }
int * public_dependencies_
Definition: descriptor.h:1109
const FileDescriptor ** dependencies_
Definition: descriptor.h:1107

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::public_dependency_count ( ) const

+ Here is the caller graph for this function:

const ServiceDescriptor* google::protobuf::FileDescriptor::service ( int  index) const

+ Here is the caller graph for this function:

int google::protobuf::FileDescriptor::service_count ( ) const

+ Here is the caller graph for this function:

const FileDescriptor * google::protobuf::FileDescriptor::weak_dependency ( int  index) const
inline
1678  {
1679  return dependencies_[weak_dependencies_[index]];
1680 }
int * weak_dependencies_
Definition: descriptor.h:1111
const FileDescriptor ** dependencies_
Definition: descriptor.h:1107
int google::protobuf::FileDescriptor::weak_dependency_count ( ) const

Friends And Related Function Documentation

friend class Descriptor
friend
friend class DescriptorBuilder
friend
friend class EnumDescriptor
friend
friend class EnumValueDescriptor
friend
friend class FieldDescriptor
friend
friend class MethodDescriptor
friend
friend class OneofDescriptor
friend
friend class ServiceDescriptor
friend

Member Data Documentation

const FileDescriptor** google::protobuf::FileDescriptor::dependencies_
private
int google::protobuf::FileDescriptor::dependency_count_
private
int google::protobuf::FileDescriptor::enum_type_count_
private
EnumDescriptor* google::protobuf::FileDescriptor::enum_types_
private
int google::protobuf::FileDescriptor::extension_count_
private
FieldDescriptor* google::protobuf::FileDescriptor::extensions_
private
bool google::protobuf::FileDescriptor::is_placeholder_
private
int google::protobuf::FileDescriptor::message_type_count_
private
Descriptor* google::protobuf::FileDescriptor::message_types_
private
const string* google::protobuf::FileDescriptor::name_
private
const FileOptions* google::protobuf::FileDescriptor::options_
private
const string* google::protobuf::FileDescriptor::package_
private
const DescriptorPool* google::protobuf::FileDescriptor::pool_
private
int* google::protobuf::FileDescriptor::public_dependencies_
private
int google::protobuf::FileDescriptor::public_dependency_count_
private
int google::protobuf::FileDescriptor::service_count_
private
ServiceDescriptor* google::protobuf::FileDescriptor::services_
private
const SourceCodeInfo* google::protobuf::FileDescriptor::source_code_info_
private
const FileDescriptorTables* google::protobuf::FileDescriptor::tables_
private
int* google::protobuf::FileDescriptor::weak_dependencies_
private
int google::protobuf::FileDescriptor::weak_dependency_count_
private

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