Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / ast / ast_publishes.cpp
blob07a31eb4d41795071283ddc9abfeae038553036b
1 #include "ast_publishes.h"
2 #include "ast_visitor.h"
4 AST_Decl::NodeType const
5 AST_Publishes::NT = AST_Decl::NT_publishes;
7 AST_Publishes::AST_Publishes (UTL_ScopedName *n,
8 AST_Type *publishes_type)
9 : COMMON_Base (),
10 AST_Decl (AST_Decl::NT_publishes,
11 n),
12 AST_Field (AST_Decl::NT_publishes,
13 publishes_type,
18 AST_Publishes::~AST_Publishes (void)
22 AST_Type *
23 AST_Publishes::publishes_type (void) const
25 return this->field_type ();
28 void
29 AST_Publishes::dump (ACE_OSTREAM_TYPE &o)
31 this->dump_i (o, "publishes ");
32 this->AST_Field::dump (o);
35 int
36 AST_Publishes::ast_accept (ast_visitor *visitor)
38 return visitor->visit_publishes (this);
41 void
42 AST_Publishes::destroy (void)
44 this->AST_Field::destroy ();
47 IMPL_NARROW_FROM_DECL(AST_Publishes)