blob: 478ae5d0027d0f82b1394dd4a3cc5d148f8ef989 (
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
44
45
|
// file : CIDLC/EmitterContext.cpp
// author : Jeff Parsons <j.parsons@vanderbilt.edu>
// cvs-id : $Id$
#include "EmitterContext.hpp"
Context::Context (ostream& os,
string export_macro,
CommandLine const& cl)
: os_ (os),
export_macro_ (export_macro),
cl_ (cl)
{
}
ostream&
Context::os (void)
{
return os_;
}
string
Context::export_macro (void)
{
return export_macro_;
}
CommandLine const&
Context::cl (void)
{
return cl_;
}
string
Context::composition_name (void)
{
return composition_name_;
}
void
Context::composition_name (const string& name)
{
composition_name_ = name;
}
|