Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_provides.h
blobcb47d6c2d073200201ef2be4e2b1a8601fcc3943
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 (void);
22 // Non-virtual override of frontend method.
23 be_type *provides_type (void) const;
25 // Narrowing.
26 DEF_NARROW_FROM_DECL(be_provides);
28 // Visiting.
29 virtual int accept (be_visitor *visitor);
31 // Cleanup.
32 virtual void destroy (void);
35 #endif // BE_PROVIDES_H