summaryrefslogtreecommitdiff
path: root/CIAO/CCF/CCF/IDL2/SemanticGraph/Operation.cpp
blob: 690f6d8173d0da38718ac4fe1acff39a116d6cce (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
// file      : CCF/IDL2/SemanticGraph/Operation.cpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#include "CCF/IDL2/SemanticGraph/Operation.hpp"

namespace CCF
{
  namespace IDL2
  {
    namespace SemanticGraph
    {
      using Introspection::TypeInfo;
      using Introspection::Access;

      // Receives
      //
      //
      namespace
      {
        TypeInfo
        receives_init_ ()
        {
          TypeInfo ti (typeid (Receives));
          ti.add_base (Access::PUBLIC, true, Edge::static_type_info ());
          return ti;
        }

        TypeInfo receives_ (receives_init_ ());
      }

      TypeInfo const& Receives::
      static_type_info () { return receives_; }


      // Returns
      //
      //
      namespace
      {
        TypeInfo
        returns_init_ ()
        {
          TypeInfo ti (typeid (Returns));
          ti.add_base (Access::PUBLIC, true, Belongs::static_type_info ());
          return ti;
        }

        TypeInfo returns_ (returns_init_ ());
      }

      TypeInfo const& Returns::
      static_type_info () { return returns_; }


      // Raises
      //
      //
      namespace
      {
        TypeInfo
        raises_init_ ()
        {
          TypeInfo ti (typeid (Raises));
          ti.add_base (Access::PUBLIC, true, Edge::static_type_info ());
          return ti;
        }

        TypeInfo raises_ (raises_init_ ());
      }

      TypeInfo const& Raises::
      static_type_info () { return raises_; }



      // Parameter
      //
      //
      namespace
      {
        TypeInfo
        parameter_init_ ()
        {
          TypeInfo ti (typeid (Parameter));
          ti.add_base (Access::PUBLIC, true, Instance::static_type_info ());
          return ti;
        }

        TypeInfo parameter_ (parameter_init_ ());
      }

      TypeInfo const& Parameter::
      static_type_info () { return parameter_; }

      Parameter::
      ~Parameter ()
      {
      }


      // InParameter
      //
      //
      namespace
      {
        TypeInfo
        in_parameter_init_ ()
        {
          TypeInfo ti (typeid (InParameter));
          ti.add_base (Access::PUBLIC, true, Parameter::static_type_info ());
          return ti;
        }

        TypeInfo in_parameter_ (in_parameter_init_ ());
      }

      TypeInfo const& InParameter::
      static_type_info () { return in_parameter_; }


      // OutParameter
      //
      //
      namespace
      {
        TypeInfo
        out_parameter_init_ ()
        {
          TypeInfo ti (typeid (OutParameter));
          ti.add_base (Access::PUBLIC, true, Parameter::static_type_info ());
          return ti;
        }

        TypeInfo out_parameter_ (out_parameter_init_ ());
      }

      TypeInfo const& OutParameter::
      static_type_info () { return out_parameter_; }


      // InOutParameter
      //
      //
      namespace
      {
        TypeInfo
        in_out_parameter_init_ ()
        {
          TypeInfo ti (typeid (InOutParameter));
          ti.add_base (Access::PUBLIC, true, Parameter::static_type_info ());
          return ti;
        }

        TypeInfo in_out_parameter_ (in_out_parameter_init_ ());
      }

      TypeInfo const& InOutParameter::
      static_type_info () { return in_out_parameter_; }


      // Operation
      //
      //
      namespace
      {
        TypeInfo
        operation_init_ ()
        {
          TypeInfo ti (typeid (Operation));
          ti.add_base (Access::PUBLIC, true, Nameable::static_type_info ());
          ti.add_base (Access::PUBLIC, true, Instance::static_type_info ());
          return ti;
        }

        TypeInfo operation_ (operation_init_ ());
      }

      TypeInfo const& Operation::
      static_type_info () { return operation_; }

      Operation::
      ~Operation ()
      {
      }


      // OneWayOperation
      //
      //
      namespace
      {
        TypeInfo
        one_way_operation_init_ ()
        {
          TypeInfo ti (typeid (OneWayOperation));
          ti.add_base (Access::PUBLIC, true, Operation::static_type_info ());
          return ti;
        }

        TypeInfo one_way_operation_ (one_way_operation_init_ ());
      }

      TypeInfo const& OneWayOperation::
      static_type_info () { return one_way_operation_; }


      // TwoWayOperation
      //
      //
      namespace
      {
        TypeInfo
        two_way_operation_init_ ()
        {
          TypeInfo ti (typeid (TwoWayOperation));
          ti.add_base (Access::PUBLIC, true, Operation::static_type_info ());
          return ti;
        }

        TypeInfo two_way_operation_ (two_way_operation_init_ ());
      }

      TypeInfo const& TwoWayOperation::
      static_type_info () { return two_way_operation_; }
    }
  }
}