Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_consumes.h
blob24407232a0efe15752ff72995cfbcc66e5156b5d
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 (void);
17 // Data Accessor.
18 AST_Type *consumes_type (void) const;
20 // Narrowing.
21 DEF_NARROW_FROM_DECL(AST_Consumes);
23 // AST Dumping.
24 virtual void dump (ACE_OSTREAM_TYPE &o);
26 // Visiting.
27 virtual int ast_accept (ast_visitor *visitor);
29 // Cleanup.
30 virtual void destroy (void);
32 static AST_Decl::NodeType const NT;
35 #endif // AST_CONSUMES_H