diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-07-04 09:28:53 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-07-04 09:28:53 +0000 |
commit | 3e1c4cada7ea69a0444ea5a01c561f1601fc66d6 (patch) | |
tree | 00413a9561bac06fe513fbf55ab1991d20347f34 /TAO/TAO_IDL/be | |
parent | a7f5e3b7834a39340ec69b69803bbcba48a1da8d (diff) | |
download | ATCD-3e1c4cada7ea69a0444ea5a01c561f1601fc66d6.tar.gz |
ChangeLogTag: Mon Jul 4 09:23:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/TAO_IDL/be')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp index 7bb033fb1df..82a30b05474 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp @@ -16,8 +16,8 @@ // // ============================================================================ -ACE_RCSID (be_visitor_interface, - interface_ih, +ACE_RCSID (be_visitor_interface, + interface_ih, "$Id$") // ************************************************************ @@ -45,8 +45,8 @@ be_visitor_interface_ih::visit_interface (be_interface *node) static char namebuf [NAMEBUFSIZE]; - ACE_OS::memset (namebuf, - '\0', + ACE_OS::memset (namebuf, + '\0', NAMEBUFSIZE); // Generate the skeleton class name. @@ -67,7 +67,7 @@ be_visitor_interface_ih::visit_interface (be_interface *node) // Inherit from the base skeleton name, unless the interface // is local. *os <<"public virtual "; - + if (node->is_local ()) { *os << node->full_name (); @@ -78,15 +78,11 @@ be_visitor_interface_ih::visit_interface (be_interface *node) } *os << ", public virtual "; - + if (node->is_local ()) { *os << "TAO_Local_RefCounted_Object"; } - else - { - *os << "PortableServer::RefCountServantBase"; - } *os << be_nl << "{" << be_nl @@ -131,9 +127,9 @@ be_visitor_interface_ih::visit_interface (be_interface *node) // Generate the code for the members of the derived classes. - int status = + int status = node->traverse_inheritance_graph ( - be_visitor_interface_ih::method_helper, + be_visitor_interface_ih::method_helper, os ); @@ -173,7 +169,7 @@ be_visitor_interface_ih::method_helper (be_interface *derived, { ACE_ERROR_RETURN ((LM_ERROR, "be_visitor_interface_is::" - "method_helper\n"), + "method_helper\n"), -1); } } |