summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_root.h
blob: 44a6ac9118c78b83a14cb53ed6a07e37f521bcd4 (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_root.h
 *
 *  Extension of class AST_Root that provides the backend
 *
 *  @author Copyright 1994-1995 by Sun Microsystems
 *  @author Inc. and Aniruddha Gokhale
 */
//=============================================================================

#ifndef TAO_BE_ROOT_H
#define TAO_BE_ROOT_H

#include "be_module.h"
#include "ast_root.h"

class be_visitor;

/**
 * The back end extension of the AST_Root class
 */
class be_root : public virtual AST_Root,
                public virtual be_module
{
public:
  be_root (UTL_ScopedName *n);

  virtual ~be_root ();

  /// Cleanup method.
  virtual void destroy ();

  // Visiting.
  virtual int accept (be_visitor *visitor);
};

#endif