Public Member Functions | Private Attributes | List of all members
grpc_tools::internal::GeneratorContextImpl Class Reference
Inheritance diagram for grpc_tools::internal::GeneratorContextImpl:
Inheritance graph
[legend]

Public Member Functions

 GeneratorContextImpl (const std::vector< const FileDescriptor * > &parsed_files, std::vector< std::pair< std::string, std::string >> *files_out)
 
void ListParsedFiles (std::vector< const ::google::protobuf::FileDescriptor * > *output)
 
ZeroCopyOutputStream * Open (const std::string &filename)
 
ZeroCopyOutputStream * OpenForAppend (const std::string &filename)
 
ZeroCopyOutputStream * OpenForInsert (const std::string &filename, const std::string &insertion_point)
 

Private Attributes

std::vector< std::pair< std::string, std::string > > * files_
 
const std::vector< const FileDescriptor * > & parsed_files_
 

Detailed Description

Definition at line 63 of file tools/distrib/python/grpcio_tools/grpc_tools/main.cc.

Constructor & Destructor Documentation

◆ GeneratorContextImpl()

grpc_tools::internal::GeneratorContextImpl::GeneratorContextImpl ( const std::vector< const FileDescriptor * > &  parsed_files,
std::vector< std::pair< std::string, std::string >> *  files_out 
)
inline

Member Function Documentation

◆ ListParsedFiles()

void grpc_tools::internal::GeneratorContextImpl::ListParsedFiles ( std::vector< const ::google::protobuf::FileDescriptor * > *  output)
inline

◆ Open()

ZeroCopyOutputStream* grpc_tools::internal::GeneratorContextImpl::Open ( const std::string &  filename)
inline

◆ OpenForAppend()

ZeroCopyOutputStream* grpc_tools::internal::GeneratorContextImpl::OpenForAppend ( const std::string &  filename)
inline

◆ OpenForInsert()

ZeroCopyOutputStream* grpc_tools::internal::GeneratorContextImpl::OpenForInsert ( const std::string &  filename,
const std::string &  insertion_point 
)
inline

Member Data Documentation

◆ files_

std::vector<std::pair<std::string, std::string> >* grpc_tools::internal::GeneratorContextImpl::files_
private

◆ parsed_files_

const std::vector<const FileDescriptor*>& grpc_tools::internal::GeneratorContextImpl::parsed_files_
private

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


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