summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_structure_fwd.h
blob: 501c0e61bb4102bd1a2ede8ee4063df1c6d1a6ff (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_structure_fwd.h
 *
 *  $Id$
 *
 *  Extension of class AST_StructureFwd that provides additional
 *  means for C++ mapping of a struct.
 *
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef BE_STRUCTURE_FWD_H
#define BE_STRUCTURE_FWD_H

#include "be_type.h"
#include "ast_structure_fwd.h"

class be_visitor;
class be_structure;

class be_structure_fwd : public virtual AST_StructureFwd,
                         public virtual be_type
{
  // =TITLE
  //   be_structure_fwd
  //
  // =DESCRIPTION
  //   Extensions to the AST_StructureFwd class
public:
  be_structure_fwd (AST_Structure *dummy,
                    UTL_ScopedName *n);

  virtual ~be_structure_fwd (void);

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

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

  // Narrowing.
  DEF_NARROW_FROM_DECL (be_structure_fwd);
};

#endif // if !defined