5 #ifndef PROTOC_BNET_BNETSERVICEGENERATOR_H
6 #define PROTOC_BNET_BNETSERVICEGENERATOR_H
17 class ServiceDescriptor;
35 namespace pbcpp = pb::compiler::cpp;
42 const pbcpp::Options& options);
81 std::map<std::string, std::string>
vars_;
86 #endif //PROTOC_BNET_BNETSERVICEGENERATOR_H
void GenerateClientMethodSignatures(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:83
void GenerateDeclarations(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:29
void GenerateServerCallMethod(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:204
void GenerateClientMethodImplementations(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:159
Definition: BnetFileGenerator.h:49
Definition: descriptor.h:846
void GenerateServerMethodSignatures(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:106
unsigned int uint32_t
Definition: stdint.h:80
void GenerateInterface(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:34
std::uint32_t HashServiceName(std::string const &name)
Definition: BnetServiceGenerator.cpp:309
void GenerateServerImplementations(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:273
void GenerateImplementation(pb::io::Printer *printer)
Definition: BnetServiceGenerator.cpp:139
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(BnetServiceGenerator)
const pb::ServiceDescriptor * descriptor_
Definition: BnetServiceGenerator.h:80
BnetServiceGenerator(const pb::ServiceDescriptor *descriptor, const pbcpp::Options &options)
Definition: BnetServiceGenerator.cpp:14
Definition: BnetServiceGenerator.h:37
std::map< std::string, std::string > vars_
Definition: BnetServiceGenerator.h:81
~BnetServiceGenerator()
Definition: BnetServiceGenerator.cpp:27
Definition: BnetFileGenerator.h:47
void GenerateDescriptorInitializer(pb::io::Printer *printer, int index)
Definition: BnetServiceGenerator.cpp:128