diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h | 60 |
1 files changed, 37 insertions, 23 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h b/TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h index b4c79bf8076..af922537a57 100644 --- a/TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h +++ b/TAO/TAO_IDL/be_include/be_visitor_home/home_svh.h @@ -1,31 +1,37 @@ +// +// $Id$ +// /* -*- c++ -*- */ -//============================================================================= -/** - * @file home_svh.h - * - * $Id$ - * - * Concrete visitor for the Home node. - * This provides for code generation in the servant header - * - * - * @author Jeff Parsons - */ -//============================================================================= - +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// home_svh.h +// +// = DESCRIPTION +// Concrete visitor for the Home node. +// This provides for code generation in the servant header +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ #ifndef _BE_HOME_HOME_SVH_H_ #define _BE_HOME_HOME_SVH_H_ -/** - * @class be_visitor_home_svh - * - * @brief be_visitor_home_svh - * - * This is a concrete visitor to generate the servant header for component. - */ class be_visitor_home_svh : public be_visitor_scope { + // + // = TITLE + // be_visitor_home_svh + // + // = DESCRIPTION + // This is a concrete visitor to generate the servant header for component. + // + // public: be_visitor_home_svh (be_visitor_context *ctx); @@ -34,12 +40,20 @@ public: virtual int visit_home (be_home *node); virtual int visit_operation (be_operation *node); virtual int visit_attribute (be_attribute *node); - virtual int visit_factory (be_factory *node); - virtual int visit_finder (be_finder *node); private: int gen_servant_class (void); + int gen_ops_attrs (void); + + int gen_factories (void); + int gen_factories_r (AST_Home *node); + + int gen_finders (void); + int gen_finders_r (AST_Home *node); + + int gen_init_ops_i (AST_Home::INIT_LIST & list); + void gen_entrypoint (void); /// Helper method passed to traverse_inheritance_graph(), |