| 34 | class SyntaxFunc; |
| 35 | |
| 36 | class ServiceCodeRender { |
| 37 | public: |
| 38 | ServiceCodeRender(NameRender &name_render); |
| 39 | virtual ~ServiceCodeRender(); |
| 40 | |
| 41 | virtual void GenerateServiceHpp(SyntaxTree *stree, FILE *write); |
| 42 | |
| 43 | virtual void GenerateServiceCpp(SyntaxTree *stree, FILE *write); |
| 44 | |
| 45 | virtual void GenerateServiceImplHpp(SyntaxTree *stree, FILE *write, const bool is_uthread_mode); |
| 46 | |
| 47 | virtual void GenerateServiceImplCpp(SyntaxTree *stree, FILE *write, const bool is_uthread_mode); |
| 48 | |
| 49 | virtual void GenerateDispatcherHpp(SyntaxTree *stree, FILE *write); |
| 50 | |
| 51 | virtual void GenerateDispatcherCpp(SyntaxTree *stree, FILE *write); |
| 52 | |
| 53 | protected: |
| 54 | virtual void GetServiceFuncDeclaration(SyntaxTree *stree, |
| 55 | const SyntaxFunc *const func, int is_header, int is_impl, |
| 56 | int need_param_name, std::string *result); |
| 57 | |
| 58 | virtual void GenerateDispatcherFunc(const SyntaxTree *const stree, |
| 59 | const SyntaxFunc *const func, |
| 60 | FILE *write); |
| 61 | |
| 62 | virtual void GenerateURIFuncMap(SyntaxTree *stree, FILE *write); |
| 63 | |
| 64 | NameRender &name_render_; |
| 65 | }; |
| 66 | |
| 67 | |
| 68 | } |
nothing calls this directly
no outgoing calls
no test coverage detected