blob: 5b6190d1b4a0a37a135cdd6f8634acf3c86b7bf6 (
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
|
// file : CCF/IDL2/SemanticAction/Operation.cpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id$
#include "CCF/IDL2/SemanticAction/Operation.hpp"
#include <ostream>
namespace CCF
{
namespace IDL2
{
namespace SemanticAction
{
namespace
{
char* labels[] = {"in", "out", "inout"};
}
std::ostream&
operator<< (std::ostream& o, Operation::Direction::Value d)
{
return o << labels[d];
}
}
}
}
|