summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_interface_fwd.h
blob: 912d28689725fd1cae02d345beadd114a81e73e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_interface_fwd.h
 *
 *  Extension of class AST_InterfaceFwd that provides additional
 *  means for C++ mapping of a forward declared interface.
 *
 *  @author Copyright 1994-1995 by Sun Microsystems
 *  @author Inc. and Aniruddha Gokhale
 */
//=============================================================================

#ifndef BE_INTERFACE_FWD_H
#define BE_INTERFACE_FWD_H

#include "be_type.h"
#include "ast_interface_fwd.h"

class AST_Interface;
class be_visitor;

class be_interface_fwd : public virtual AST_InterfaceFwd,
                         public virtual be_type
{
  // =TITLE
  //   be_interface_fwd
  //
  // =DESCRIPTION
  //   Extensions to the AST_InterfaceFwd class
public:
  be_interface_fwd (AST_Interface *dummy,
                    UTL_ScopedName *n);

  virtual ~be_interface_fwd (void);

  /// Mutator overrides for be_type members. If we have been
  /// defined, we want the full definition to be set as well.
  virtual void seen_in_sequence (bool val);
  virtual void seen_in_operation (bool val);

  /// Cleanup function.
  virtual void destroy (void);

  // Visiting.
  virtual int accept (be_visitor* visitor);

  // Narrowing.
  DEF_NARROW_FROM_DECL (be_interface_fwd);
};

#endif // if !defined