summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_provides.h
blob: 3d5b3f5c52b8bfdfe6007074dad16000546932ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// -*- C++ -*-
#ifndef AST_PROVIDES_H
#define AST_PROVIDES_H

#include "ast_field.h"

class TAO_IDL_FE_Export AST_Provides : public virtual AST_Field
{
public:
  AST_Provides (UTL_ScopedName *n,
                AST_Type *provides_type);

  virtual ~AST_Provides ();

  // Data Accessor.
  AST_Type *provides_type () const;

  // AST Dumping.
  virtual void dump (ACE_OSTREAM_TYPE &o);

  // Visiting.
  virtual int ast_accept (ast_visitor *visitor);

  // Cleanup.
  virtual void destroy ();

  static AST_Decl::NodeType const NT;
};

#endif // AST_PROVIDES_H