summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_component_fwd.h
blob: 828b6df2efc8ed5b50ff7b20f0b91234b61ef4f8 (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_component_fwd.h
 *
 *  Extension of class AST_ComponentFwd that provides additional
 *  means for C++ mapping of a forward declared component.
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef BE_COMPONENT_FWD_H
#define BE_COMPONENT_FWD_H

#include "be_interface_fwd.h"
#include "ast_component_fwd.h"

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

  virtual ~be_component_fwd (void);

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

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

  // Narrowing.

  DEF_NARROW_FROM_DECL (be_component_fwd);
};

#endif // if !defined