summaryrefslogtreecommitdiff
path: root/modules/CIAO/CCF/CCF/IDL2/SemanticAction/Factory.hpp
blob: 2f84d76071082ac41ea4f485cffbf21453a00632 (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
// file      : CCF/IDL2/SemanticAction/Factory.hpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#ifndef CCF_IDL2_SEMANTIC_ACTION_FACTORY_HPP
#define CCF_IDL2_SEMANTIC_ACTION_FACTORY_HPP

namespace CCF
{
  namespace IDL2
  {
    namespace SemanticAction
    {
      struct Attribute;
      struct Const;
      struct Enum;
      struct Exception;
      struct Include;
      struct Interface;
      struct Member;
      struct Module;
      struct Native;
      struct NumericExpression;
      struct Operation;
      struct Struct;
      struct Typedef;
      struct TypeId;
      struct TypePrefix;
      struct Union;
      struct ValueType;
      struct ValueTypeFactory;
      struct ValueTypeMember;

      //
      //
      //
      struct Factory
      {
        virtual
        ~Factory () {}

        virtual Attribute&
        attribute () = 0;

        virtual Const&
        const_ () = 0;

        virtual SemanticAction::Enum&
        enum_ () = 0;

        virtual SemanticAction::Exception&
        exception () = 0;

        virtual Include&
        include () = 0;

        virtual Interface&
        interface () = 0;

        virtual Member&
        member () = 0;

        virtual Module&
        module () = 0;

        virtual Native&
        native () = 0;

        virtual NumericExpression&
        numeric_expression () = 0;

        virtual Operation&
        operation () = 0;

        virtual Struct&
        struct_ () = 0;

        virtual Typedef&
        typedef_ () = 0;

        virtual TypeId&
        type_id () = 0;

        virtual TypePrefix&
        type_prefix () = 0;

        virtual Union&
        union_ () = 0;

        virtual ValueType&
        value_type () = 0;

        virtual ValueTypeFactory&
        value_type_factory () = 0;

        virtual ValueTypeMember&
        value_type_member () = 0;
      };

    }
  }
}

#endif  // CCF_IDL2_SEMANTIC_ACTION_FACTORY_HPP