Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_provides.h
blob3d5b3f5c52b8bfdfe6007074dad16000546932ca
1 // -*- C++ -*-
2 #ifndef AST_PROVIDES_H
3 #define AST_PROVIDES_H
5 #include "ast_field.h"
7 class TAO_IDL_FE_Export AST_Provides : public virtual AST_Field
9 public:
10 AST_Provides (UTL_ScopedName *n,
11 AST_Type *provides_type);
13 virtual ~AST_Provides ();
15 // Data Accessor.
16 AST_Type *provides_type () const;
18 // AST Dumping.
19 virtual void dump (ACE_OSTREAM_TYPE &o);
21 // Visiting.
22 virtual int ast_accept (ast_visitor *visitor);
24 // Cleanup.
25 virtual void destroy ();
27 static AST_Decl::NodeType const NT;
30 #endif // AST_PROVIDES_H