blob: 726706a8ff1970294b7bf6d6395a614605265ca6 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
|
//
// $Id$
//
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// ami_exception_holder_cs.cpp
//
// = DESCRIPTION
// Visitor generating code for excpetion holders.
//
// = AUTHOR
// Michael Kircher
//
// ============================================================================
ACE_RCSID (be_visitor_valuetype,
ami_exception_holder_cs,
"$Id$")
// ************************************************************
// Interface visitor for client stubs
// ************************************************************
be_visitor_valuetype_ami_exception_holder_cs::
be_visitor_valuetype_ami_exception_holder_cs (be_visitor_context *ctx)
: be_visitor_valuetype (ctx)
{
}
be_visitor_valuetype_ami_exception_holder_cs::
~be_visitor_valuetype_ami_exception_holder_cs (void)
{
}
int
be_visitor_valuetype_ami_exception_holder_cs::visit_valuetype (
be_valuetype *node
)
{
ACE_UNUSED_ARG (node);
return 0;
}
int
be_visitor_valuetype_ami_exception_holder_cs::visit_operation (be_operation *node)
{
be_visitor_context ctx (*this->ctx_);
ctx.state (TAO_CodeGen::TAO_AMI_EXCEPTION_HOLDER_RAISE_OPERATION_CS);
be_visitor_operation_ami_exception_holder_operation_cs visitor (&ctx);
if (node->accept (&visitor) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_ami_exception_holder_ch::"
"visit_operation - "
"codegen for argument list failed\n"),
-1);
}
return 0;
}
|