summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/include/ast_tmpl_port.h
blob: c899318462c9f545abed112731f530fa477634f5 (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
#ifndef AST_TMPL_PORT_H
#define AST_TMPL_PORT_H

#include "ast_field.h"
#include "ast_porttype.h"

class TAO_IDL_FE_Export AST_Tmpl_Port
  : public virtual AST_Field
{
public:
  AST_Tmpl_Port (
    UTL_ScopedName *n,
    AST_PortType *porttype_ref);

  virtual ~AST_Tmpl_Port (void);

  AST_PortType *port_type (void) const;

  // Cleanup function.
  virtual void destroy (void);

  // Narrowing.

  DEF_NARROW_FROM_DECL (AST_Tmpl_Port);

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

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

#endif /* AST_TMPL_PORT_H */