summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/include/ast_extended_port.h
blob: 8d239f7be4b99dd2d3f45ba62b4b15cea73e7772 (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
37
38
39
40
41
42
43
44
// -*- C++ -*-
// $Id$

#ifndef AST_EXTENDED_PORT_H
#define AST_EXTENDED_PORT_H

#include "ast_field.h"

class AST_PortType;
class UTL_NameList;

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

  virtual ~AST_Extended_Port (void);

  AST_PortType *port_type (void) const;
  UTL_NameList *template_args (void) const;

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

  // Narrowing.

  DEF_NARROW_FROM_DECL (AST_Extended_Port);

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

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

protected:
  UTL_NameList *template_args_;
};

#endif /* AST_EXTENDED_PORT_H */