Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_provides.h
blob0f73ab085772dafc10ec7d9d9c46aa281afeac65
1 // -*- C++ -*-
2 #ifndef BE_PROVIDES_H
3 #define BE_PROVIDES_H
5 #include "ast_provides.h"
7 #include "be_field.h"
8 #include "be_interface.h"
10 class be_interface;
11 class be_visitor;
13 class be_provides : public virtual AST_Provides,
14 public virtual be_field
16 public:
17 be_provides (UTL_ScopedName *n,
18 AST_Type *provides_type);
20 virtual ~be_provides ();
22 // Non-virtual override of frontend method.
23 be_type *provides_type () const;
25 // Visiting.
26 virtual int accept (be_visitor *visitor);
28 // Cleanup.
29 virtual void destroy ();
32 #endif // BE_PROVIDES_H