TarsCloud_TarsCpp/tools/pb2tarscpp/CppGenProxy.h
2020-02-07 13:50:04 +08:00

24 lines
451 B
C++

// Generates C++ tars service interface out of Protobuf IDL.
//
// This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
// and net/proto2/compiler/public/plugin.h for more information on plugins.
#pragma once
#include <string>
#include "CppPbUtils.h"
namespace google
{
namespace protobuf
{
class ServiceDescriptor;
}
}
// gen proxy
std::string GenPrx(const ::google::protobuf::ServiceDescriptor* desc, int indent);