diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_home/home_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_home/home_cs.cpp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_home/home_cs.cpp b/TAO/TAO_IDL/be/be_visitor_home/home_cs.cpp deleted file mode 100644 index e497508d8f4..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_home/home_cs.cpp +++ /dev/null @@ -1,55 +0,0 @@ - -//============================================================================= -/** - * @file home_cs.cpp - * - * $Id$ - * - * Visitor generating code for Component Home node in the client source. - * - * - * @author Jeff Parsons - */ -//============================================================================= - - -be_visitor_home_cs::be_visitor_home_cs ( - be_visitor_context *ctx - ) - : be_visitor_decl (ctx) -{ -} - -be_visitor_home_cs::~be_visitor_home_cs (void) -{ -} - -int -be_visitor_home_cs::visit_home (be_home *node) -{ - if (node->cli_stub_gen () || node->imported ()) - { - return 0; - } - - if (be_global->tc_support ()) - { - be_visitor_context ctx (*this->ctx_); - ctx.node (node); - TAO::be_visitor_objref_typecode tc_visitor (&ctx); - - // No double dispatch here so the objref_typecode visitor - // can dynamic_cast the node to tell it's a home. - if (tc_visitor.visit_interface (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_home_cs::" - "visit_home - " - "TypeCode definition failed\n"), - -1); - } - } - - node->cli_stub_gen (true); - return 0; -} |