summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-02-19 17:44:27 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-02-19 17:44:27 +0000
commit4afd1b7dee45a133341fa832e5dc54e91b7ee0a2 (patch)
tree82b8fb5a6c36eabf3af7019630a5f5c5fa609d30 /TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
parent8ec598fc1fca358a539f6c06d34076938238a3ff (diff)
downloadATCD-4afd1b7dee45a133341fa832e5dc54e91b7ee0a2.tar.gz
ChangeLogTag: Thu Feb 19 11:42:05 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp26
1 files changed, 15 insertions, 11 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
index 9fdb1d0acc4..827ac359281 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/amh_ss.cpp
@@ -202,7 +202,8 @@ be_visitor_amh_operation_ss::visit_attribute (be_attribute *node)
return -1;
}
- *os << "ACE_ENV_ARG_PARAMETER";
+ *os << be_nl
+ << "ACE_ENV_ARG_PARAMETER";
if (this->generate_shared_epilogue (os) == -1)
{
@@ -223,19 +224,19 @@ be_visitor_amh_operation_ss::visit_attribute (be_attribute *node)
node->field_type (),
node->name ());
- be_visitor_context ctx (*this->ctx_);
- be_visitor_args_vardecl_ss visitor (&ctx);
+ be_visitor_context ctx (*this->ctx_);
+ be_visitor_args_vardecl_ss visitor (&ctx);
- if (visitor.visit_argument (&the_argument) == -1)
- {
- return -1;
- }
+ if (visitor.visit_argument (&the_argument) == -1)
+ {
+ return -1;
+ }
*os << be_nl
<< "TAO_InputCDR &_tao_in ="
<< " _tao_server_request.incoming ();"
<< be_nl << be_nl
- << "if (!(" << be_idt_nl;
+ << "if (!(" << be_idt << be_idt;
{
be_visitor_context ctx (*this->ctx_);
@@ -249,7 +250,8 @@ be_visitor_amh_operation_ss::visit_attribute (be_attribute *node)
}
}
- *os << be_uidt_nl << "))" << be_idt_nl;
+ *os << be_uidt_nl << "))" << be_nl
+ << "{" << be_idt_nl;
// If marshaling fails, raise exception.
if (this->gen_raise_exception (0,
@@ -261,14 +263,16 @@ be_visitor_amh_operation_ss::visit_attribute (be_attribute *node)
-1);
}
- *os << be_uidt_nl;
+ *os << be_uidt_nl
+ << "}" << be_uidt_nl;
if (this->generate_shared_section (node, os) == -1)
{
return -1;
}
- *os << ", " << node->local_name ()
+ *os << "," << be_nl
+ << node->local_name ()
<< be_nl << "ACE_ENV_ARG_PARAMETER";
if (this->generate_shared_epilogue (os) == -1)