summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/be_include/be_porttype.h
blob: 0e7abef9f75943814bde07f98027f08f7a6cdf10 (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
//
// $Id$
//

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

#ifndef BE_PORTTYPE_H
#define BE_PORTTYPE_H

#include "ast_porttype.h"

#include "be_scope.h"
#include "be_type.h"

class be_visitor;

class be_porttype : public virtual AST_PortType,
                    public virtual be_scope,
                    public virtual be_type
{
  //
  // = TITLE
  //   be_porttype
  //
  // = DESCRIPTION
  //   Extension of class AST_PortType for C++ code generation.
  //
public:
  be_porttype (
    UTL_ScopedName *n,
    FE_Utils::T_PARAMLIST_INFO *template_params);
    
  virtual ~be_porttype (void);
  
  virtual void destroy (void);
  
  virtual int accept (be_visitor *visitor);

  DEF_NARROW_FROM_DECL (be_porttype);
  DEF_NARROW_FROM_SCOPE (be_porttype);
};

#endif // BE_PORTTYPE_H