summaryrefslogtreecommitdiff
path: root/orbsvcs/IFR_Service/ifr_removing_visitor.h
blob: fafd298476fda6d8f27e85e5fc163453e0e66bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    ifr_removing_visitor.h
 *
 *  $Id$
 *
 *  Header file for class ifr_removing_visitor.
 *
 *
 *  @author Jeff Parsons <parsons@cs.wustl.edu>
 */
//=============================================================================


#ifndef TAO_IFR_REMOVING_VISITOR_H
#define TAO_IFR_REMOVING_VISITOR_H

#include "ifr_visitor.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

/**
 * @class ifr_removing_visitor
 *
 * @brief ifr_removing_visitor.
 *
 * This visitor removes items found in the IDL file being processed
 * from the Interface Repository.
 */
class ifr_removing_visitor : public ifr_visitor
{
public:
  /// Constructor.
  ifr_removing_visitor (void);

  /// Destructor.
  virtual ~ifr_removing_visitor (void);

  /// Visit the scope.
  virtual int visit_scope (UTL_Scope *node);

  /// Visit the root.
  virtual int visit_root (AST_Root *node);
};

#endif /* TAO_IFR_REMOVING_VISITOR_H */