37 #ifndef PROTOC_CPPFILEGENERATOR_H_
38 #define PROTOC_CPPFILEGENERATOR_H_
40 #include <google/protobuf/descriptor.h>
41 #include <google/protobuf/io/printer.h>
45 #include "protoc/ServiceGenerator.h"
49 using google::protobuf::io::Printer;
54 const std::string &output_name);
57 void GenerateHeader(Printer *printer);
58 void GenerateImplementation(Printer *printer);
61 typedef std::vector<ServiceGenerator*> ServiceGenerators;
63 const google::protobuf::FileDescriptor *m_file;
64 const std::string m_output_name;
65 std::vector<std::string> package_parts_;
66 ServiceGenerators m_service_generators;
68 void GenerateBuildDescriptors(Printer* printer);
69 void GenerateNamespaceOpeners(Printer* printer);
70 void GenerateNamespaceClosers(Printer* printer);
74 #endif // PROTOC_CPPFILEGENERATOR_H_
Definition: CppFileGenerator.h:51
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44