summaryrefslogtreecommitdiff
path: root/trunk/CIAO/tests/IDL3/Components/ComplexComponent/Attributes/Attributes.idl
blob: 15c32fe82b327aad70b90210c6c6aec20004a518 (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
// $Id$
/**
 * @file Attributes.idl
 * @author Will Otte <wotte@dre.vanderbilt.edu>
 */

#include <Components.idl>

module Attributes
{
  component Foo
    {
      attribute float test;
      attribute long testA, testB;
    };
  
  component Bar
    {
      readonly attribute float test1;
      readonly attribute long testB, testC;
    };
  
  exception FooException
    {
    };
  
  exception BarException
    {
    };
  
  component FooRaises
    {
      attribute float test2 getraises (FooException);
    };
  
  component BarRaises
    {
      attribute float test3 setraises (BarException);
    };
  
  component FooBarRaises
    {
      attribute float test4 
        getraises (FooException) setraises (BarException);
    };
  
  component ROFooRaises
    {
      readonly attribute float test5 raises (FooException);
    };
};