summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/IDL2/SyntaxTree/TypeId.cpp
blob: 367462e7f26c2073a03de91894f3e0849c91f4ee (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
// file      : CCF/IDL2/SyntaxTree/TypeId.cpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#include "CCF/IDL2/SyntaxTree/TypeId.hpp"

using namespace Introspection;

namespace CCF
{
  namespace IDL2
  {
    namespace SyntaxTree
    {
      //  TypeId
      //
      //
      namespace
      {
        TypeInfo
        typeid_init_ ()
        {
          TypeInfo ti (typeid (TypeId));
          ti.add_base (Access::PUBLIC, true, Node::static_type_info ());
          return ti;
        }

        TypeInfo typeid_ (typeid_init_ ());
      }

      TypeInfo const& TypeId::
      static_type_info () { return typeid_; }


      //  Typeprefix
      //
      //
      namespace
      {
        TypeInfo
        typeprefix_init_ ()
        {
          TypeInfo ti (typeid (TypePrefix));
          ti.add_base (Access::PUBLIC, true, Node::static_type_info ());
          return ti;
        }

        TypeInfo typeprefix_ (typeprefix_init_ ());
      }

      TypeInfo const& TypePrefix::
      static_type_info () { return typeprefix_; }
    }
  }
}