Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / IDL_Test / gperf.idl
blobd5ea5c09d740e5fc4f30ed6af37850ea84fe7d90
2 //=============================================================================
3 /**
4 * @file gperf.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
9 * stay fixed.
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 // The examples below uncovered some bugs in gperf,
18 // in the form of runtime errors when clients made
19 // requests on some of the methods, for example
21 // TAO_Perfect_Hash_Table:find failed
22 // Bad operation <ackConfArchData>
25 enum TestEnum
27 first,
28 second,
29 third
32 interface testlistitem
34 readonly attribute string name;
38 interface test
40 attribute string stest;
41 #ifndef WITHOUT_CORBA_WSTRING
42 attribute wstring wstest;
43 #else
44 attribute string wstest;
45 #endif
46 #ifndef WITHOUT_CORBA_LONGLONG
47 attribute long long ltest;
48 #else
49 attribute long ltest;
50 #endif
51 #ifndef WITHOUT_CORBA_LONGDOUBLE
52 attribute long double ldtest;
53 #else
54 attribute double ldtest;
55 #endif
56 attribute TestEnum etest;
57 #ifndef WITHOUT_CORBA_WSTRING
58 attribute wstring setest;
59 #else
60 attribute string setest;
61 #endif
62 attribute testlistitem tltest;
64 testlistitem new_testlistitem (in string name);
67 interface Simple_Server
69 oneway void ackConfBasData ();
71 oneway void ackConfMosData ();
72 oneway void ackConfTwmData ();
73 oneway void ackConfArchData ();
74 oneway void ackConfVonData ();
75 oneway void ackConfFftData ();
76 oneway void ackConfSosData ();
77 oneway void ackConfSscData ();
78 oneway void ackConfCsData ();
80 oneway void ackConfR10Data ();
81 oneway void ackConfR11Data ();
82 oneway void ackConfR12Data ();
83 oneway void ackConfR13Data ();
84 oneway void ackConfR14Data ();
85 oneway void ackConfR15Data ();
87 oneway void shutdown ();
89 oneway void transferTriggerDb ();
90 oneway void transferTriggerTdc ();