Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_publishes.h
blobea3a41bff471bfe614a91d8c0450dd66ea184f8c
1 // -*- C++ -*-
2 #ifndef BE_PUBLISHES_H
3 #define BE_PUBLISHES_H
5 #include "ast_publishes.h"
7 #include "be_field.h"
9 class be_eventtype;
10 class be_visitor;
12 class be_publishes : public virtual AST_Publishes,
13 public virtual be_field
15 public:
16 be_publishes (UTL_ScopedName *n,
17 AST_Type *publishes_type);
19 virtual ~be_publishes (void);
21 // Non-virtual override of frontend method.
22 be_eventtype *publishes_type (void) const;
24 // Narrowing.
25 DEF_NARROW_FROM_DECL(be_publishes);
27 // Visiting.
28 virtual int accept (be_visitor *visitor);
30 // Cleanup.
31 virtual void destroy (void);
34 #endif // BE_PUBLISHES_H