Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / TAO_IDL / be / be_finder.cpp
blob43416cfdf60c4c78fd2f16985f24b552d0263bdc
2 //=============================================================================
3 /**
4 * @file be_finder.cpp
6 * Extension of class AST_Finder that provides additional means for C++
7 * mapping.
9 * @author Jeff Parsons
11 //=============================================================================
14 #include "be_finder.h"
15 #include "be_visitor.h"
17 be_finder::be_finder (UTL_ScopedName *n)
18 : COMMON_Base (true,
19 false), //@@ Always local, never abstract
20 AST_Decl (AST_Decl::NT_finder,
21 n),
22 UTL_Scope (AST_Decl::NT_finder),
23 AST_Factory (n),
24 AST_Finder (n),
25 be_scope (AST_Decl::NT_finder),
26 be_decl (AST_Decl::NT_finder,
27 n),
28 be_factory (n)
32 be_finder::~be_finder ()
36 void
37 be_finder::destroy ()
39 // Call the destroy methods of our base classes.
40 this->be_factory::destroy ();
41 this->AST_Finder::destroy ();
44 int
45 be_finder::accept (be_visitor *visitor)
47 return visitor->visit_finder (this);