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

#include <descriptor.h>

Public Member Functions

const string & name () const
 
const string & full_name () const
 
int index () const
 
const FileDescriptorfile () const
 
const ServiceOptionsoptions () const
 
int method_count () const
 
const MethodDescriptormethod (int index) const
 
const MethodDescriptorFindMethodByName (const string &name) const
 
void CopyTo (ServiceDescriptorProto *proto) const
 
string DebugString () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 

Private Types

typedef ServiceOptions OptionsType
 

Private Member Functions

void DebugString (string *contents) const
 
void GetLocationPath (vector< int > *output) const
 
 ServiceDescriptor ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceDescriptor)
 

Private Attributes

const string * name_
 
const string * full_name_
 
const FileDescriptorfile_
 
const ServiceOptionsoptions_
 
int method_count_
 
MethodDescriptormethods_
 

Friends

class DescriptorBuilder
 
class FileDescriptor
 
class MethodDescriptor
 

Member Typedef Documentation

Constructor & Destructor Documentation

google::protobuf::ServiceDescriptor::ServiceDescriptor ( )
inlineprivate
907 {}

Member Function Documentation

void google::protobuf::ServiceDescriptor::CopyTo ( ServiceDescriptorProto proto) const
string google::protobuf::ServiceDescriptor::DebugString ( ) const
void google::protobuf::ServiceDescriptor::DebugString ( string *  contents) const
private
const FileDescriptor* google::protobuf::ServiceDescriptor::file ( ) const
const MethodDescriptor* google::protobuf::ServiceDescriptor::FindMethodByName ( const string &  name) const
const string& google::protobuf::ServiceDescriptor::full_name ( ) const

+ Here is the caller graph for this function:

void google::protobuf::ServiceDescriptor::GetLocationPath ( vector< int > *  output) const
private
bool google::protobuf::ServiceDescriptor::GetSourceLocation ( SourceLocation out_location) const
google::protobuf::ServiceDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ServiceDescriptor  )
private
int google::protobuf::ServiceDescriptor::index ( ) const
inline
1629  {
1630  return static_cast<int>(this - file_->services_);
1631 }
const FileDescriptor * file_
Definition: descriptor.h:898
ServiceDescriptor * services_
Definition: descriptor.h:1117
const MethodDescriptor* google::protobuf::ServiceDescriptor::method ( int  index) const

+ Here is the caller graph for this function:

int google::protobuf::ServiceDescriptor::method_count ( ) const

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

const ServiceOptions& google::protobuf::ServiceDescriptor::options ( ) const

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class DescriptorBuilder
friend
friend class FileDescriptor
friend
friend class MethodDescriptor
friend

Member Data Documentation

const FileDescriptor* google::protobuf::ServiceDescriptor::file_
private
const string* google::protobuf::ServiceDescriptor::full_name_
private
int google::protobuf::ServiceDescriptor::method_count_
private
MethodDescriptor* google::protobuf::ServiceDescriptor::methods_
private
const string* google::protobuf::ServiceDescriptor::name_
private
const ServiceOptions* google::protobuf::ServiceDescriptor::options_
private

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