forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApacheCodeWriter.h
More file actions
39 lines (29 loc) · 905 Bytes
/
ApacheCodeWriter.h
File metadata and controls
39 lines (29 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// ApacheCodeWriter.h
//
// $Id: //poco/1.4/PageCompiler/src/ApacheCodeWriter.h#1 $
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef ApacheCodeWriter_INCLUDED
#define ApacheCodeWriter_INCLUDED
#include "CodeWriter.h"
class ApacheCodeWriter: public CodeWriter
/// Code generator for ApacheConnector request handlers.
{
public:
ApacheCodeWriter(const Page& page, const std::string& clazz);
/// Creates the CodeWriter, using the given Page.
~ApacheCodeWriter();
/// Destroys the PageReader.
protected:
virtual void writeHeaderIncludes(std::ostream& ostr);
virtual void writeFactoryClass(std::ostream& ostr);
virtual void writeImplIncludes(std::ostream& ostr);
virtual void writeFactory(std::ostream& ostr);
virtual void writeManifest(std::ostream& ostr);
};
#endif // CodeWriter_INCLUDED