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
54
55
|
//=============================================================================
/**
* @file be_component_fwd.cpp
*
* Extension of class AST_ComponentFwd that provides additional means for C++
* mapping of a forward declared component.
*
* @author Jeff Parsons
*/
//=============================================================================
#include "be_component_fwd.h"
#include "be_visitor.h"
#include "global_extern.h"
#include "utl_err.h"
be_component_fwd::be_component_fwd (AST_Interface *dummy,
UTL_ScopedName *n)
: COMMON_Base (),
AST_Decl (AST_Decl::NT_component_fwd,
n),
AST_Type (AST_Decl::NT_component_fwd,
n),
AST_InterfaceFwd (dummy,
n),
AST_ComponentFwd (dummy,
n),
be_decl (AST_Decl::NT_component_fwd,
n),
be_type (AST_Decl::NT_component_fwd,
n),
be_interface_fwd (dummy,
n)
{
this->size_type (AST_Type::VARIABLE);
}
be_component_fwd::~be_component_fwd ()
{
}
void
be_component_fwd::destroy ()
{
this->AST_ComponentFwd::destroy ();
}
int
be_component_fwd::accept (be_visitor *visitor)
{
return (idl_global->ignore_idl3 ()
? 0
: visitor->visit_component_fwd (this));
}
|