Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be / be_mirror_port.cpp
blob8ee81e31128c788e905954e6751e72e821be698b
1 #include "be_mirror_port.h"
2 #include "be_visitor.h"
4 #include "ast_porttype.h"
6 be_mirror_port::be_mirror_port (
7 UTL_ScopedName *n,
8 AST_PortType *porttype_ref)
9 : COMMON_Base (false,
10 false),
11 AST_Decl (AST_Decl::NT_mirror_port,
12 n),
13 AST_Field (AST_Decl::NT_mirror_port,
14 porttype_ref,
15 n),
16 AST_Extended_Port (n,
17 porttype_ref),
18 AST_Mirror_Port (n,
19 porttype_ref),
20 be_decl (AST_Decl::NT_interface,
21 n),
22 be_field (porttype_ref,
23 n),
24 be_extended_port (n,
25 porttype_ref)
29 be_mirror_port::~be_mirror_port (void)
33 void
34 be_mirror_port::destroy (void)
36 this->AST_Mirror_Port::destroy ();
37 this->be_extended_port::destroy ();
41 int
42 be_mirror_port::accept (be_visitor *visitor)
44 return visitor->visit_mirror_port (this);
47 IMPL_NARROW_FROM_DECL (be_mirror_port)