blob: 22e754befee3f23db5668abf0ef63f99340424e0 (
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];
}
}
}
}
|