Classes | Namespaces | Functions
tools/distrib/python/grpcio_tools/grpc_tools/main.cc File Reference
#include "grpc_tools/main.h"
#include <algorithm>
#include <map>
#include <string>
#include <tuple>
#include <unordered_set>
#include <vector>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/compiler/command_line_interface.h>
#include <google/protobuf/compiler/importer.h>
#include <google/protobuf/compiler/python/python_generator.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include "src/compiler/python_generator.h"
Include dependency graph for tools/distrib/python/grpcio_tools/grpc_tools/main.cc:

Go to the source code of this file.

Classes

class  grpc_tools::internal::ErrorCollectorImpl
 
class  grpc_tools::internal::GeneratorContextImpl
 

Namespaces

 grpc_tools
 
 grpc_tools::internal
 

Functions

static void grpc_tools::internal::calculate_transitive_closure (const FileDescriptor *descriptor, std::vector< const FileDescriptor * > *transitive_closure, std::unordered_set< const ::google::protobuf::FileDescriptor * > *visited)
 
static int grpc_tools::generate_code (CodeGenerator *code_generator, char *protobuf_path, const std::vector< std::string > *include_paths, std::vector< std::pair< std::string, std::string >> *files_out, std::vector<::grpc_tools::ProtocError > *errors, std::vector<::grpc_tools::ProtocWarning > *warnings)
 
int grpc_tools::protoc_get_protos (char *protobuf_path, const std::vector< std::string > *include_paths, std::vector< std::pair< std::string, std::string >> *files_out, std::vector<::grpc_tools::ProtocError > *errors, std::vector<::grpc_tools::ProtocWarning > *warnings)
 
int grpc_tools::protoc_get_services (char *protobuf_path, const std::vector< std::string > *include_paths, std::vector< std::pair< std::string, std::string >> *files_out, std::vector<::grpc_tools::ProtocError > *errors, std::vector<::grpc_tools::ProtocWarning > *warnings)
 
int grpc_tools::protoc_main (int argc, char *argv[])
 


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