Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / TAO_IDL / be_include / be_interface_fwd.h
blob912d28689725fd1cae02d345beadd114a81e73e7
1 /* -*- c++ -*- */
3 //=============================================================================
4 /**
5 * @file be_interface_fwd.h
7 * Extension of class AST_InterfaceFwd that provides additional
8 * means for C++ mapping of a forward declared interface.
10 * @author Copyright 1994-1995 by Sun Microsystems
11 * @author Inc. and Aniruddha Gokhale
13 //=============================================================================
15 #ifndef BE_INTERFACE_FWD_H
16 #define BE_INTERFACE_FWD_H
18 #include "be_type.h"
19 #include "ast_interface_fwd.h"
21 class AST_Interface;
22 class be_visitor;
24 class be_interface_fwd : public virtual AST_InterfaceFwd,
25 public virtual be_type
27 // =TITLE
28 // be_interface_fwd
30 // =DESCRIPTION
31 // Extensions to the AST_InterfaceFwd class
32 public:
33 be_interface_fwd (AST_Interface *dummy,
34 UTL_ScopedName *n);
36 virtual ~be_interface_fwd (void);
38 /// Mutator overrides for be_type members. If we have been
39 /// defined, we want the full definition to be set as well.
40 virtual void seen_in_sequence (bool val);
41 virtual void seen_in_operation (bool val);
43 /// Cleanup function.
44 virtual void destroy (void);
46 // Visiting.
47 virtual int accept (be_visitor* visitor);
49 // Narrowing.
50 DEF_NARROW_FROM_DECL (be_interface_fwd);
53 #endif // if !defined