blob: 57d56d86d86c8a79ea103eee0916d9690595d153 (
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
46
47
48
49
50
51
52
53
54
|
//=============================================================================
/**
* @file facet_svth.cpp
*
* $Id$
*
* Visitor generating code for a facet servant class in the
* servant header.
*
*
* @author Jeff Parsons
*/
//=============================================================================
be_visitor_facet_svth::be_visitor_facet_svth (be_visitor_context *ctx)
: be_visitor_component_scope (ctx)
{
}
be_visitor_facet_svth::~be_visitor_facet_svth (void)
{
}
int
be_visitor_facet_svth::visit_provides (be_provides *node)
{
if (node->imported ())
{
return 0;
}
if (node->gen_facet_svnt_tmpl_decl (os_) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("be_visitor_facet_svth")
ACE_TEXT ("::visit_provides - ")
ACE_TEXT ("gen_facet_svnt_decl() ")
ACE_TEXT ("failed\n")),
-1);
}
return 0;
}
int
be_visitor_facet_svth::visit_component (be_component *node)
{
return this->visit_component_scope (node);
}
int
be_visitor_facet_svth::visit_connector (be_connector *node)
{
return this->visit_component (node);
}
|