2 //=============================================================================
6 * Tests of interface operations and attributes in IDL constructs
9 * @author Andy Gokhale <gokhale@dre.vanderbilt.edu>
11 //=============================================================================
20 float op1
(in float f
,
24 double op2
(in double d
,
30 inout
unsigned long ul
);
32 short op4
(in short s
,
34 inout
unsigned short us
);
36 unsigned long op5
(inout
unsigned long ul
,
41 unsigned short op6
(out unsigned short us
,
47 // Operations continued from ex1.
52 boolean op8
(out boolean b
,
55 octet op9
(inout octet o
,
60 string op10
(in string s
,
63 string <10> op11
(inout
string <10> ls
,
66 long op12
(in long l
);
71 readonly attribute
float float_attribute
;
73 attribute
double double_attribute
;
75 readonly attribute
long long_attribute
;
77 attribute
short short_attribute
;
79 readonly attribute
unsigned long unsigned_long_attribute
;
82 interface ex4
: ex2
, ex3
84 attribute
unsigned short unsigned_short_attribute
;
86 readonly attribute
char char_attribute
;
88 attribute
boolean boolean_attribute
;
90 readonly attribute octet octet_attribute
;
92 attribute
string string_attribute
;
94 readonly attribute
string <10> limited_string_attribute
;
96 readonly attribute ex4 an_object_attribute
;