summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-07-02 10:09:22 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-07-02 10:09:22 +0000
commit7b739d1b5ad3ce53c8e655b4fa9f326768b9a6a1 (patch)
tree7d5b259aa2b29ccc64f7c6d0299934f0d283f24d /TAO/TAO_IDL
parent8599dd43dd4a7e53b4df148951f5b1180356a583 (diff)
downloadATCD-7b739d1b5ad3ce53c8e655b4fa9f326768b9a6a1.tar.gz
ChangeLogTag: Mon Jul 2 10:05:28 UTC 2007 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r--TAO/TAO_IDL/be/be_array.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp8
-rw-r--r--TAO/TAO_IDL/be/be_predefined_type.cpp5
3 files changed, 14 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_array.cpp b/TAO/TAO_IDL/be/be_array.cpp
index f685170e962..b9c8e851be1 100644
--- a/TAO/TAO_IDL/be/be_array.cpp
+++ b/TAO/TAO_IDL/be/be_array.cpp
@@ -300,7 +300,7 @@ be_array::gen_ostream_operator (TAO_OutStream *os)
*os << "strm << ";
- ACE_CString instance_name ("_tao_array");
+ ACE_CString instance_name ("_tao_array.in ()");
for (i = 0; i < ndims; ++i)
{
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index 0db31e5d4e0..6a60c43a78f 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -1333,6 +1333,14 @@ be_interface::gen_ostream_operator (TAO_OutStream *os)
}
void
+be_interface::gen_member_ostream_operator (TAO_OutStream *os,
+ const char *instance_name,
+ bool accessor)
+{
+ *os << instance_name << (accessor ? " ()" : ".in ()");
+}
+
+void
be_interface::analyze_parentage (void)
{
if (this->has_mixed_parentage_ != -1)
diff --git a/TAO/TAO_IDL/be/be_predefined_type.cpp b/TAO/TAO_IDL/be/be_predefined_type.cpp
index 3d669e6b5ef..61ee6595e1f 100644
--- a/TAO/TAO_IDL/be/be_predefined_type.cpp
+++ b/TAO/TAO_IDL/be/be_predefined_type.cpp
@@ -128,6 +128,11 @@ be_predefined_type::gen_member_ostream_operator (TAO_OutStream *os,
*os << "ACE_OutputCDR::from_wchar (" << instance_name
<< (accessor ? " ()" : "") << ")";
break;
+ case AST_PredefinedType::PT_object:
+ case AST_PredefinedType::PT_abstract:
+ case AST_PredefinedType::PT_pseudo:
+ *os << instance_name << (accessor ? " ()" : ".in ()");
+ break;
default:
this->be_type::gen_member_ostream_operator (os,
instance_name,