summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_emits.h
blob: 20c8b276b9ccdac2fcda3d67466c854451861878 (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
32
33
34
35
36
// -*- C++ -*-
#ifndef AST_EMITS_H
#define AST_EMITS_H

#include "ast_field.h"

class AST_EventType;

class TAO_IDL_FE_Export AST_Emits : public virtual AST_Field
{
public:
  AST_Emits (UTL_ScopedName *n,
             AST_Type *emits_type);

  virtual ~AST_Emits (void);

  // Data Accessor.
  AST_Type *emits_type (void) const;

  // Narrowing.
  DEF_NARROW_FROM_DECL(AST_Emits);

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

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

  // Cleanup.
  virtual void destroy (void);

  static AST_Decl::NodeType const NT;
};

#endif // AST_EMITS_H