File: test_omniidl.idl

package info (click to toggle)
tango 10.0.2%2Bdfsg1-2%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 89,936 kB
  • sloc: cpp: 201,786; sh: 1,645; python: 953; java: 800; perl: 467; javascript: 447; xml: 325; makefile: 269; sql: 72; ruby: 24
file content (26 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (4)
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
module TestOmniidl
{

typedef boolean 				DevBoolean;
typedef short 					DevShort;

typedef sequence<boolean>		DevVarBooleanArray;
typedef sequence<short> 		DevVarShortArray;

enum AttributeDataType
{
	ATT_BOOL,
	ATT_SHORT
};


union AttrValUnion switch (AttributeDataType)
{
case ATT_BOOL:
	DevVarBooleanArray		bool_att_value;
case ATT_SHORT:
	DevVarShortArray		short_att_value;
};


};