Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / TAO_IDL / be / be_root.cpp
blob430ac4d1f3765674a7d80d94abcffc2002b2a4ea
2 //=============================================================================
3 /**
4 * @file be_root.cpp
6 * Extension of class AST_Root that provides additional means for C++
7 * mapping.
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Aniruddha Gokhale
12 //=============================================================================
14 #include "be_root.h"
15 #include "be_visitor.h"
16 #include "ast_sequence.h"
17 #include "ast_string.h"
18 #include "ast_array.h"
20 be_root::be_root (UTL_ScopedName *n)
21 : COMMON_Base (),
22 AST_Decl (AST_Decl::NT_root,
23 n),
24 UTL_Scope (AST_Decl::NT_root),
25 AST_Module (n),
26 AST_Root (n),
27 be_scope (AST_Decl::NT_root),
28 be_decl (AST_Decl::NT_root,
29 n),
30 be_module (n)
34 be_root::~be_root ()
38 void
39 be_root::destroy ()
41 // Call the destroy methods of our base classes.
43 // The scope of the root is handled specially, since we may
44 // be processing multiple IDL files and we want to keep
45 // the predefined types around until we are all done.
46 // be_scope::destroy ();
47 // be_decl::destroy ();
49 AST_Root::destroy ();
52 int
53 be_root::accept (be_visitor *visitor)
55 return visitor->visit_root (this);