1//
2// ApacheCodeWriter.h
3//
4// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
5// and Contributors.
6//
7// SPDX-License-Identifier: BSL-1.0
8//
9
10
11#ifndef ApacheCodeWriter_INCLUDED
12#define ApacheCodeWriter_INCLUDED
13
14
15#include "CodeWriter.h"
16
17
18class ApacheCodeWriter: public CodeWriter
19 /// Code generator for ApacheConnector request handlers.
20{
21public:
22 ApacheCodeWriter(const Page& page, const std::string& clazz);
23 /// Creates the CodeWriter, using the given Page.
24
25 ~ApacheCodeWriter();
26 /// Destroys the PageReader.
27
28protected:
29 virtual void writeHeaderIncludes(std::ostream& ostr);
30 virtual void writeFactoryClass(std::ostream& ostr);
31 virtual void writeImplIncludes(std::ostream& ostr);
32 virtual void writeFactory(std::ostream& ostr);
33 virtual void writeManifest(std::ostream& ostr);
34};
35
36
37#endif // CodeWriter_INCLUDED
38