Public Member Functions | Private Attributes | List of all members
ProtoBufFile Class Reference

#include <protobuf_plugin.h>

Inheritance diagram for ProtoBufFile:
Inheritance graph
[legend]

Public Member Functions

std::string additional_headers () const
 
std::unique_ptr< grpc_generator::PrinterCreatePrinter (std::string *str) const
 
std::string filename () const
 
std::string filename_without_ext () const
 
vector< std::string > GetAllComments () const
 
vector< std::string > GetImportNames () const
 
std::string GetLeadingComments (const std::string prefix) const
 
std::string GetTrailingComments (const std::string prefix) const
 
std::string package () const
 
std::vector< std::string > package_parts () const
 
 ProtoBufFile (const grpc::protobuf::FileDescriptor *file)
 
std::unique_ptr< const grpc_generator::Serviceservice (int i) const
 
int service_count () const
 
- Public Member Functions inherited from grpc_generator::File
virtual ~File ()
 
- Public Member Functions inherited from grpc_generator::CommentHolder
virtual ~CommentHolder ()
 

Private Attributes

const grpc::protobuf::FileDescriptorfile_
 

Detailed Description

Definition at line 154 of file protobuf_plugin.h.

Constructor & Destructor Documentation

◆ ProtoBufFile()

ProtoBufFile::ProtoBufFile ( const grpc::protobuf::FileDescriptor file)
inline

Definition at line 156 of file protobuf_plugin.h.

Member Function Documentation

◆ additional_headers()

std::string ProtoBufFile::additional_headers ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 168 of file protobuf_plugin.h.

◆ CreatePrinter()

std::unique_ptr<grpc_generator::Printer> ProtoBufFile::CreatePrinter ( std::string *  str) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 176 of file protobuf_plugin.h.

◆ filename()

std::string ProtoBufFile::filename ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 158 of file protobuf_plugin.h.

◆ filename_without_ext()

std::string ProtoBufFile::filename_without_ext ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 159 of file protobuf_plugin.h.

◆ GetAllComments()

vector<std::string> ProtoBufFile::GetAllComments ( ) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 189 of file protobuf_plugin.h.

◆ GetImportNames()

vector<std::string> ProtoBufFile::GetImportNames ( ) const
inlinevirtual

Reimplemented from grpc_generator::File.

Definition at line 193 of file protobuf_plugin.h.

◆ GetLeadingComments()

std::string ProtoBufFile::GetLeadingComments ( const std::string  prefix) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 181 of file protobuf_plugin.h.

◆ GetTrailingComments()

std::string ProtoBufFile::GetTrailingComments ( const std::string  prefix) const
inlinevirtual

Implements grpc_generator::CommentHolder.

Definition at line 185 of file protobuf_plugin.h.

◆ package()

std::string ProtoBufFile::package ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 163 of file protobuf_plugin.h.

◆ package_parts()

std::vector<std::string> ProtoBufFile::package_parts ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 164 of file protobuf_plugin.h.

◆ service()

std::unique_ptr<const grpc_generator::Service> ProtoBufFile::service ( int  i) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 171 of file protobuf_plugin.h.

◆ service_count()

int ProtoBufFile::service_count ( ) const
inlinevirtual

Implements grpc_generator::File.

Definition at line 170 of file protobuf_plugin.h.

Member Data Documentation

◆ file_

const grpc::protobuf::FileDescriptor* ProtoBufFile::file_
private

Definition at line 203 of file protobuf_plugin.h.


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


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