summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/be/be_porttype.cpp
blob: cf333dfb668db1ec183bfa01f6135c7ba797b7fa (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
// $Id$

#include "be_porttype.h"
#include "be_visitor.h"

ACE_RCSID (be,
           be_porttype,
           "$Id$")

be_porttype::be_porttype (
      UTL_ScopedName *n,
      FE_Utils::T_PARAMLIST_INFO *template_params)
  : COMMON_Base (false,
                 false),
    AST_Decl (AST_Decl::NT_porttype,
              n),
    UTL_Scope (AST_Decl::NT_porttype),
    AST_Template_Common (template_params),
    AST_PortType (n,
                  template_params),
    be_scope (AST_Decl::NT_porttype),
    be_decl (AST_Decl::NT_porttype,
             n),
    be_type (AST_Decl::NT_porttype,
             n)
{
}

be_porttype::~be_porttype (void)
{
}

void
be_porttype::destroy (void)
{
  this->AST_PortType::destroy ();
}

int
be_porttype::accept (be_visitor *visitor)
{
  return visitor->visit_porttype (this);
}

IMPL_NARROW_FROM_DECL (be_porttype)
IMPL_NARROW_FROM_SCOPE (be_porttype)