Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be / be_provides.cpp
blob5d6fcbcf77591d641c26ee5ca40f79887b0b4e2e
1 #include "be_provides.h"
2 #include "be_interface.h"
3 #include "be_operation.h"
4 #include "be_attribute.h"
5 #include "be_visitor.h"
6 #include "be_helper.h"
7 #include "be_extern.h"
9 #include "be_visitor_operation.h"
10 #include "be_visitor_attribute.h"
11 #include "be_visitor_context.h"
13 #include "utl_identifier.h"
15 #include "nr_extern.h"
17 be_provides::be_provides (UTL_ScopedName *n,
18 AST_Type *provides_type)
19 : COMMON_Base (false,
20 false),
21 AST_Decl (AST_Decl::NT_provides,
22 n),
23 AST_Field (AST_Decl::NT_provides,
24 provides_type,
25 n),
26 AST_Provides (n,
27 provides_type),
28 be_decl (AST_Decl::NT_provides,
29 n),
30 be_field (provides_type,
35 be_provides::~be_provides (void)
39 be_type *
40 be_provides::provides_type (void) const
42 return
43 be_type::narrow_from_decl (
44 this->AST_Provides::provides_type ());
47 IMPL_NARROW_FROM_DECL (be_provides)
49 int
50 be_provides::accept (be_visitor *visitor)
52 return visitor->visit_provides (this);
55 void
56 be_provides::destroy (void)
58 this->AST_Provides::destroy ();
59 this->be_field::destroy ();