blob: 02e0e55ce4fb5610029b0460ed5d8b31079fd30e (
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
|
// file : CCF/CIDL/SemanticAction/Composition.cpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $Id$
#include "CCF/CIDL/SemanticAction/Composition.hpp"
#include <ostream>
namespace CCF
{
namespace CIDL
{
namespace SemanticAction
{
namespace
{
char* labels[] = {"entity", "process", "service", "session" };
}
std::ostream&
operator<< (std::ostream& o, Composition::Category::Value v)
{
return o << labels[v];
}
}
}
}
|