summaryrefslogtreecommitdiff
path: root/modules/TAO/TAO_IDL/be/be_tmpl_port.cpp
blob: d5cfdb3dba4d88ec14c412d36a8e5a37ca1ef68a (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_tmpl_port.h"
#include "be_visitor.h"

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

be_tmpl_port::be_tmpl_port (
      UTL_ScopedName *n,
      AST_PortType *porttype_ref)
  : COMMON_Base (false,
                 false),
    AST_Decl (AST_Decl::NT_field,
              n),
    AST_Field (AST_Decl::NT_field,
               porttype_ref,
               n),
    AST_Tmpl_Port (n,
                   porttype_ref),
    be_field (porttype_ref,
              n)
{
}

be_tmpl_port::~be_tmpl_port (void)
{
}

void
be_tmpl_port::destroy (void)
{
  this->AST_Tmpl_Port::destroy ();
  this->be_field::destroy ();
}


int
be_tmpl_port::accept (be_visitor *visitor)
{
  return visitor->visit_tmpl_port (this);
}

IMPL_NARROW_FROM_DECL (be_tmpl_port)