ridl 2.5.6 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/LICENSE +21 -49
- data/README.rdoc +30 -25
- data/lib/ridl/backend.rb +6 -10
- data/lib/ridl/delegate.rb +1 -2
- data/lib/ridl/expression.rb +0 -1
- data/lib/ridl/genfile.rb +0 -1
- data/lib/ridl/node.rb +29 -9
- data/lib/ridl/options.rb +176 -0
- data/lib/ridl/optparse_ext.rb +0 -1
- data/lib/ridl/parser.rb +4 -4
- data/lib/ridl/parser.ry +40 -41
- data/lib/ridl/require.rb +0 -1
- data/lib/ridl/ridl.rb +0 -1
- data/lib/ridl/runner.rb +184 -52
- data/lib/ridl/scanner.rb +87 -87
- data/lib/ridl/type.rb +22 -2
- data/lib/ridl/version.rb +2 -3
- metadata +13 -19
- data/lib/idl/BiDirPolicy.pidl +0 -28
- data/lib/idl/CosNaming.idl +0 -260
- data/lib/idl/IOP.pidl +0 -98
- data/lib/idl/Messaging.pidl +0 -152
- data/lib/idl/PortableServer.pidl +0 -371
- data/lib/idl/TimeBase.pidl +0 -40
- data/lib/idl/orb.idl +0 -200
data/lib/idl/TimeBase.pidl
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
// $Id$
|
2
|
-
// $Id$
|
3
|
-
|
4
|
-
#ifndef _TIME_BASE_IDL
|
5
|
-
#define _TIME_BASE_IDL
|
6
|
-
#pragma prefix "omg.org"
|
7
|
-
|
8
|
-
#include <orb.idl>
|
9
|
-
|
10
|
-
module TimeBase
|
11
|
-
{
|
12
|
-
|
13
|
-
#ifdef NOLONGLONG
|
14
|
-
struct ulonglong {
|
15
|
-
unsigned long low;
|
16
|
-
unsigned long high;
|
17
|
-
};
|
18
|
-
typedef ulonglong TimeT;
|
19
|
-
#else
|
20
|
-
typedef unsigned long long TimeT;
|
21
|
-
#endif
|
22
|
-
|
23
|
-
typedef TimeT InaccuracyT;
|
24
|
-
typedef short TdfT;
|
25
|
-
|
26
|
-
struct UtcT {
|
27
|
-
TimeT time; // 8 octets
|
28
|
-
unsigned long inacclo; // 4 octets
|
29
|
-
unsigned short inacchi; // 4 octets
|
30
|
-
TdfT tdf; // 2 octets
|
31
|
-
// total 16 octets
|
32
|
-
};
|
33
|
-
|
34
|
-
struct IntervalT {
|
35
|
-
TimeT lower_bound;
|
36
|
-
TimeT upper_bound;
|
37
|
-
};
|
38
|
-
|
39
|
-
};
|
40
|
-
#endif /* _TIME_BASE_IDL */
|
data/lib/idl/orb.idl
DELETED
@@ -1,200 +0,0 @@
|
|
1
|
-
/*--------------------------------------------------------------------
|
2
|
-
* orb.idl - R2CORBA orb.idl
|
3
|
-
*
|
4
|
-
* Author: Martin Corino
|
5
|
-
*
|
6
|
-
* $Id$
|
7
|
-
*
|
8
|
-
* This program is free software; you can redistribute it and/or
|
9
|
-
* modify it under the terms of the R2CORBA LICENSE which is
|
10
|
-
* included with this program.
|
11
|
-
*
|
12
|
-
* Copyright (c) Remedy IT Expertise BV
|
13
|
-
* Chamber of commerce Rotterdam nr.276339, The Netherlands
|
14
|
-
*--------------------------------------------------------------------*/
|
15
|
-
|
16
|
-
#ifndef R2CORBA_ORB_IDL
|
17
|
-
#define R2CORBA_ORB_IDL
|
18
|
-
|
19
|
-
#pragma prefix "omg.org"
|
20
|
-
|
21
|
-
module CORBA
|
22
|
-
{
|
23
|
-
/* Basic Sequence types
|
24
|
-
*/
|
25
|
-
typedef sequence<any> AnySeq;
|
26
|
-
typedef sequence<boolean> BooleanSeq;
|
27
|
-
typedef sequence<char> CharSeq;
|
28
|
-
typedef sequence<double> DoubleSeq;
|
29
|
-
typedef sequence<float> FloatSeq;
|
30
|
-
typedef sequence<long> LongSeq;
|
31
|
-
typedef sequence<long long> LongLongSeq;
|
32
|
-
typedef sequence<short> ShortSeq;
|
33
|
-
typedef sequence<unsigned long> ULongSeq;
|
34
|
-
typedef sequence<unsigned long long> ULongLongSeq;
|
35
|
-
typedef sequence<unsigned short> UShortSeq;
|
36
|
-
typedef sequence<wchar> WCharSeq;
|
37
|
-
typedef sequence<string> StringSeq;
|
38
|
-
typedef sequence<wstring> WStringSeq;
|
39
|
-
typedef sequence<octet> OctetSeq;
|
40
|
-
|
41
|
-
/* Policy types and interfaces
|
42
|
-
*/
|
43
|
-
typedef unsigned long PolicyType;
|
44
|
-
|
45
|
-
interface Policy
|
46
|
-
{
|
47
|
-
readonly attribute PolicyType policy_type;
|
48
|
-
Policy copy();
|
49
|
-
void destroy();
|
50
|
-
};
|
51
|
-
|
52
|
-
typedef sequence <Policy> PolicyList;
|
53
|
-
typedef sequence <PolicyType> PolicyTypeSeq;
|
54
|
-
exception InvalidPolicies { UShortSeq indices; };
|
55
|
-
|
56
|
-
local interface DomainManager
|
57
|
-
{
|
58
|
-
Policy get_domain_policy(in PolicyType policy_type);
|
59
|
-
};
|
60
|
-
|
61
|
-
|
62
|
-
interface InterfaceDef; /* forward */
|
63
|
-
|
64
|
-
interface ConstructionPolicy: Policy
|
65
|
-
{
|
66
|
-
void make_domain_manager(in InterfaceDef object_type,
|
67
|
-
in boolean constr_policy);
|
68
|
-
};
|
69
|
-
|
70
|
-
typedef sequence <DomainManager> DomainManagersList;
|
71
|
-
|
72
|
-
typedef short PolicyErrorCode;
|
73
|
-
const PolicyErrorCode BAD_POLICY = 0;
|
74
|
-
const PolicyErrorCode UNSUPPORTED_POLICY = 1;
|
75
|
-
const PolicyErrorCode BAD_POLICY_TYPE = 2;
|
76
|
-
const PolicyErrorCode BAD_POLICY_VALUE = 3;
|
77
|
-
const PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4;
|
78
|
-
|
79
|
-
exception PolicyError
|
80
|
-
{
|
81
|
-
PolicyErrorCode reason;
|
82
|
-
};
|
83
|
-
|
84
|
-
enum SetOverrideType {SET_OVERRIDE, ADD_OVERRIDE};
|
85
|
-
|
86
|
-
local interface PolicyManager
|
87
|
-
{
|
88
|
-
PolicyList get_policy_overrides(in PolicyTypeSeq ts);
|
89
|
-
|
90
|
-
void set_policy_overrides(in PolicyList policies,
|
91
|
-
in SetOverrideType set_add
|
92
|
-
) raises (InvalidPolicies);
|
93
|
-
};
|
94
|
-
|
95
|
-
local interface Current {}; // dummy
|
96
|
-
|
97
|
-
local interface PolicyCurrent : PolicyManager, Current {
|
98
|
-
};
|
99
|
-
|
100
|
-
/* Service types and interfaces
|
101
|
-
*/
|
102
|
-
typedef unsigned short ServiceType;
|
103
|
-
typedef unsigned long ServiceOption;
|
104
|
-
typedef unsigned long ServiceDetailType;
|
105
|
-
typedef OctetSeq ServiceDetailData;
|
106
|
-
typedef sequence<ServiceOption> ServiceOptionSeq;
|
107
|
-
|
108
|
-
const ServiceType Security = 1;
|
109
|
-
|
110
|
-
struct ServiceDetail
|
111
|
-
{
|
112
|
-
ServiceDetailType service_detail_type;
|
113
|
-
ServiceDetailData service_detail;
|
114
|
-
};
|
115
|
-
|
116
|
-
typedef sequence<ServiceDetail> ServiceDetailSeq;
|
117
|
-
|
118
|
-
struct ServiceInformation
|
119
|
-
{
|
120
|
-
ServiceOptionSeq service_options;
|
121
|
-
ServiceDetailSeq service_details;
|
122
|
-
};
|
123
|
-
|
124
|
-
/* ORB types
|
125
|
-
*/
|
126
|
-
typedef string ORBid;
|
127
|
-
typedef unsigned long Flags;
|
128
|
-
typedef string Identifier;
|
129
|
-
typedef string RepositoryId;
|
130
|
-
|
131
|
-
/* TypeCode types
|
132
|
-
*/
|
133
|
-
interface TypeCode;
|
134
|
-
|
135
|
-
enum TCKind
|
136
|
-
{
|
137
|
-
tk_null,
|
138
|
-
tk_void,
|
139
|
-
tk_short,
|
140
|
-
tk_long,
|
141
|
-
tk_ushort,
|
142
|
-
tk_ulong,
|
143
|
-
tk_float,
|
144
|
-
tk_double,
|
145
|
-
tk_boolean,
|
146
|
-
tk_char,
|
147
|
-
tk_octet,
|
148
|
-
tk_any,
|
149
|
-
tk_TypeCode,
|
150
|
-
tk_Principal,
|
151
|
-
tk_objref,
|
152
|
-
tk_struct,
|
153
|
-
tk_union,
|
154
|
-
tk_enum,
|
155
|
-
tk_string,
|
156
|
-
tk_sequence,
|
157
|
-
tk_array,
|
158
|
-
tk_alias,
|
159
|
-
tk_except,
|
160
|
-
tk_longlong,
|
161
|
-
tk_ulonglong,
|
162
|
-
tk_longdouble,
|
163
|
-
tk_wchar,
|
164
|
-
tk_wstring,
|
165
|
-
tk_fixed,
|
166
|
-
tk_value,
|
167
|
-
tk_value_box,
|
168
|
-
tk_native,
|
169
|
-
tk_abstract_interface,
|
170
|
-
tk_local_interface,
|
171
|
-
tk_component,
|
172
|
-
tk_home,
|
173
|
-
tk_event
|
174
|
-
};
|
175
|
-
|
176
|
-
/* misc
|
177
|
-
*/
|
178
|
-
exception WrongTransaction {};
|
179
|
-
|
180
|
-
module ORB
|
181
|
-
{
|
182
|
-
exception InvalidName {};
|
183
|
-
};
|
184
|
-
|
185
|
-
native ExceptionList;
|
186
|
-
native NamedValue;
|
187
|
-
|
188
|
-
enum exception_type
|
189
|
-
{
|
190
|
-
NO_EXCEPTION,
|
191
|
-
USER_EXCEPTION,
|
192
|
-
SYSTEM_EXCEPTION
|
193
|
-
};
|
194
|
-
|
195
|
-
native ValueFactory;
|
196
|
-
};
|
197
|
-
|
198
|
-
#pragma prefix ""
|
199
|
-
|
200
|
-
#endif /* R2CORBA_ORB_IDL */
|