summaryrefslogtreecommitdiff
path: root/trunk/CIAO/CIDLC/ModuleEmitter.cpp
blob: 990d95ef4b8a3f105d3cf1b6ab72b64120c0b2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// file      : CIDLC/ModuleEmitter.cpp
// author    : Jeff Parsons <j.parsons@vanderbilt.edu>
// cvs-id    : $Id$

#include "ModuleEmitter.hpp"

ModuleEmitter::ModuleEmitter (Context& c)
  : EmitterBase (c)
{
}

void
ModuleEmitter::pre (Type& t)
{
  os << "namespace " << t.name () << "{";
}

void
ModuleEmitter::post (Type&)
{
  os << "}";
}