summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp
diff options
context:
space:
mode:
authoredwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-18 15:22:54 +0000
committeredwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-18 15:22:54 +0000
commit72ffc97d83f6ace315334c92997a191c9cb432b8 (patch)
tree3985bc77f1e35e08563a6f915dd1562f154325de /TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp
parent5a80b73e583418df8f6e5fbda343a56b0a8ac5ff (diff)
downloadATCD-72ffc97d83f6ace315334c92997a191c9cb432b8.tar.gz
ChangeLogTag: Fri Jul 18 10:18:41 2003 George Edwards <g.edwards@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp
index 606bfa1a1a8..1eeb291fd75 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ch.cpp
@@ -427,10 +427,10 @@ be_visitor_valuetype_ch::visit_operation (be_operation *node)
this->ctx_->node (node); // save the node
*os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__ << be_nl << be_nl;
+ << "// " << __FILE__ << ":" << __LINE__ << be_nl;
- // Every operation is declared virtual in the client code.
- *os << "virtual ";
+ // Every operation is declared public and virtual in the client code.
+ *os << be_uidt_nl << "public:" << be_idt_nl << "virtual ";
// STEP I: Generate the return type.
be_type *bt = be_type::narrow_from_decl (node->return_type ());
@@ -533,13 +533,6 @@ be_visitor_valuetype_ch::gen_supported_ops (be_interface *,
be_interface *base,
TAO_OutStream *os)
{
- // We inherit from abstract supported interfaces, so no need
- // to declare their pure virtual operations again in our scope.
- /*if (base->is_abstract ())
- {
- return 0;
- }
- */
AST_Decl *d = 0;
be_visitor_context ctx;