summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_extended_port.h
blob: a2bdf9045ac3ae2e020da201ae31b1229f262914 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// $Id$
//

/* -*- c++ -*- */
// ============================================================================
//
// = LIBRARY
//    TAO_IDL_BE
//
// = FILENAME
//    be_extended_port.h
//
// = DESCRIPTION
//    Extension of class AST_Extended_Port for C++ code generation.
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

#ifndef BE_EXTENDED_PORT_H
#define BE_EXTENDED_PORT_H

#include "ast_extended_port.h"

#include "be_field.h"
#include "be_porttype.h"

class be_visitor;

class be_extended_port : public virtual AST_Extended_Port,
                         public virtual be_field
{
  //
  // = TITLE
  //   be_extended_port
  //
  // = DESCRIPTION
  //   Extension of class AST_Extended_Port for C++ code generation.
  //
public:
  be_extended_port (
    UTL_ScopedName *n,
    AST_PortType *porttype_ref,
    AST_PortType::T_ARGLIST *template_args);
    
  virtual ~be_extended_port (void);
  
  be_porttype *port_type (void) const;
  
  virtual void destroy (void);
  
  virtual int accept (be_visitor *visitor);

  DEF_NARROW_FROM_DECL (be_extended_port);
};

#endif // BE_EXTENDED_PORT_H