Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_root.h
blobd3ad85aaf575c7b968b8fee2fc082addd22cda47
1 /* -*- c++ -*- */
3 //=============================================================================
4 /**
5 * @file be_root.h
7 * Extension of class AST_Root that provides the backend
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
14 #ifndef TAO_BE_ROOT_H
15 #define TAO_BE_ROOT_H
17 #include "be_module.h"
18 #include "ast_root.h"
20 class be_visitor;
22 /**
23 * The back end extension of the AST_Root class
25 class be_root : public virtual AST_Root,
26 public virtual be_module
28 public:
29 be_root (UTL_ScopedName *n);
31 virtual ~be_root (void);
33 /// Cleanup method.
34 virtual void destroy (void);
36 // Visiting.
37 virtual int accept (be_visitor *visitor);
39 // Narrowing.
40 DEF_NARROW_FROM_DECL (be_root);
41 DEF_NARROW_FROM_SCOPE (be_root);
44 #endif