summaryrefslogtreecommitdiff
path: root/CIAO/CCF/CCF/IDL2/SemanticGraph/String.cpp
blob: 578c87361d4fadb838856e6c7e03c896745e32f2 (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
// file      : CCF/IDL2/SemanticGraph/String.cpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

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

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

      // BoundedString
      //
      //
      namespace
      {
        TypeInfo
        bounded_string_init_ ()
        {
          TypeInfo ti (typeid (BoundedString));
          ti.add_base (
            Access::PUBLIC, true, Specialization::static_type_info ());
          return ti;
        }

        TypeInfo bounded_string_ (bounded_string_init_ ());
      }

      TypeInfo const& BoundedString::
      static_type_info () { return bounded_string_; }


      // BoundedWideString
      //
      //
      namespace
      {
        TypeInfo
        bounded_wide_string_init_ ()
        {
          TypeInfo ti (typeid (BoundedWideString));
          ti.add_base (
            Access::PUBLIC, true, Specialization::static_type_info ());
          return ti;
        }

        TypeInfo bounded_wide_string_ (bounded_wide_string_init_ ());
      }

      TypeInfo const& BoundedWideString::
      static_type_info () { return bounded_wide_string_; }
    }
  }
}