diff options
Diffstat (limited to 'trunk/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp')
-rw-r--r-- | trunk/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/trunk/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp b/trunk/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp new file mode 100644 index 00000000000..92eacef28aa --- /dev/null +++ b/trunk/TAO/TAO_IDL/be/be_visitor_module/module_ih.cpp @@ -0,0 +1,52 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// module_ih.cpp +// +// = DESCRIPTION +// Visitor generating code for Module in the implementation header +// +// = AUTHOR +// Yamuna Krishnamurthy (yamuna@cs.wustl.edu) +// +// ============================================================================ + +ACE_RCSID (be_visitor_module, + module_ih, + "$Id$") + +// ************************************************************ +// Module visitor for server header +// ************************************************************ + +be_visitor_module_ih::be_visitor_module_ih (be_visitor_context *ctx) + : be_visitor_module (ctx) +{ +} + +be_visitor_module_ih::~be_visitor_module_ih (void) +{ +} + +int +be_visitor_module_ih::visit_module (be_module *node) +{ + if (!node->impl_hdr_gen () && !node->imported ()) + { + if (this->visit_scope (node) == -1) + { + ACE_ERROR_RETURN ((LM_ERROR, + "(%N:%l) be_visitor_module_ih::" + "visit_module - " + "codegen for scope failed\n"), + -1); + } + } + + return 0; +} |