Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_consumes.h
blob9060876b5c3022b4c6c8087671a9cee53f21df3f
1 // -*- C++ -*-
2 #ifndef AST_CONSUMES_H
3 #define AST_CONSUMES_H
5 #include "ast_field.h"
7 class AST_EventType;
9 class TAO_IDL_FE_Export AST_Consumes : public virtual AST_Field
11 public:
12 AST_Consumes (UTL_ScopedName *n,
13 AST_Type *consumes_type);
15 virtual ~AST_Consumes ();
17 // Data Accessor.
18 AST_Type *consumes_type () const;
20 // AST Dumping.
21 virtual void dump (ACE_OSTREAM_TYPE &o);
23 // Visiting.
24 virtual int ast_accept (ast_visitor *visitor);
26 // Cleanup.
27 virtual void destroy ();
29 static AST_Decl::NodeType const NT;
32 #endif // AST_CONSUMES_H