Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / TAO_IDL / be / be_structure_fwd.cpp
blobfb789735705411b76cff4358fd36b60e8f045998
2 //=============================================================================
3 /**
4 * @file be_structure_fwd.cpp
6 * Extension of class AST_StructureFwd that provides additional means for C++
7 * mapping of a struct.
9 * @author Jeff Parsons
11 //=============================================================================
13 #include "be_structure_fwd.h"
14 #include "be_visitor.h"
16 be_structure_fwd::be_structure_fwd (AST_Structure *dummy,
17 UTL_ScopedName *n)
18 : COMMON_Base (),
19 AST_Decl (AST_Decl::NT_struct_fwd,
20 n),
21 AST_Type (AST_Decl::NT_struct_fwd,
22 n),
23 AST_StructureFwd (dummy,
24 n),
25 be_decl (AST_Decl::NT_struct_fwd,
26 n),
27 be_type (AST_Decl::NT_struct_fwd,
32 be_structure_fwd::~be_structure_fwd ()
36 void
37 be_structure_fwd::destroy ()
39 this->be_type::destroy ();
40 this->AST_StructureFwd::destroy ();
43 int
44 be_structure_fwd::accept (be_visitor *visitor)
46 return visitor->visit_structure_fwd (this);