blob: 9ebe0cd300cd3c6f1089999427c996f96732c008 (
plain)
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
40
41
42
43
|
// file : CIDLC/ServantHeaderGenerator.hpp
// author : Jeff Parsons <j.parsons@vanderbilt.edu>
// cvs-id : $Id$
#ifndef EXEC_IMPL_HEADER_GENERATOR_HPP
#define EXEC_IMPL_HEADER_GENERATOR_HPP
#include "CCF/CodeGenerationKit/CommandLine.hpp"
#include "CCF/CIDL/SemanticGraph.hpp"
#include "CCF/CIDL/Traversal.hpp"
using std::string;
class ExecImplHeaderEmitter
{
public:
ExecImplHeaderEmitter (std::ostream& os_,
CommandLine const& cl,
string export_macro,
fs::path const& file);
virtual ~ExecImplHeaderEmitter () {}
virtual void
pre (CCF::CIDL::SemanticGraph::TranslationUnit& u);
virtual void
generate (CCF::CIDL::SemanticGraph::TranslationUnit& u);
virtual void
post (CCF::CIDL::SemanticGraph::TranslationUnit& u);
private:
std::ostream& os;
CommandLine const& cl_;
string export_macro_;
fs::path file_;
};
#endif // EXEC_IMPL_HEADER_GENERATOR_HPP
|