blob: bec5e74f91de8624c03d6ecc134418e391f1eea0 (
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
|
// file : CIDLC/EmitterContext.hpp
// author : Jeff Parsons <j.parsons@vanderbilt.edu>
// cvs-id : $Id$
#ifndef EMITTERCONTEXT_HPP
#define EMITTERCONTEXT_HPP
#include "CCF/CodeGenerationKit/CommandLine.hpp"
#include <ostream>
#include <string>
using namespace std;
class Context
{
public:
Context (ostream& os,
string export_macro,
CommandLine const& cl);
ostream& os (void);
string export_macro (void);
CommandLine const& cl (void);
string composition_name (void);
void composition_name (const string& name);
private:
ostream& os_;
string export_macro_;
CommandLine const& cl_;
string composition_name_;
};
#endif // EMITTERCONTEXT_HPP
|