Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::compiler::cpp::ServiceGenerator Class Reference

#include <cpp_service.h>

Public Member Functions

void GenerateDeclarations (io::Printer *printer)
 
void GenerateDeclarations (io::Printer *printer)
 
void GenerateImplementation (io::Printer *printer)
 
void GenerateImplementation (io::Printer *printer)
 
 ServiceGenerator (const ServiceDescriptor *descriptor, const std::map< std::string, std::string > &vars, const Options &options)
 
 ServiceGenerator (const ServiceDescriptor *descriptor, const std::map< std::string, std::string > &vars, const Options &options)
 
 ~ServiceGenerator ()
 
 ~ServiceGenerator ()
 

Private Types

enum  RequestOrResponse { REQUEST, RESPONSE, REQUEST, RESPONSE }
 
enum  RequestOrResponse { REQUEST, RESPONSE, REQUEST, RESPONSE }
 
enum  VirtualOrNon { VIRTUAL, NON_VIRTUAL, VIRTUAL, NON_VIRTUAL }
 
enum  VirtualOrNon { VIRTUAL, NON_VIRTUAL, VIRTUAL, NON_VIRTUAL }
 

Private Member Functions

void GenerateCallMethod (io::Printer *printer)
 
void GenerateCallMethod (io::Printer *printer)
 
void GenerateGetPrototype (RequestOrResponse which, io::Printer *printer)
 
void GenerateGetPrototype (RequestOrResponse which, io::Printer *printer)
 
void GenerateInterface (io::Printer *printer)
 
void GenerateInterface (io::Printer *printer)
 
void GenerateMethodSignatures (VirtualOrNon virtual_or_non, io::Printer *printer)
 
void GenerateMethodSignatures (VirtualOrNon virtual_or_non, io::Printer *printer)
 
void GenerateNotImplementedMethods (io::Printer *printer)
 
void GenerateNotImplementedMethods (io::Printer *printer)
 
void GenerateStubDefinition (io::Printer *printer)
 
void GenerateStubDefinition (io::Printer *printer)
 
void GenerateStubMethods (io::Printer *printer)
 
void GenerateStubMethods (io::Printer *printer)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceGenerator)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ServiceGenerator)
 

Private Attributes

const ServiceDescriptordescriptor_
 
int index_in_metadata_
 
const Optionsoptions_
 
std::map< std::string, std::string > vars_
 

Friends

class FileGenerator
 

Detailed Description

Definition at line 56 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h.

Member Enumeration Documentation

◆ RequestOrResponse [1/2]

Enumerator
REQUEST 
RESPONSE 
REQUEST 
RESPONSE 

Definition at line 77 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h.

◆ RequestOrResponse [2/2]

Enumerator
REQUEST 
RESPONSE 
REQUEST 
RESPONSE 

Definition at line 77 of file protobuf/src/google/protobuf/compiler/cpp/cpp_service.h.

◆ VirtualOrNon [1/2]

Enumerator
VIRTUAL 
NON_VIRTUAL 
VIRTUAL 
NON_VIRTUAL 

Definition at line 78 of file protobuf/src/google/protobuf/compiler/cpp/cpp_service.h.

◆ VirtualOrNon [2/2]

Enumerator
VIRTUAL 
NON_VIRTUAL 
VIRTUAL 
NON_VIRTUAL 

Definition at line 78 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h.

Constructor & Destructor Documentation

◆ ServiceGenerator() [1/2]

google::protobuf::compiler::cpp::ServiceGenerator::ServiceGenerator ( const ServiceDescriptor descriptor,
const std::map< std::string, std::string > &  vars,
const Options options 
)
explicit

◆ ~ServiceGenerator() [1/2]

google::protobuf::compiler::cpp::ServiceGenerator::~ServiceGenerator ( )

◆ ServiceGenerator() [2/2]

google::protobuf::compiler::cpp::ServiceGenerator::ServiceGenerator ( const ServiceDescriptor descriptor,
const std::map< std::string, std::string > &  vars,
const Options options 
)
explicit

◆ ~ServiceGenerator() [2/2]

google::protobuf::compiler::cpp::ServiceGenerator::~ServiceGenerator ( )

Member Function Documentation

◆ GenerateCallMethod() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateCallMethod ( io::Printer printer)
private

◆ GenerateCallMethod() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateCallMethod ( io::Printer printer)
private

◆ GenerateDeclarations() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateDeclarations ( io::Printer printer)

◆ GenerateDeclarations() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateDeclarations ( io::Printer printer)

◆ GenerateGetPrototype() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateGetPrototype ( RequestOrResponse  which,
io::Printer printer 
)
private

◆ GenerateGetPrototype() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateGetPrototype ( RequestOrResponse  which,
io::Printer printer 
)
private

◆ GenerateImplementation() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateImplementation ( io::Printer printer)

◆ GenerateImplementation() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateImplementation ( io::Printer printer)

◆ GenerateInterface() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateInterface ( io::Printer printer)
private

◆ GenerateInterface() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateInterface ( io::Printer printer)
private

◆ GenerateMethodSignatures() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateMethodSignatures ( VirtualOrNon  virtual_or_non,
io::Printer printer 
)
private

◆ GenerateMethodSignatures() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateMethodSignatures ( VirtualOrNon  virtual_or_non,
io::Printer printer 
)
private

◆ GenerateNotImplementedMethods() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateNotImplementedMethods ( io::Printer printer)
private

◆ GenerateNotImplementedMethods() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateNotImplementedMethods ( io::Printer printer)
private

◆ GenerateStubDefinition() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateStubDefinition ( io::Printer printer)
private

◆ GenerateStubDefinition() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateStubDefinition ( io::Printer printer)
private

◆ GenerateStubMethods() [1/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateStubMethods ( io::Printer printer)
private

◆ GenerateStubMethods() [2/2]

void google::protobuf::compiler::cpp::ServiceGenerator::GenerateStubMethods ( io::Printer printer)
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::compiler::cpp::ServiceGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ServiceGenerator  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::compiler::cpp::ServiceGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ServiceGenerator  )
private

Friends And Related Function Documentation

◆ FileGenerator

FileGenerator
friend

Member Data Documentation

◆ descriptor_

const ServiceDescriptor * google::protobuf::compiler::cpp::ServiceGenerator::descriptor_
private

◆ index_in_metadata_

int google::protobuf::compiler::cpp::ServiceGenerator::index_in_metadata_
private

◆ options_

const Options & google::protobuf::compiler::cpp::ServiceGenerator::options_
private

◆ vars_

std::map< std::string, std::string > google::protobuf::compiler::cpp::ServiceGenerator::vars_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23