summaryrefslogtreecommitdiff
path: root/modules/CIAO/CCF/CCF/CIDL/SemanticGraph/Composition.cpp
blob: 429699d1b5d4739149cb3d7ae03f507049cac4e7 (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
// file      : CCF/CIDL/SemanticGraph/Composition.cpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#include "CCF/CIDL/SemanticGraph/Composition.hpp"

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


      // Composition
      //
      //
      namespace
      {
        TypeInfo
        composition_init_ ()
        {
          TypeInfo ti (typeid (Composition));
          ti.add_base (Access::PUBLIC, true, Scope::static_type_info ());
          return ti;
        }

        TypeInfo composition_ (composition_init_ ());
      }

      TypeInfo const& Composition::
      static_type_info () { return composition_; }

      Composition::
      ~Composition ()
      {
      }


      // EntityComposition
      //
      //
      namespace
      {
        TypeInfo
        entity_composition_init_ ()
        {
          TypeInfo ti (typeid (EntityComposition));
          ti.add_base (
            Access::PUBLIC, true, Composition::static_type_info ());
          return ti;
        }

        TypeInfo entity_composition_ (entity_composition_init_ ());
      }

      TypeInfo const& EntityComposition::
      static_type_info () { return entity_composition_; }


      // ProcessComposition
      //
      //
      namespace
      {
        TypeInfo
        process_composition_init_ ()
        {
          TypeInfo ti (typeid (ProcessComposition));
          ti.add_base (
            Access::PUBLIC, true, Composition::static_type_info ());
          return ti;
        }

        TypeInfo process_composition_ (process_composition_init_ ());
      }

      TypeInfo const& ProcessComposition::
      static_type_info () { return process_composition_; }


      // ServiceComposition
      //
      //
      namespace
      {
        TypeInfo
        service_composition_init_ ()
        {
          TypeInfo ti (typeid (ServiceComposition));
          ti.add_base (
            Access::PUBLIC, true, Composition::static_type_info ());
          return ti;
        }

        TypeInfo service_composition_ (service_composition_init_ ());
      }

      TypeInfo const& ServiceComposition::
      static_type_info () { return service_composition_; }


      // SessionComposition
      //
      //
      namespace
      {
        TypeInfo
        session_composition_init_ ()
        {
          TypeInfo ti (typeid (SessionComposition));
          ti.add_base (
            Access::PUBLIC, true, Composition::static_type_info ());
          return ti;
        }

        TypeInfo session_composition_ (session_composition_init_ ());
      }

      TypeInfo const& SessionComposition::
      static_type_info () { return session_composition_; }
    }
  }
}