summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/be_include/be_visitor_component/component_scope.h
blob: e7c49fa9fe0f50e8f40bd03a64213d15c7b0dd7f (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
52
//
// $Id$
//
/* -*- c++ -*- */
// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    component_scope.h
//
// = DESCRIPTION
//    Base class for visitors that need to visit the scope of a 
//    component and its ancestors, if any.
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

#ifndef _BE_COMPONENT_COMPONENT_SCOPE_H_
#define _BE_COMPONENT_COMPONENT_SCOPE_H_

class be_visitor_component_scope : public be_visitor_scope
{
  //
  // = TITLE
  //   be_visitor_component_scope
  //
  // = DESCRIPTION
  //   This is an abstract visitor providing a scope visitation
  //   method that traverses the base component recursively.
  //
protected:
  be_visitor_component_scope (be_visitor_context *ctx);
  
  virtual ~be_visitor_component_scope (void);
  
public:
  int visit_component_scope (be_component *node);
  
protected:
  be_component *node_;
  TAO_OutStream &os_;
  ACE_CString export_macro_;
  bool swapping_;
  bool static_config_;
};

#endif /* _BE_COMPONENT_COMPONENT_SCOPE_H_ */