Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_factory.h
blob5b9c3b4ac58827c929394a3599590acd81854521
2 //=============================================================================
3 /**
4 * @file be_factory.h
6 * Extension of class AST_Factory that provides additional means for C++
7 * mapping.
9 * @author Copyright 1994-1995 by Sun Microsystems
10 * @author Inc. and Boris Kolpackov <bosk@ipmce.ru>
12 //=============================================================================
14 #ifndef BE_FACTORY_H
15 #define BE_FACTORY_H
17 #include "be_scope.h"
18 #include "be_decl.h"
19 #include "ast_factory.h"
21 class AST_Type;
22 class UTL_StrList;
23 class be_visitor;
24 class be_argument;
26 class be_factory : public virtual AST_Factory,
27 public virtual be_scope,
28 public virtual be_decl
30 public:
31 be_factory (UTL_ScopedName *n);
33 ~be_factory ();
35 /// Cleanup method.
36 virtual void destroy ();
38 // Visiting.
39 virtual int accept (be_visitor *visitor);
41 // Add an argument to the scope.
42 virtual AST_Argument *be_add_argument (AST_Argument *arg);
45 #endif // BE_FACTORY_H