00001 // ifr_removing_visitor.h,v 1.5 2003/11/18 14:55:09 smcqueen Exp 00002 00003 /* -*- c++ -*- */ 00004 // ============================================================================ 00005 // 00006 // = LIBRARY 00007 // TAO_IFR_BE_DLL 00008 // 00009 // = FILENAME 00010 // ifr_removing_visitor.h 00011 // 00012 // = DESCRIPTION 00013 // Header file for class ifr_removing_visitor. 00014 // 00015 // = AUTHOR 00016 // Jeff Parsons <parsons@cs.wustl.edu> 00017 // 00018 // ============================================================================ 00019 00020 #ifndef TAO_IFR_REMOVING_VISITOR_H 00021 #define TAO_IFR_REMOVING_VISITOR_H 00022 00023 #include "ifr_visitor.h" 00024 00025 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00026 # pragma once 00027 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00028 00029 class ifr_removing_visitor : public ifr_visitor 00030 { 00031 // 00032 // = TITLE 00033 // ifr_removing_visitor. 00034 // 00035 // = DESCRIPTION 00036 // This visitor removes items found in the IDL file being processed 00037 // from the Interface Repository. 00038 // 00039 public: 00040 ifr_removing_visitor (void); 00041 // Constructor. 00042 00043 virtual ~ifr_removing_visitor (void); 00044 // Destructor. 00045 00046 virtual int visit_scope (UTL_Scope *node); 00047 // Visit the scope. 00048 00049 virtual int visit_root (AST_Root *node); 00050 // Visit the root. 00051 }; 00052 00053 #endif /* TAO_IFR_REMOVING_VISITOR_H */ 00054