blob: ba7ab7dbd584fcecaa1f8c061c63dd0ca3a413a7 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
// file : CCF/IDL2/SyntaxTree/ValueType.cpp
// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id : $id$
#include "CCF/IDL2/SyntaxTree/ValueType.hpp"
using namespace Introspection;
namespace CCF
{
namespace IDL2
{
namespace SyntaxTree
{
// ValueDecl
//
//
namespace
{
TypeInfo
value_decl_init_ ()
{
TypeInfo ti (typeid (ValueTypeDecl));
ti.add_base (Access::PUBLIC, true, TypeDecl::static_type_info ());
return ti;
}
TypeInfo value_decl_ (value_decl_init_ ());
}
TypeInfo const& ValueTypeDecl::
static_type_info () { return value_decl_; }
// ValueTypeForwardDecl
//
//
namespace
{
TypeInfo
value_forward_decl_init_ ()
{
TypeInfo ti (typeid (ValueTypeForwardDecl));
ti.add_base (Access::PUBLIC,
true,
ValueTypeDecl::static_type_info ());
ti.add_base (Access::PUBLIC,
true,
TypeForwardDecl::static_type_info ());
return ti;
}
TypeInfo value_forward_decl_ (value_forward_decl_init_ ());
}
TypeInfo const& ValueTypeForwardDecl::
static_type_info () { return value_forward_decl_; }
// ValueTypeDef
//
//
namespace
{
TypeInfo
value_def_init_ ()
{
TypeInfo ti (typeid (ValueTypeDef));
ti.add_base (Access::PUBLIC,
true,
ValueTypeDecl::static_type_info ());
ti.add_base (Access::PUBLIC, true, TypeDef::static_type_info ());
ti.add_base (Access::PUBLIC, true, Scope::static_type_info ());
return ti;
}
TypeInfo value_def_ (value_def_init_ ());
}
TypeInfo const& ValueTypeDef::
static_type_info () { return value_def_; }
}
}
}
|