Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / include / ast_union_fwd.h
blob13d391677cdec8bba34d261c0a815dc90ae1cabb
1 // This may look like C, but it's really -*- C++ -*-
2 #ifndef _AST_UNION_FWD_AST_UNION_FWD_HH
3 #define _AST_UNION_FWD_AST_UNION_FWD_HH
5 #include "ast_structure_fwd.h"
7 class AST_Union;
9 // Representation of a forward union declaration.
11 class TAO_IDL_FE_Export AST_UnionFwd : public virtual AST_StructureFwd
13 public:
14 AST_UnionFwd (AST_Union *dummy,
15 UTL_ScopedName *n);
17 virtual ~AST_UnionFwd (void);
19 // Cleanup function.
20 virtual void destroy (void);
22 // Narrowing.
24 DEF_NARROW_FROM_DECL(AST_UnionFwd);
26 // AST Dumping.
27 virtual void dump (ACE_OSTREAM_TYPE &);
29 // Visiting.
30 virtual int ast_accept (ast_visitor *visitor);
32 static AST_Decl::NodeType const NT;
35 #endif // _AST_UNION_FWD_AST_UNION_FWD_HH