Go to the documentation of this file.
33 return FEATURE_PROTO3_OPTIONAL;
40 std::vector<std::pair<std::string, std::string> >
options;
43 bool generate_client =
true;
44 bool generate_server =
true;
45 bool internal_access =
false;
51 generate_client =
false;
53 generate_server =
false;
55 internal_access =
true;
65 file, generate_client, generate_server, internal_access);
66 if (
code.size() == 0) {
76 std::unique_ptr<grpc::protobuf::io::ZeroCopyOutputStream>
output(
79 coded_out.WriteRaw(
code.data(),
code.size());
84 int main(
int argc,
char* argv[]) {
uint64_t GetSupportedFeatures() const override
GRPC_CUSTOM_FILEDESCRIPTOR FileDescriptor
GRPC_CUSTOM_GENERATORCONTEXT GeneratorContext
static void ParseGeneratorParameter(const string ¶meter, std::vector< std::pair< string, string > > *options)
GRPC_CUSTOM_CODEGENERATOR CodeGenerator
std::string GetServices(const FileDescriptor *file, bool generate_client, bool generate_server, bool internal_access)
unsigned __int64 uint64_t
GRPC_CUSTOM_CODEDOUTPUTSTREAM CodedOutputStream
int main(int argc, char *argv[])
static int PluginMain(int argc, char *argv[], const CodeGenerator *generator)
bool ServicesFilename(const grpc::protobuf::FileDescriptor *file, const std::string &file_suffix, std::string &out_file_name_or_error)
grpc::ClientContext context
bool Generate(const grpc::protobuf::FileDescriptor *file, const std::string ¶meter, grpc::protobuf::compiler::GeneratorContext *context, std::string *error) const override
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:01