diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp deleted file mode 100644 index ed4af10067f..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root/root_sh.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// root_sh.cpp -// -// = DESCRIPTION -// Visitor generating code for Root in the server header -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_visitor_root.h" - -ACE_RCSID(be_visitor_root, root_sh, "$Id$") - - -// *********************************** -// Root visitor for server header -// *********************************** - -be_visitor_root_sh::be_visitor_root_sh (be_visitor_context *ctx) - : be_visitor_root (ctx) -{ -} - -be_visitor_root_sh::~be_visitor_root_sh (void) -{ -} - -int -be_visitor_root_sh::init (void) -{ - // open the file - if (tao_cg->start_server_header (idl_global->be_get_server_hdr_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_sh::init - " - "Error :%p: Unable to open server header file : %s\n", - "start_server_header", - idl_global->be_get_server_hdr_fname ()), - -1); - } - - if (tao_cg->start_server_template_header (idl_global->be_get_server_template_hdr_fname ()) - == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_sh::init - " - "Error:Unable to openin server template header file : %s\n", - idl_global->be_get_server_template_hdr_fname ()), - -1); - } - - // set the stream and the next state - this->ctx_->stream (tao_cg->server_header ()); - return 0; -} |