This file is indexed.

/usr/include/salome/SALOMEDS.hh is in salome-kernel-dev 6.5.0-7ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __SALOMEDS_hh__
#define __SALOMEDS_hh__

#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif

#ifndef  USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif



#ifndef __SALOME__Exception_hh_EXTERNAL_GUARD__
#define __SALOME__Exception_hh_EXTERNAL_GUARD__
#include <SALOME_Exception.hh>
#endif
#ifndef __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#define __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#include <SALOME_GenericObj.hh>
#endif



#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
#  define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
#  define USE_dyn_stub_in_nt_dll
# endif
#endif

#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef  USE_core_stub_in_nt_dll
#  define _core_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _core_attr
# endif
#endif

#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef  USE_dyn_stub_in_nt_dll
#  define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _dyn_attr
# endif
#endif





_CORBA_MODULE SALOMEDS

_CORBA_MODULE_BEG

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_URL;

  typedef char* URL;
  typedef ::CORBA::String_var URL_var;
  typedef ::CORBA::String_out URL_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ID;

  typedef char* ID;
  typedef ::CORBA::String_var ID_var;
  typedef ::CORBA::String_out ID_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_PersistentReference;

  typedef char* PersistentReference;
  typedef ::CORBA::String_var PersistentReference_var;
  typedef ::CORBA::String_out PersistentReference_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_SalomeReference;

  typedef char* SalomeReference;
  typedef ::CORBA::String_var SalomeReference_var;
  typedef ::CORBA::String_out SalomeReference_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfOpenStudies;

  class ListOfOpenStudies_var;

  class ListOfOpenStudies : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef ListOfOpenStudies_var _var_type;
    inline ListOfOpenStudies() {}
    inline ListOfOpenStudies(const ListOfOpenStudies& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline ListOfOpenStudies(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline ListOfOpenStudies(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline ListOfOpenStudies& operator = (const ListOfOpenStudies& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class ListOfOpenStudies_out;

  class ListOfOpenStudies_var {
  public:
    inline ListOfOpenStudies_var() : _pd_seq(0) {}
    inline ListOfOpenStudies_var(ListOfOpenStudies* _s) : _pd_seq(_s) {}
    inline ListOfOpenStudies_var(const ListOfOpenStudies_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfOpenStudies(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfOpenStudies_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfOpenStudies_var& operator = (ListOfOpenStudies* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfOpenStudies_var& operator = (const ListOfOpenStudies_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfOpenStudies;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfOpenStudies* operator -> () { return _pd_seq; }
    inline const ListOfOpenStudies* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfOpenStudies& () const { return *_pd_seq; }
#else
    inline operator const ListOfOpenStudies& () const { return *_pd_seq; }
    inline operator ListOfOpenStudies& () { return *_pd_seq; }
#endif
      
    inline const ListOfOpenStudies& in() const { return *_pd_seq; }
    inline ListOfOpenStudies&       inout()    { return *_pd_seq; }
    inline ListOfOpenStudies*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfOpenStudies* _retn() { ListOfOpenStudies* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfOpenStudies_out;
    
  private:
    ListOfOpenStudies* _pd_seq;
  };

  class ListOfOpenStudies_out {
  public:
    inline ListOfOpenStudies_out(ListOfOpenStudies*& _s) : _data(_s) { _data = 0; }
    inline ListOfOpenStudies_out(ListOfOpenStudies_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfOpenStudies*) 0; }
    inline ListOfOpenStudies_out(const ListOfOpenStudies_out& _s) : _data(_s._data) {}
    inline ListOfOpenStudies_out& operator = (const ListOfOpenStudies_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfOpenStudies_out& operator = (ListOfOpenStudies* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfOpenStudies*&()  { return _data; }
    inline ListOfOpenStudies*& ptr()       { return _data; }
    inline ListOfOpenStudies* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfOpenStudies*& _data;

  private:
    ListOfOpenStudies_out();
    ListOfOpenStudies_out& operator=(const ListOfOpenStudies_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfFileNames;

  class ListOfFileNames_var;

  class ListOfFileNames : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef ListOfFileNames_var _var_type;
    inline ListOfFileNames() {}
    inline ListOfFileNames(const ListOfFileNames& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline ListOfFileNames(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline ListOfFileNames(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline ListOfFileNames& operator = (const ListOfFileNames& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class ListOfFileNames_out;

  class ListOfFileNames_var {
  public:
    inline ListOfFileNames_var() : _pd_seq(0) {}
    inline ListOfFileNames_var(ListOfFileNames* _s) : _pd_seq(_s) {}
    inline ListOfFileNames_var(const ListOfFileNames_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfFileNames(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfFileNames_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfFileNames_var& operator = (ListOfFileNames* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfFileNames_var& operator = (const ListOfFileNames_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfFileNames;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfFileNames* operator -> () { return _pd_seq; }
    inline const ListOfFileNames* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfFileNames& () const { return *_pd_seq; }
#else
    inline operator const ListOfFileNames& () const { return *_pd_seq; }
    inline operator ListOfFileNames& () { return *_pd_seq; }
#endif
      
    inline const ListOfFileNames& in() const { return *_pd_seq; }
    inline ListOfFileNames&       inout()    { return *_pd_seq; }
    inline ListOfFileNames*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfFileNames* _retn() { ListOfFileNames* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfFileNames_out;
    
  private:
    ListOfFileNames* _pd_seq;
  };

  class ListOfFileNames_out {
  public:
    inline ListOfFileNames_out(ListOfFileNames*& _s) : _data(_s) { _data = 0; }
    inline ListOfFileNames_out(ListOfFileNames_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfFileNames*) 0; }
    inline ListOfFileNames_out(const ListOfFileNames_out& _s) : _data(_s._data) {}
    inline ListOfFileNames_out& operator = (const ListOfFileNames_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfFileNames_out& operator = (ListOfFileNames* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfFileNames*&()  { return _data; }
    inline ListOfFileNames*& ptr()       { return _data; }
    inline ListOfFileNames* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfFileNames*& _data;

  private:
    ListOfFileNames_out();
    ListOfFileNames_out& operator=(const ListOfFileNames_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfDates;

  class ListOfDates_var;

  class ListOfDates : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef ListOfDates_var _var_type;
    inline ListOfDates() {}
    inline ListOfDates(const ListOfDates& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline ListOfDates(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline ListOfDates(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline ListOfDates& operator = (const ListOfDates& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class ListOfDates_out;

  class ListOfDates_var {
  public:
    inline ListOfDates_var() : _pd_seq(0) {}
    inline ListOfDates_var(ListOfDates* _s) : _pd_seq(_s) {}
    inline ListOfDates_var(const ListOfDates_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfDates(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfDates_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfDates_var& operator = (ListOfDates* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfDates_var& operator = (const ListOfDates_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfDates;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfDates* operator -> () { return _pd_seq; }
    inline const ListOfDates* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfDates& () const { return *_pd_seq; }
#else
    inline operator const ListOfDates& () const { return *_pd_seq; }
    inline operator ListOfDates& () { return *_pd_seq; }
#endif
      
    inline const ListOfDates& in() const { return *_pd_seq; }
    inline ListOfDates&       inout()    { return *_pd_seq; }
    inline ListOfDates*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfDates* _retn() { ListOfDates* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfDates_out;
    
  private:
    ListOfDates* _pd_seq;
  };

  class ListOfDates_out {
  public:
    inline ListOfDates_out(ListOfDates*& _s) : _data(_s) { _data = 0; }
    inline ListOfDates_out(ListOfDates_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfDates*) 0; }
    inline ListOfDates_out(const ListOfDates_out& _s) : _data(_s._data) {}
    inline ListOfDates_out& operator = (const ListOfDates_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfDates_out& operator = (ListOfDates* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfDates*&()  { return _data; }
    inline ListOfDates*& ptr()       { return _data; }
    inline ListOfDates* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfDates*& _data;

  private:
    ListOfDates_out();
    ListOfDates_out& operator=(const ListOfDates_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfStrings;

  class ListOfStrings_var;

  class ListOfStrings : public _CORBA_Unbounded_Sequence_String {
  public:
    typedef ListOfStrings_var _var_type;
    inline ListOfStrings() {}
    inline ListOfStrings(const ListOfStrings& _s)
      : _CORBA_Unbounded_Sequence_String(_s) {}

    inline ListOfStrings(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_String(_max) {}
    inline ListOfStrings(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {}

  

    inline ListOfStrings& operator = (const ListOfStrings& _s) {
      _CORBA_Unbounded_Sequence_String::operator=(_s);
      return *this;
    }
  };

  class ListOfStrings_out;

  class ListOfStrings_var {
  public:
    inline ListOfStrings_var() : _pd_seq(0) {}
    inline ListOfStrings_var(ListOfStrings* _s) : _pd_seq(_s) {}
    inline ListOfStrings_var(const ListOfStrings_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfStrings(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfStrings_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfStrings_var& operator = (ListOfStrings* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfStrings_var& operator = (const ListOfStrings_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfStrings;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_String_element operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfStrings* operator -> () { return _pd_seq; }
    inline const ListOfStrings* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfStrings& () const { return *_pd_seq; }
#else
    inline operator const ListOfStrings& () const { return *_pd_seq; }
    inline operator ListOfStrings& () { return *_pd_seq; }
#endif
      
    inline const ListOfStrings& in() const { return *_pd_seq; }
    inline ListOfStrings&       inout()    { return *_pd_seq; }
    inline ListOfStrings*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfStrings* _retn() { ListOfStrings* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfStrings_out;
    
  private:
    ListOfStrings* _pd_seq;
  };

  class ListOfStrings_out {
  public:
    inline ListOfStrings_out(ListOfStrings*& _s) : _data(_s) { _data = 0; }
    inline ListOfStrings_out(ListOfStrings_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfStrings*) 0; }
    inline ListOfStrings_out(const ListOfStrings_out& _s) : _data(_s._data) {}
    inline ListOfStrings_out& operator = (const ListOfStrings_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfStrings_out& operator = (ListOfStrings* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfStrings*&()  { return _data; }
    inline ListOfStrings*& ptr()       { return _data; }
    inline ListOfStrings* operator->() { return _data; }

    inline _CORBA_String_element operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfStrings*& _data;

  private:
    ListOfStrings_out();
    ListOfStrings_out& operator=(const ListOfStrings_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfListOfStrings;

  class ListOfListOfStrings_var;

  class ListOfListOfStrings : public _CORBA_Unbounded_Sequence< ListOfStrings >  {
  public:
    typedef ListOfListOfStrings_var _var_type;
    inline ListOfListOfStrings() {}
    inline ListOfListOfStrings(const ListOfListOfStrings& _s)
      : _CORBA_Unbounded_Sequence< ListOfStrings > (_s) {}

    inline ListOfListOfStrings(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence< ListOfStrings > (_max) {}
    inline ListOfListOfStrings(_CORBA_ULong _max, _CORBA_ULong _len, ListOfStrings* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence< ListOfStrings > (_max, _len, _val, _rel) {}

  

    inline ListOfListOfStrings& operator = (const ListOfListOfStrings& _s) {
      _CORBA_Unbounded_Sequence< ListOfStrings > ::operator=(_s);
      return *this;
    }
  };

  class ListOfListOfStrings_out;

  class ListOfListOfStrings_var {
  public:
    inline ListOfListOfStrings_var() : _pd_seq(0) {}
    inline ListOfListOfStrings_var(ListOfListOfStrings* _s) : _pd_seq(_s) {}
    inline ListOfListOfStrings_var(const ListOfListOfStrings_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfListOfStrings(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfListOfStrings_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfListOfStrings_var& operator = (ListOfListOfStrings* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfListOfStrings_var& operator = (const ListOfListOfStrings_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfListOfStrings;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline ListOfStrings& operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfListOfStrings* operator -> () { return _pd_seq; }
    inline const ListOfListOfStrings* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfListOfStrings& () const { return *_pd_seq; }
#else
    inline operator const ListOfListOfStrings& () const { return *_pd_seq; }
    inline operator ListOfListOfStrings& () { return *_pd_seq; }
#endif
      
    inline const ListOfListOfStrings& in() const { return *_pd_seq; }
    inline ListOfListOfStrings&       inout()    { return *_pd_seq; }
    inline ListOfListOfStrings*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfListOfStrings* _retn() { ListOfListOfStrings* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfListOfStrings_out;
    
  private:
    ListOfListOfStrings* _pd_seq;
  };

  class ListOfListOfStrings_out {
  public:
    inline ListOfListOfStrings_out(ListOfListOfStrings*& _s) : _data(_s) { _data = 0; }
    inline ListOfListOfStrings_out(ListOfListOfStrings_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfListOfStrings*) 0; }
    inline ListOfListOfStrings_out(const ListOfListOfStrings_out& _s) : _data(_s._data) {}
    inline ListOfListOfStrings_out& operator = (const ListOfListOfStrings_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfListOfStrings_out& operator = (ListOfListOfStrings* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfListOfStrings*&()  { return _data; }
    inline ListOfListOfStrings*& ptr()       { return _data; }
    inline ListOfListOfStrings* operator->() { return _data; }

    inline ListOfStrings& operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfListOfStrings*& _data;

  private:
    ListOfListOfStrings_out();
    ListOfListOfStrings_out& operator=(const ListOfListOfStrings_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_TMPFile;

  class TMPFile_var;

  class TMPFile : public _CORBA_Unbounded_Sequence_Octet {
  public:
    typedef TMPFile_var _var_type;
    inline TMPFile() {}
    inline TMPFile(const TMPFile& _s)
      : _CORBA_Unbounded_Sequence_Octet(_s) {}

    inline TMPFile(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_Octet(_max) {}
    inline TMPFile(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Octet* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_Octet(_max, _len, _val, _rel) {}

  

    inline TMPFile& operator = (const TMPFile& _s) {
      _CORBA_Unbounded_Sequence_Octet::operator=(_s);
      return *this;
    }
  };

  class TMPFile_out;

  class TMPFile_var {
  public:
    inline TMPFile_var() : _pd_seq(0) {}
    inline TMPFile_var(TMPFile* _s) : _pd_seq(_s) {}
    inline TMPFile_var(const TMPFile_var& _s) {
      if( _s._pd_seq )  _pd_seq = new TMPFile(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~TMPFile_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline TMPFile_var& operator = (TMPFile* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline TMPFile_var& operator = (const TMPFile_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new TMPFile;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline ::CORBA::Octet& operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline TMPFile* operator -> () { return _pd_seq; }
    inline const TMPFile* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator TMPFile& () const { return *_pd_seq; }
#else
    inline operator const TMPFile& () const { return *_pd_seq; }
    inline operator TMPFile& () { return *_pd_seq; }
#endif
      
    inline const TMPFile& in() const { return *_pd_seq; }
    inline TMPFile&       inout()    { return *_pd_seq; }
    inline TMPFile*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline TMPFile* _retn() { TMPFile* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class TMPFile_out;
    
  private:
    TMPFile* _pd_seq;
  };

  class TMPFile_out {
  public:
    inline TMPFile_out(TMPFile*& _s) : _data(_s) { _data = 0; }
    inline TMPFile_out(TMPFile_var& _s)
      : _data(_s._pd_seq) { _s = (TMPFile*) 0; }
    inline TMPFile_out(const TMPFile_out& _s) : _data(_s._data) {}
    inline TMPFile_out& operator = (const TMPFile_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline TMPFile_out& operator = (TMPFile* _s) {
      _data = _s;
      return *this;
    }
    inline operator TMPFile*&()  { return _data; }
    inline TMPFile*& ptr()       { return _data; }
    inline TMPFile* operator->() { return _data; }

    inline ::CORBA::Octet& operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    TMPFile*& _data;

  private:
    TMPFile_out();
    TMPFile_out& operator=(const TMPFile_var&);
  };

#ifndef __SALOMEDS_mGenericAttribute__
#define __SALOMEDS_mGenericAttribute__

  class GenericAttribute;
  class _objref_GenericAttribute;
  class _impl_GenericAttribute;
  
  typedef _objref_GenericAttribute* GenericAttribute_ptr;
  typedef GenericAttribute_ptr GenericAttributeRef;

  class GenericAttribute_Helper {
  public:
    typedef GenericAttribute_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_GenericAttribute, GenericAttribute_Helper> GenericAttribute_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_GenericAttribute,GenericAttribute_Helper > GenericAttribute_out;

#endif

#ifndef __SALOMEDS_mStudy__
#define __SALOMEDS_mStudy__

  class Study;
  class _objref_Study;
  class _impl_Study;
  
  typedef _objref_Study* Study_ptr;
  typedef Study_ptr StudyRef;

  class Study_Helper {
  public:
    typedef Study_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_Study, Study_Helper> Study_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Study,Study_Helper > Study_out;

#endif

#ifndef __SALOMEDS_mStudyManager__
#define __SALOMEDS_mStudyManager__

  class StudyManager;
  class _objref_StudyManager;
  class _impl_StudyManager;
  
  typedef _objref_StudyManager* StudyManager_ptr;
  typedef StudyManager_ptr StudyManagerRef;

  class StudyManager_Helper {
  public:
    typedef StudyManager_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_StudyManager, StudyManager_Helper> StudyManager_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_StudyManager,StudyManager_Helper > StudyManager_out;

#endif

#ifndef __SALOMEDS_mStudyBuilder__
#define __SALOMEDS_mStudyBuilder__

  class StudyBuilder;
  class _objref_StudyBuilder;
  class _impl_StudyBuilder;
  
  typedef _objref_StudyBuilder* StudyBuilder_ptr;
  typedef StudyBuilder_ptr StudyBuilderRef;

  class StudyBuilder_Helper {
  public:
    typedef StudyBuilder_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_StudyBuilder, StudyBuilder_Helper> StudyBuilder_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_StudyBuilder,StudyBuilder_Helper > StudyBuilder_out;

#endif

#ifndef __SALOMEDS_mSObject__
#define __SALOMEDS_mSObject__

  class SObject;
  class _objref_SObject;
  class _impl_SObject;
  
  typedef _objref_SObject* SObject_ptr;
  typedef SObject_ptr SObjectRef;

  class SObject_Helper {
  public:
    typedef SObject_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SObject, SObject_Helper> SObject_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SObject,SObject_Helper > SObject_out;

#endif

#ifndef __SALOMEDS_mSComponent__
#define __SALOMEDS_mSComponent__

  class SComponent;
  class _objref_SComponent;
  class _impl_SComponent;
  
  typedef _objref_SComponent* SComponent_ptr;
  typedef SComponent_ptr SComponentRef;

  class SComponent_Helper {
  public:
    typedef SComponent_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SComponent, SComponent_Helper> SComponent_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SComponent,SComponent_Helper > SComponent_out;

#endif

#ifndef __SALOMEDS_mSComponentIterator__
#define __SALOMEDS_mSComponentIterator__

  class SComponentIterator;
  class _objref_SComponentIterator;
  class _impl_SComponentIterator;
  
  typedef _objref_SComponentIterator* SComponentIterator_ptr;
  typedef SComponentIterator_ptr SComponentIteratorRef;

  class SComponentIterator_Helper {
  public:
    typedef SComponentIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SComponentIterator, SComponentIterator_Helper> SComponentIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SComponentIterator,SComponentIterator_Helper > SComponentIterator_out;

#endif

#ifndef __SALOMEDS_mChildIterator__
#define __SALOMEDS_mChildIterator__

  class ChildIterator;
  class _objref_ChildIterator;
  class _impl_ChildIterator;
  
  typedef _objref_ChildIterator* ChildIterator_ptr;
  typedef ChildIterator_ptr ChildIteratorRef;

  class ChildIterator_Helper {
  public:
    typedef ChildIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ChildIterator, ChildIterator_Helper> ChildIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ChildIterator,ChildIterator_Helper > ChildIterator_out;

#endif

#ifndef __SALOMEDS_mDriver__
#define __SALOMEDS_mDriver__

  class Driver;
  class _objref_Driver;
  class _impl_Driver;
  
  typedef _objref_Driver* Driver_ptr;
  typedef Driver_ptr DriverRef;

  class Driver_Helper {
  public:
    typedef Driver_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_Driver, Driver_Helper> Driver_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Driver,Driver_Helper > Driver_out;

#endif

#ifndef __SALOMEDS_mAttributeStudyProperties__
#define __SALOMEDS_mAttributeStudyProperties__

  class AttributeStudyProperties;
  class _objref_AttributeStudyProperties;
  class _impl_AttributeStudyProperties;
  
  typedef _objref_AttributeStudyProperties* AttributeStudyProperties_ptr;
  typedef AttributeStudyProperties_ptr AttributeStudyPropertiesRef;

  class AttributeStudyProperties_Helper {
  public:
    typedef AttributeStudyProperties_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_AttributeStudyProperties, AttributeStudyProperties_Helper> AttributeStudyProperties_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_AttributeStudyProperties,AttributeStudyProperties_Helper > AttributeStudyProperties_out;

#endif

#ifndef __SALOMEDS_mAttributeParameter__
#define __SALOMEDS_mAttributeParameter__

  class AttributeParameter;
  class _objref_AttributeParameter;
  class _impl_AttributeParameter;
  
  typedef _objref_AttributeParameter* AttributeParameter_ptr;
  typedef AttributeParameter_ptr AttributeParameterRef;

  class AttributeParameter_Helper {
  public:
    typedef AttributeParameter_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_AttributeParameter, AttributeParameter_Helper> AttributeParameter_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_AttributeParameter,AttributeParameter_Helper > AttributeParameter_out;

#endif

#ifndef __SALOMEDS_mUseCaseIterator__
#define __SALOMEDS_mUseCaseIterator__

  class UseCaseIterator;
  class _objref_UseCaseIterator;
  class _impl_UseCaseIterator;
  
  typedef _objref_UseCaseIterator* UseCaseIterator_ptr;
  typedef UseCaseIterator_ptr UseCaseIteratorRef;

  class UseCaseIterator_Helper {
  public:
    typedef UseCaseIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_UseCaseIterator, UseCaseIterator_Helper> UseCaseIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_UseCaseIterator,UseCaseIterator_Helper > UseCaseIterator_out;

#endif

#ifndef __SALOMEDS_mUseCaseBuilder__
#define __SALOMEDS_mUseCaseBuilder__

  class UseCaseBuilder;
  class _objref_UseCaseBuilder;
  class _impl_UseCaseBuilder;
  
  typedef _objref_UseCaseBuilder* UseCaseBuilder_ptr;
  typedef UseCaseBuilder_ptr UseCaseBuilderRef;

  class UseCaseBuilder_Helper {
  public:
    typedef UseCaseBuilder_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_UseCaseBuilder, UseCaseBuilder_Helper> UseCaseBuilder_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_UseCaseBuilder,UseCaseBuilder_Helper > UseCaseBuilder_out;

#endif

#ifndef __SALOMEDS_mObserver__
#define __SALOMEDS_mObserver__

  class Observer;
  class _objref_Observer;
  class _impl_Observer;
  
  typedef _objref_Observer* Observer_ptr;
  typedef Observer_ptr ObserverRef;

  class Observer_Helper {
  public:
    typedef Observer_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_Observer, Observer_Helper> Observer_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Observer,Observer_Helper > Observer_out;

#endif

  // interface Observer
  class Observer {
  public:
    // Declarations for this interface type.
    typedef Observer_ptr _ptr_type;
    typedef Observer_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_Observer :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    void notifyObserverID(const char* theID, ::CORBA::Long event);

    inline _objref_Observer()  { _PR_setobj(0); }  // nil
    _objref_Observer(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_Observer();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_Observer(const _objref_Observer&);
    _objref_Observer& operator = (const _objref_Observer&);
    // not implemented

    friend class Observer;
  };

  class _pof_Observer : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Observer() : _OMNI_NS(proxyObjectFactory)(Observer::_PD_repoId) {}
    virtual ~_pof_Observer();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_Observer :
    public virtual omniServant
  {
  public:
    virtual ~_impl_Observer();

    virtual void notifyObserverID(const char* theID, ::CORBA::Long event) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Observer;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfAttributes;

  class ListOfAttributes_var;

  class ListOfAttributes : public _CORBA_Unbounded_Sequence_ObjRef< _objref_GenericAttribute, _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper> , GenericAttribute_Helper >  {
  public:
    typedef ListOfAttributes_var _var_type;
    inline ListOfAttributes() {}
    inline ListOfAttributes(const ListOfAttributes& _s)
      : _CORBA_Unbounded_Sequence_ObjRef< _objref_GenericAttribute, _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper> , GenericAttribute_Helper > (_s) {}

    inline ListOfAttributes(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_ObjRef< _objref_GenericAttribute, _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper> , GenericAttribute_Helper > (_max) {}
    inline ListOfAttributes(_CORBA_ULong _max, _CORBA_ULong _len, GenericAttribute_ptr* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_ObjRef< _objref_GenericAttribute, _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper> , GenericAttribute_Helper > (_max, _len, _val, _rel) {}

  

    inline ListOfAttributes& operator = (const ListOfAttributes& _s) {
      _CORBA_Unbounded_Sequence_ObjRef< _objref_GenericAttribute, _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper> , GenericAttribute_Helper > ::operator=(_s);
      return *this;
    }
  };

  class ListOfAttributes_out;

  class ListOfAttributes_var {
  public:
    inline ListOfAttributes_var() : _pd_seq(0) {}
    inline ListOfAttributes_var(ListOfAttributes* _s) : _pd_seq(_s) {}
    inline ListOfAttributes_var(const ListOfAttributes_var& _s) {
      if( _s._pd_seq )  _pd_seq = new ListOfAttributes(*_s._pd_seq);
      else              _pd_seq = 0;
    }
    inline ~ListOfAttributes_var() { if( _pd_seq )  delete _pd_seq; }
      
    inline ListOfAttributes_var& operator = (ListOfAttributes* _s) {
      if( _pd_seq )  delete _pd_seq;
      _pd_seq = _s;
      return *this;
    }
    inline ListOfAttributes_var& operator = (const ListOfAttributes_var& _s) {
      if( _s._pd_seq ) {
        if( !_pd_seq )  _pd_seq = new ListOfAttributes;
        *_pd_seq = *_s._pd_seq;
      } else if( _pd_seq ) {
        delete _pd_seq;
        _pd_seq = 0;
      }
      return *this;
    }
    inline _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper>  operator [] (_CORBA_ULong _s) {
      return (*_pd_seq)[_s];
    }

  

    inline ListOfAttributes* operator -> () { return _pd_seq; }
    inline const ListOfAttributes* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
    inline operator ListOfAttributes& () const { return *_pd_seq; }
#else
    inline operator const ListOfAttributes& () const { return *_pd_seq; }
    inline operator ListOfAttributes& () { return *_pd_seq; }
#endif
      
    inline const ListOfAttributes& in() const { return *_pd_seq; }
    inline ListOfAttributes&       inout()    { return *_pd_seq; }
    inline ListOfAttributes*&      out() {
      if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
      return _pd_seq;
    }
    inline ListOfAttributes* _retn() { ListOfAttributes* tmp = _pd_seq; _pd_seq = 0; return tmp; }
      
    friend class ListOfAttributes_out;
    
  private:
    ListOfAttributes* _pd_seq;
  };

  class ListOfAttributes_out {
  public:
    inline ListOfAttributes_out(ListOfAttributes*& _s) : _data(_s) { _data = 0; }
    inline ListOfAttributes_out(ListOfAttributes_var& _s)
      : _data(_s._pd_seq) { _s = (ListOfAttributes*) 0; }
    inline ListOfAttributes_out(const ListOfAttributes_out& _s) : _data(_s._data) {}
    inline ListOfAttributes_out& operator = (const ListOfAttributes_out& _s) {
      _data = _s._data;
      return *this;
    }
    inline ListOfAttributes_out& operator = (ListOfAttributes* _s) {
      _data = _s;
      return *this;
    }
    inline operator ListOfAttributes*&()  { return _data; }
    inline ListOfAttributes*& ptr()       { return _data; }
    inline ListOfAttributes* operator->() { return _data; }

    inline _CORBA_ObjRef_Element< _objref_GenericAttribute, GenericAttribute_Helper>  operator [] (_CORBA_ULong _i) {
      return (*_data)[_i];
    }

  

    ListOfAttributes*& _data;

  private:
    ListOfAttributes_out();
    ListOfAttributes_out& operator=(const ListOfAttributes_var&);
  };

  class NotImplemented : public ::CORBA::UserException {
  public:
    
    

    inline NotImplemented() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    NotImplemented(const NotImplemented&);
    
    NotImplemented& operator=(const NotImplemented&);
    virtual ~NotImplemented();
    virtual void _raise() const;
    static NotImplemented* _downcast(::CORBA::Exception*);
    static const NotImplemented* _downcast(const ::CORBA::Exception*);
    static inline NotImplemented* _narrow(::CORBA::Exception* _e) {
      return _downcast(_e);
    }
    
    inline void operator>>=(cdrStream&) const { }
    inline void operator<<=(cdrStream&) { }

    static _core_attr insertExceptionToAny    insertToAnyFn;
    static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

    virtual ::CORBA::Exception* _NP_duplicate() const;

    static _core_attr const char* _PD_repoId;
    static _core_attr const char* _PD_typeId;

  private:
    virtual const char* _NP_typeId() const;
    virtual const char* _NP_repoId(int*) const;
    virtual void _NP_marshal(cdrStream&) const;
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NotImplemented;

#ifndef __SALOMEDS_mStudy__
#define __SALOMEDS_mStudy__

  class Study;
  class _objref_Study;
  class _impl_Study;
  
  typedef _objref_Study* Study_ptr;
  typedef Study_ptr StudyRef;

  class Study_Helper {
  public:
    typedef Study_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_Study, Study_Helper> Study_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Study,Study_Helper > Study_out;

#endif

  // interface Study
  class Study {
  public:
    // Declarations for this interface type.
    typedef Study_ptr _ptr_type;
    typedef Study_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    class StudyInvalidContext : public ::CORBA::UserException {
    public:
      
      

      inline StudyInvalidContext() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyInvalidContext(const StudyInvalidContext&);
      
      StudyInvalidContext& operator=(const StudyInvalidContext&);
      virtual ~StudyInvalidContext();
      virtual void _raise() const;
      static StudyInvalidContext* _downcast(::CORBA::Exception*);
      static const StudyInvalidContext* _downcast(const ::CORBA::Exception*);
      static inline StudyInvalidContext* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyInvalidContext;

    class StudyInvalidComponent : public ::CORBA::UserException {
    public:
      
      

      inline StudyInvalidComponent() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyInvalidComponent(const StudyInvalidComponent&);
      
      StudyInvalidComponent& operator=(const StudyInvalidComponent&);
      virtual ~StudyInvalidComponent();
      virtual void _raise() const;
      static StudyInvalidComponent* _downcast(::CORBA::Exception*);
      static const StudyInvalidComponent* _downcast(const ::CORBA::Exception*);
      static inline StudyInvalidComponent* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyInvalidComponent;

    class StudyInvalidDirectory : public ::CORBA::UserException {
    public:
      
      

      inline StudyInvalidDirectory() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyInvalidDirectory(const StudyInvalidDirectory&);
      
      StudyInvalidDirectory& operator=(const StudyInvalidDirectory&);
      virtual ~StudyInvalidDirectory();
      virtual void _raise() const;
      static StudyInvalidDirectory* _downcast(::CORBA::Exception*);
      static const StudyInvalidDirectory* _downcast(const ::CORBA::Exception*);
      static inline StudyInvalidDirectory* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyInvalidDirectory;

    class StudyNameAlreadyUsed : public ::CORBA::UserException {
    public:
      
      

      inline StudyNameAlreadyUsed() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyNameAlreadyUsed(const StudyNameAlreadyUsed&);
      
      StudyNameAlreadyUsed& operator=(const StudyNameAlreadyUsed&);
      virtual ~StudyNameAlreadyUsed();
      virtual void _raise() const;
      static StudyNameAlreadyUsed* _downcast(::CORBA::Exception*);
      static const StudyNameAlreadyUsed* _downcast(const ::CORBA::Exception*);
      static inline StudyNameAlreadyUsed* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyNameAlreadyUsed;

    class StudyObjectAlreadyExists : public ::CORBA::UserException {
    public:
      
      

      inline StudyObjectAlreadyExists() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyObjectAlreadyExists(const StudyObjectAlreadyExists&);
      
      StudyObjectAlreadyExists& operator=(const StudyObjectAlreadyExists&);
      virtual ~StudyObjectAlreadyExists();
      virtual void _raise() const;
      static StudyObjectAlreadyExists* _downcast(::CORBA::Exception*);
      static const StudyObjectAlreadyExists* _downcast(const ::CORBA::Exception*);
      static inline StudyObjectAlreadyExists* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyObjectAlreadyExists;

    class StudyNameError : public ::CORBA::UserException {
    public:
      
      

      inline StudyNameError() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyNameError(const StudyNameError&);
      
      StudyNameError& operator=(const StudyNameError&);
      virtual ~StudyNameError();
      virtual void _raise() const;
      static StudyNameError* _downcast(::CORBA::Exception*);
      static const StudyNameError* _downcast(const ::CORBA::Exception*);
      static inline StudyNameError* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyNameError;

    class StudyCommentError : public ::CORBA::UserException {
    public:
      
      

      inline StudyCommentError() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      StudyCommentError(const StudyCommentError&);
      
      StudyCommentError& operator=(const StudyCommentError&);
      virtual ~StudyCommentError();
      virtual void _raise() const;
      static StudyCommentError* _downcast(::CORBA::Exception*);
      static const StudyCommentError* _downcast(const ::CORBA::Exception*);
      static inline StudyCommentError* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyCommentError;

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_ListOfSObject;

    class ListOfSObject_var;

    class ListOfSObject : public _CORBA_Unbounded_Sequence_ObjRef< _objref_SObject, _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper> , SObject_Helper >  {
    public:
      typedef ListOfSObject_var _var_type;
      inline ListOfSObject() {}
      inline ListOfSObject(const ListOfSObject& _s)
        : _CORBA_Unbounded_Sequence_ObjRef< _objref_SObject, _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper> , SObject_Helper > (_s) {}

      inline ListOfSObject(_CORBA_ULong _max)
        : _CORBA_Unbounded_Sequence_ObjRef< _objref_SObject, _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper> , SObject_Helper > (_max) {}
      inline ListOfSObject(_CORBA_ULong _max, _CORBA_ULong _len, SObject_ptr* _val, _CORBA_Boolean _rel=0)
        : _CORBA_Unbounded_Sequence_ObjRef< _objref_SObject, _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper> , SObject_Helper > (_max, _len, _val, _rel) {}

    

      inline ListOfSObject& operator = (const ListOfSObject& _s) {
        _CORBA_Unbounded_Sequence_ObjRef< _objref_SObject, _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper> , SObject_Helper > ::operator=(_s);
        return *this;
      }
    };

    class ListOfSObject_out;

    class ListOfSObject_var {
    public:
      inline ListOfSObject_var() : _pd_seq(0) {}
      inline ListOfSObject_var(ListOfSObject* _s) : _pd_seq(_s) {}
      inline ListOfSObject_var(const ListOfSObject_var& _s) {
        if( _s._pd_seq )  _pd_seq = new ListOfSObject(*_s._pd_seq);
        else              _pd_seq = 0;
      }
      inline ~ListOfSObject_var() { if( _pd_seq )  delete _pd_seq; }
        
      inline ListOfSObject_var& operator = (ListOfSObject* _s) {
        if( _pd_seq )  delete _pd_seq;
        _pd_seq = _s;
        return *this;
      }
      inline ListOfSObject_var& operator = (const ListOfSObject_var& _s) {
        if( _s._pd_seq ) {
          if( !_pd_seq )  _pd_seq = new ListOfSObject;
          *_pd_seq = *_s._pd_seq;
        } else if( _pd_seq ) {
          delete _pd_seq;
          _pd_seq = 0;
        }
        return *this;
      }
      inline _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper>  operator [] (_CORBA_ULong _s) {
        return (*_pd_seq)[_s];
      }

    

      inline ListOfSObject* operator -> () { return _pd_seq; }
      inline const ListOfSObject* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
      inline operator ListOfSObject& () const { return *_pd_seq; }
#else
      inline operator const ListOfSObject& () const { return *_pd_seq; }
      inline operator ListOfSObject& () { return *_pd_seq; }
#endif
        
      inline const ListOfSObject& in() const { return *_pd_seq; }
      inline ListOfSObject&       inout()    { return *_pd_seq; }
      inline ListOfSObject*&      out() {
        if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
        return _pd_seq;
      }
      inline ListOfSObject* _retn() { ListOfSObject* tmp = _pd_seq; _pd_seq = 0; return tmp; }
        
      friend class ListOfSObject_out;
      
    private:
      ListOfSObject* _pd_seq;
    };

    class ListOfSObject_out {
    public:
      inline ListOfSObject_out(ListOfSObject*& _s) : _data(_s) { _data = 0; }
      inline ListOfSObject_out(ListOfSObject_var& _s)
        : _data(_s._pd_seq) { _s = (ListOfSObject*) 0; }
      inline ListOfSObject_out(const ListOfSObject_out& _s) : _data(_s._data) {}
      inline ListOfSObject_out& operator = (const ListOfSObject_out& _s) {
        _data = _s._data;
        return *this;
      }
      inline ListOfSObject_out& operator = (ListOfSObject* _s) {
        _data = _s;
        return *this;
      }
      inline operator ListOfSObject*&()  { return _data; }
      inline ListOfSObject*& ptr()       { return _data; }
      inline ListOfSObject* operator->() { return _data; }

      inline _CORBA_ObjRef_Element< _objref_SObject, SObject_Helper>  operator [] (_CORBA_ULong _i) {
        return (*_data)[_i];
      }

    

      ListOfSObject*& _data;

    private:
      ListOfSObject_out();
      ListOfSObject_out& operator=(const ListOfSObject_var&);
    };

  
  };

  class _objref_Study :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    char* GetPersistentReference();
    char* GetTransientReference();
    ::CORBA::Boolean IsEmpty();
    SComponent_ptr FindComponent(const char* aComponentName);
    SComponent_ptr FindComponentID(const char* aComponentID);
    SObject_ptr FindObject(const char* anObjectName);
    SObject_ptr FindObjectID(const char* aObjectID);
    SObject_ptr CreateObjectID(const char* aObjectID);
    SObject_ptr FindObjectIOR(const char* aObjectIOR);
    Study::ListOfSObject* FindObjectByName(const char* anObjectName, const char* aComponentName);
    SObject_ptr FindObjectByPath(const char* thePath);
    char* GetObjectPath(::CORBA::Object_ptr theObject);
    void SetContext(const char* thePath);
    char* GetContext();
    ListOfStrings* GetObjectNames(const char* theContext);
    ListOfStrings* GetDirectoryNames(const char* theContext);
    ListOfStrings* GetFileNames(const char* theContext);
    ListOfStrings* GetComponentNames(const char* theContext);
    ChildIterator_ptr NewChildIterator(::SALOMEDS::SObject_ptr aSO);
    SComponentIterator_ptr NewComponentIterator();
    StudyBuilder_ptr NewBuilder();
    void UpdateIORLabelMap(const char* anIOR, const char* anEntry);
    AttributeStudyProperties_ptr GetProperties();
    ::CORBA::Boolean IsModified();
    void Modified();
    Study::ListOfSObject* FindDependances(::SALOMEDS::SObject_ptr anObject);
    char* GetLastModificationDate();
    ListOfDates* GetModificationsDate();
    char* ConvertObjectToIOR(::CORBA::Object_ptr theObject);
    ::CORBA::Object_ptr ConvertIORToObject(const char* theIOR);
    UseCaseBuilder_ptr GetUseCaseBuilder();
    void Close();
    void EnableUseCaseAutoFilling(::CORBA::Boolean isEnabled);
    void AddPostponed(const char* theIOR);
    void AddCreatedPostponed(const char* theIOR);
    void RemovePostponed(::CORBA::Long theUndoLimit);
    void UndoPostponed(::CORBA::Long theWay);
    ::CORBA::Boolean DumpStudy(const char* thePath, const char* theBaseName, ::CORBA::Boolean isPublished, ::CORBA::Boolean isMultiFile);
    AttributeParameter_ptr GetCommonParameters(const char* theID, ::CORBA::Long theSavePoint);
    AttributeParameter_ptr GetModuleParameters(const char* theID, const char* theModuleName, ::CORBA::Long theSavePoint);
    char* GetDefaultScript(const char* theID, const char* theModuleName);
    ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal);
    void SetStudyLock(const char* theLockerID);
    ::CORBA::Boolean IsStudyLocked();
    void UnLockStudy(const char* theLockerID);
    ListOfStrings* GetLockerID();
    void SetReal(const char* theVarName, ::CORBA::Double theValue);
    void SetInteger(const char* theVarName, ::CORBA::Long theValue);
    void SetBoolean(const char* theVarName, ::CORBA::Boolean theValue);
    void SetString(const char* theVarName, const char* theValue);
    void SetStringAsDouble(const char* theVarName, ::CORBA::Double theValue);
    ::CORBA::Double GetReal(const char* theVarName);
    ::CORBA::Long GetInteger(const char* theVarName);
    ::CORBA::Boolean GetBoolean(const char* theVarName);
    char* GetString(const char* theVarName);
    ::CORBA::Boolean IsReal(const char* theVarName);
    ::CORBA::Boolean IsInteger(const char* theVarName);
    ::CORBA::Boolean IsBoolean(const char* theVarName);
    ::CORBA::Boolean IsString(const char* theVarName);
    ::CORBA::Boolean IsVariable(const char* theVarName);
    ListOfStrings* GetVariableNames();
    ::CORBA::Boolean RemoveVariable(const char* theVarName);
    ::CORBA::Boolean RenameVariable(const char* theVarName, const char* theNewVarName);
    ::CORBA::Boolean IsVariableUsed(const char* theVarName);
    ListOfListOfStrings* ParseVariables(const char* theVars);
    void attach(::SALOMEDS::Observer_ptr theObserver, ::CORBA::Boolean modify);
    char* Name();
    void Name(const char* _v);
    ::CORBA::Short StudyId();
    void StudyId(::CORBA::Short _v);
    ::CORBA::Boolean IsSaved();
    void IsSaved(::CORBA::Boolean _v);
    char* URL();
    void URL(const char* _v);

    inline _objref_Study()  { _PR_setobj(0); }  // nil
    _objref_Study(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_Study();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_Study(const _objref_Study&);
    _objref_Study& operator = (const _objref_Study&);
    // not implemented

    friend class Study;
  };

  class _pof_Study : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Study() : _OMNI_NS(proxyObjectFactory)(Study::_PD_repoId) {}
    virtual ~_pof_Study();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_Study :
    public virtual omniServant
  {
  public:
    virtual ~_impl_Study();

    virtual char* GetPersistentReference() = 0;
    virtual char* GetTransientReference() = 0;
    virtual ::CORBA::Boolean IsEmpty() = 0;
    virtual SComponent_ptr FindComponent(const char* aComponentName) = 0;
    virtual SComponent_ptr FindComponentID(const char* aComponentID) = 0;
    virtual SObject_ptr FindObject(const char* anObjectName) = 0;
    virtual SObject_ptr FindObjectID(const char* aObjectID) = 0;
    virtual SObject_ptr CreateObjectID(const char* aObjectID) = 0;
    virtual SObject_ptr FindObjectIOR(const char* aObjectIOR) = 0;
    virtual Study::ListOfSObject* FindObjectByName(const char* anObjectName, const char* aComponentName) = 0;
    virtual SObject_ptr FindObjectByPath(const char* thePath) = 0;
    virtual char* GetObjectPath(::CORBA::Object_ptr theObject) = 0;
    virtual void SetContext(const char* thePath) = 0;
    virtual char* GetContext() = 0;
    virtual ListOfStrings* GetObjectNames(const char* theContext) = 0;
    virtual ListOfStrings* GetDirectoryNames(const char* theContext) = 0;
    virtual ListOfStrings* GetFileNames(const char* theContext) = 0;
    virtual ListOfStrings* GetComponentNames(const char* theContext) = 0;
    virtual ChildIterator_ptr NewChildIterator(::SALOMEDS::SObject_ptr aSO) = 0;
    virtual SComponentIterator_ptr NewComponentIterator() = 0;
    virtual StudyBuilder_ptr NewBuilder() = 0;
    virtual void UpdateIORLabelMap(const char* anIOR, const char* anEntry) = 0;
    virtual AttributeStudyProperties_ptr GetProperties() = 0;
    virtual ::CORBA::Boolean IsModified() = 0;
    virtual void Modified() = 0;
    virtual Study::ListOfSObject* FindDependances(::SALOMEDS::SObject_ptr anObject) = 0;
    virtual char* GetLastModificationDate() = 0;
    virtual ListOfDates* GetModificationsDate() = 0;
    virtual char* ConvertObjectToIOR(::CORBA::Object_ptr theObject) = 0;
    virtual ::CORBA::Object_ptr ConvertIORToObject(const char* theIOR) = 0;
    virtual UseCaseBuilder_ptr GetUseCaseBuilder() = 0;
    virtual void Close() = 0;
    virtual void EnableUseCaseAutoFilling(::CORBA::Boolean isEnabled) = 0;
    virtual void AddPostponed(const char* theIOR) = 0;
    virtual void AddCreatedPostponed(const char* theIOR) = 0;
    virtual void RemovePostponed(::CORBA::Long theUndoLimit) = 0;
    virtual void UndoPostponed(::CORBA::Long theWay) = 0;
    virtual ::CORBA::Boolean DumpStudy(const char* thePath, const char* theBaseName, ::CORBA::Boolean isPublished, ::CORBA::Boolean isMultiFile) = 0;
    virtual AttributeParameter_ptr GetCommonParameters(const char* theID, ::CORBA::Long theSavePoint) = 0;
    virtual AttributeParameter_ptr GetModuleParameters(const char* theID, const char* theModuleName, ::CORBA::Long theSavePoint) = 0;
    virtual char* GetDefaultScript(const char* theID, const char* theModuleName) = 0;
    virtual ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal) = 0;
    virtual void SetStudyLock(const char* theLockerID) = 0;
    virtual ::CORBA::Boolean IsStudyLocked() = 0;
    virtual void UnLockStudy(const char* theLockerID) = 0;
    virtual ListOfStrings* GetLockerID() = 0;
    virtual void SetReal(const char* theVarName, ::CORBA::Double theValue) = 0;
    virtual void SetInteger(const char* theVarName, ::CORBA::Long theValue) = 0;
    virtual void SetBoolean(const char* theVarName, ::CORBA::Boolean theValue) = 0;
    virtual void SetString(const char* theVarName, const char* theValue) = 0;
    virtual void SetStringAsDouble(const char* theVarName, ::CORBA::Double theValue) = 0;
    virtual ::CORBA::Double GetReal(const char* theVarName) = 0;
    virtual ::CORBA::Long GetInteger(const char* theVarName) = 0;
    virtual ::CORBA::Boolean GetBoolean(const char* theVarName) = 0;
    virtual char* GetString(const char* theVarName) = 0;
    virtual ::CORBA::Boolean IsReal(const char* theVarName) = 0;
    virtual ::CORBA::Boolean IsInteger(const char* theVarName) = 0;
    virtual ::CORBA::Boolean IsBoolean(const char* theVarName) = 0;
    virtual ::CORBA::Boolean IsString(const char* theVarName) = 0;
    virtual ::CORBA::Boolean IsVariable(const char* theVarName) = 0;
    virtual ListOfStrings* GetVariableNames() = 0;
    virtual ::CORBA::Boolean RemoveVariable(const char* theVarName) = 0;
    virtual ::CORBA::Boolean RenameVariable(const char* theVarName, const char* theNewVarName) = 0;
    virtual ::CORBA::Boolean IsVariableUsed(const char* theVarName) = 0;
    virtual ListOfListOfStrings* ParseVariables(const char* theVars) = 0;
    virtual void attach(::SALOMEDS::Observer_ptr theObserver, ::CORBA::Boolean modify) = 0;
    virtual char* Name() = 0;
    virtual void Name(const char* _v) = 0;
    virtual ::CORBA::Short StudyId() = 0;
    virtual void StudyId(::CORBA::Short _v) = 0;
    virtual ::CORBA::Boolean IsSaved() = 0;
    virtual void IsSaved(::CORBA::Boolean _v) = 0;
    virtual char* URL() = 0;
    virtual void URL(const char* _v) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Study;

#ifndef __SALOMEDS_mStudyBuilder__
#define __SALOMEDS_mStudyBuilder__

  class StudyBuilder;
  class _objref_StudyBuilder;
  class _impl_StudyBuilder;
  
  typedef _objref_StudyBuilder* StudyBuilder_ptr;
  typedef StudyBuilder_ptr StudyBuilderRef;

  class StudyBuilder_Helper {
  public:
    typedef StudyBuilder_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_StudyBuilder, StudyBuilder_Helper> StudyBuilder_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_StudyBuilder,StudyBuilder_Helper > StudyBuilder_out;

#endif

  // interface StudyBuilder
  class StudyBuilder {
  public:
    // Declarations for this interface type.
    typedef StudyBuilder_ptr _ptr_type;
    typedef StudyBuilder_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    class LockProtection : public ::CORBA::UserException {
    public:
      
      

      inline LockProtection() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      LockProtection(const LockProtection&);
      
      LockProtection& operator=(const LockProtection&);
      virtual ~LockProtection();
      virtual void _raise() const;
      static LockProtection* _downcast(::CORBA::Exception*);
      static const LockProtection* _downcast(const ::CORBA::Exception*);
      static inline LockProtection* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_LockProtection;

  
  };

  class _objref_StudyBuilder :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    SComponent_ptr NewComponent(const char* ComponentDataType);
    void DefineComponentInstance(::SALOMEDS::SComponent_ptr aComponent, ::CORBA::Object_ptr ComponentIOR);
    void RemoveComponent(::SALOMEDS::SComponent_ptr aComponent);
    SObject_ptr NewObject(::SALOMEDS::SObject_ptr theFatherObject);
    SObject_ptr NewObjectToTag(::SALOMEDS::SObject_ptr theFatherObject, ::CORBA::Long atag);
    void RemoveObject(::SALOMEDS::SObject_ptr anObject);
    void RemoveObjectWithChildren(::SALOMEDS::SObject_ptr anObject);
    void LoadWith(::SALOMEDS::SComponent_ptr sco, ::SALOMEDS::Driver_ptr Engine);
    void Load(::SALOMEDS::SObject_ptr sco);
    GenericAttribute_ptr FindOrCreateAttribute(::SALOMEDS::SObject_ptr anObject, const char* aTypeOfAttribute);
    ::CORBA::Boolean FindAttribute(::SALOMEDS::SObject_ptr anObject, ::SALOMEDS::GenericAttribute_out anAttribute, const char* aTypeOfAttribute);
    void RemoveAttribute(::SALOMEDS::SObject_ptr anObject, const char* aTypeOfAttribute);
    void Addreference(::SALOMEDS::SObject_ptr anObject, ::SALOMEDS::SObject_ptr theReferencedObject);
    void RemoveReference(::SALOMEDS::SObject_ptr anObject);
    void AddDirectory(const char* theName);
    void SetGUID(::SALOMEDS::SObject_ptr anObject, const char* theGUID);
    ::CORBA::Boolean IsGUID(::SALOMEDS::SObject_ptr anObject, const char* theGUID);
    void NewCommand();
    void CommitCommand();
    ::CORBA::Boolean HasOpenCommand();
    void AbortCommand();
    void Undo();
    void Redo();
    ::CORBA::Boolean GetAvailableUndos();
    ::CORBA::Boolean GetAvailableRedos();
    void SetName(::SALOMEDS::SObject_ptr theSO, const char* theValue);
    void SetComment(::SALOMEDS::SObject_ptr theSO, const char* theValue);
    void SetIOR(::SALOMEDS::SObject_ptr theSO, const char* theValue);
    ::CORBA::Long UndoLimit();
    void UndoLimit(::CORBA::Long _v);

    inline _objref_StudyBuilder()  { _PR_setobj(0); }  // nil
    _objref_StudyBuilder(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_StudyBuilder();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_StudyBuilder(const _objref_StudyBuilder&);
    _objref_StudyBuilder& operator = (const _objref_StudyBuilder&);
    // not implemented

    friend class StudyBuilder;
  };

  class _pof_StudyBuilder : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_StudyBuilder() : _OMNI_NS(proxyObjectFactory)(StudyBuilder::_PD_repoId) {}
    virtual ~_pof_StudyBuilder();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_StudyBuilder :
    public virtual omniServant
  {
  public:
    virtual ~_impl_StudyBuilder();

    virtual SComponent_ptr NewComponent(const char* ComponentDataType) = 0;
    virtual void DefineComponentInstance(::SALOMEDS::SComponent_ptr aComponent, ::CORBA::Object_ptr ComponentIOR) = 0;
    virtual void RemoveComponent(::SALOMEDS::SComponent_ptr aComponent) = 0;
    virtual SObject_ptr NewObject(::SALOMEDS::SObject_ptr theFatherObject) = 0;
    virtual SObject_ptr NewObjectToTag(::SALOMEDS::SObject_ptr theFatherObject, ::CORBA::Long atag) = 0;
    virtual void RemoveObject(::SALOMEDS::SObject_ptr anObject) = 0;
    virtual void RemoveObjectWithChildren(::SALOMEDS::SObject_ptr anObject) = 0;
    virtual void LoadWith(::SALOMEDS::SComponent_ptr sco, ::SALOMEDS::Driver_ptr Engine) = 0;
    virtual void Load(::SALOMEDS::SObject_ptr sco) = 0;
    virtual GenericAttribute_ptr FindOrCreateAttribute(::SALOMEDS::SObject_ptr anObject, const char* aTypeOfAttribute) = 0;
    virtual ::CORBA::Boolean FindAttribute(::SALOMEDS::SObject_ptr anObject, ::SALOMEDS::GenericAttribute_out anAttribute, const char* aTypeOfAttribute) = 0;
    virtual void RemoveAttribute(::SALOMEDS::SObject_ptr anObject, const char* aTypeOfAttribute) = 0;
    virtual void Addreference(::SALOMEDS::SObject_ptr anObject, ::SALOMEDS::SObject_ptr theReferencedObject) = 0;
    virtual void RemoveReference(::SALOMEDS::SObject_ptr anObject) = 0;
    virtual void AddDirectory(const char* theName) = 0;
    virtual void SetGUID(::SALOMEDS::SObject_ptr anObject, const char* theGUID) = 0;
    virtual ::CORBA::Boolean IsGUID(::SALOMEDS::SObject_ptr anObject, const char* theGUID) = 0;
    virtual void NewCommand() = 0;
    virtual void CommitCommand() = 0;
    virtual ::CORBA::Boolean HasOpenCommand() = 0;
    virtual void AbortCommand() = 0;
    virtual void Undo() = 0;
    virtual void Redo() = 0;
    virtual ::CORBA::Boolean GetAvailableUndos() = 0;
    virtual ::CORBA::Boolean GetAvailableRedos() = 0;
    virtual void SetName(::SALOMEDS::SObject_ptr theSO, const char* theValue) = 0;
    virtual void SetComment(::SALOMEDS::SObject_ptr theSO, const char* theValue) = 0;
    virtual void SetIOR(::SALOMEDS::SObject_ptr theSO, const char* theValue) = 0;
    virtual ::CORBA::Long UndoLimit() = 0;
    virtual void UndoLimit(::CORBA::Long _v) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyBuilder;

#ifndef __SALOMEDS_mStudyManager__
#define __SALOMEDS_mStudyManager__

  class StudyManager;
  class _objref_StudyManager;
  class _impl_StudyManager;
  
  typedef _objref_StudyManager* StudyManager_ptr;
  typedef StudyManager_ptr StudyManagerRef;

  class StudyManager_Helper {
  public:
    typedef StudyManager_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_StudyManager, StudyManager_Helper> StudyManager_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_StudyManager,StudyManager_Helper > StudyManager_out;

#endif

  // interface StudyManager
  class StudyManager {
  public:
    // Declarations for this interface type.
    typedef StudyManager_ptr _ptr_type;
    typedef StudyManager_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_StudyManager :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    void ping();
    void Shutdown();
    ::CORBA::Long getPID();
    void ShutdownWithExit();
    Study_ptr NewStudy(const char* study_name);
    Study_ptr Open(const char* aStudyUrl);
    void Close(::SALOMEDS::Study_ptr aStudy);
    ::CORBA::Boolean Save(::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile);
    ::CORBA::Boolean SaveASCII(::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile);
    ::CORBA::Boolean SaveAs(const char* aUrl, ::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile);
    ::CORBA::Boolean SaveAsASCII(const char* aUrl, ::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile);
    ListOfOpenStudies* GetOpenStudies();
    Study_ptr GetStudyByName(const char* aStudyName);
    Study_ptr GetStudyByID(::CORBA::Short aStudyID);
    ::CORBA::Boolean CanCopy(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean Copy(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean CanPaste(::SALOMEDS::SObject_ptr theObject);
    SObject_ptr Paste(::SALOMEDS::SObject_ptr theObject);
    char* ConvertObjectToIOR(::CORBA::Object_ptr theObject);
    ::CORBA::Object_ptr ConvertIORToObject(const char* theIOR);
    ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal);

    inline _objref_StudyManager()  { _PR_setobj(0); }  // nil
    _objref_StudyManager(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_StudyManager();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_StudyManager(const _objref_StudyManager&);
    _objref_StudyManager& operator = (const _objref_StudyManager&);
    // not implemented

    friend class StudyManager;
  };

  class _pof_StudyManager : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_StudyManager() : _OMNI_NS(proxyObjectFactory)(StudyManager::_PD_repoId) {}
    virtual ~_pof_StudyManager();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_StudyManager :
    public virtual omniServant
  {
  public:
    virtual ~_impl_StudyManager();

    virtual void ping() = 0;
    virtual void Shutdown() = 0;
    virtual ::CORBA::Long getPID() = 0;
    virtual void ShutdownWithExit() = 0;
    virtual Study_ptr NewStudy(const char* study_name) = 0;
    virtual Study_ptr Open(const char* aStudyUrl) = 0;
    virtual void Close(::SALOMEDS::Study_ptr aStudy) = 0;
    virtual ::CORBA::Boolean Save(::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile) = 0;
    virtual ::CORBA::Boolean SaveASCII(::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile) = 0;
    virtual ::CORBA::Boolean SaveAs(const char* aUrl, ::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile) = 0;
    virtual ::CORBA::Boolean SaveAsASCII(const char* aUrl, ::SALOMEDS::Study_ptr aStudy, ::CORBA::Boolean theMultiFile) = 0;
    virtual ListOfOpenStudies* GetOpenStudies() = 0;
    virtual Study_ptr GetStudyByName(const char* aStudyName) = 0;
    virtual Study_ptr GetStudyByID(::CORBA::Short aStudyID) = 0;
    virtual ::CORBA::Boolean CanCopy(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean Copy(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean CanPaste(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual SObject_ptr Paste(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual char* ConvertObjectToIOR(::CORBA::Object_ptr theObject) = 0;
    virtual ::CORBA::Object_ptr ConvertIORToObject(const char* theIOR) = 0;
    virtual ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_StudyManager;

#ifndef __SALOMEDS_mSObject__
#define __SALOMEDS_mSObject__

  class SObject;
  class _objref_SObject;
  class _impl_SObject;
  
  typedef _objref_SObject* SObject_ptr;
  typedef SObject_ptr SObjectRef;

  class SObject_Helper {
  public:
    typedef SObject_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SObject, SObject_Helper> SObject_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SObject,SObject_Helper > SObject_out;

#endif

  // interface SObject
  class SObject {
  public:
    // Declarations for this interface type.
    typedef SObject_ptr _ptr_type;
    typedef SObject_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_SObject :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    ::CORBA::Boolean IsNull();
    char* GetID();
    SComponent_ptr GetFatherComponent();
    SObject_ptr GetFather();
    ::CORBA::Short Tag();
    ::CORBA::Short Depth();
    ::CORBA::Boolean FindSubObject(::CORBA::Long atag, ::SALOMEDS::SObject_out obj);
    ::CORBA::Boolean FindAttribute(::SALOMEDS::GenericAttribute_out anAttribute, const char* aTypeOfAttribute);
    ::CORBA::Boolean ReferencedObject(::SALOMEDS::SObject_out obj);
    ListOfAttributes* GetAllAttributes();
    Study_ptr GetStudy();
    ::CORBA::Object_ptr GetObject();
    char* GetName();
    char* GetComment();
    char* GetIOR();
    void SetAttrString(const char* name, const char* value);
    ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal);
    char* Name();
    void Name(const char* _v);

    inline _objref_SObject()  { _PR_setobj(0); }  // nil
    _objref_SObject(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_SObject();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_SObject(const _objref_SObject&);
    _objref_SObject& operator = (const _objref_SObject&);
    // not implemented

    friend class SObject;
  };

  class _pof_SObject : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_SObject() : _OMNI_NS(proxyObjectFactory)(SObject::_PD_repoId) {}
    virtual ~_pof_SObject();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_SObject :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_SObject();

    virtual ::CORBA::Boolean IsNull() = 0;
    virtual char* GetID() = 0;
    virtual SComponent_ptr GetFatherComponent() = 0;
    virtual SObject_ptr GetFather() = 0;
    virtual ::CORBA::Short Tag() = 0;
    virtual ::CORBA::Short Depth() = 0;
    virtual ::CORBA::Boolean FindSubObject(::CORBA::Long atag, ::SALOMEDS::SObject_out obj) = 0;
    virtual ::CORBA::Boolean FindAttribute(::SALOMEDS::GenericAttribute_out anAttribute, const char* aTypeOfAttribute) = 0;
    virtual ::CORBA::Boolean ReferencedObject(::SALOMEDS::SObject_out obj) = 0;
    virtual ListOfAttributes* GetAllAttributes() = 0;
    virtual Study_ptr GetStudy() = 0;
    virtual ::CORBA::Object_ptr GetObject() = 0;
    virtual char* GetName() = 0;
    virtual char* GetComment() = 0;
    virtual char* GetIOR() = 0;
    virtual void SetAttrString(const char* name, const char* value) = 0;
    virtual ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal) = 0;
    virtual char* Name() = 0;
    virtual void Name(const char* _v) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_SObject;

#ifndef __SALOMEDS_mGenericAttribute__
#define __SALOMEDS_mGenericAttribute__

  class GenericAttribute;
  class _objref_GenericAttribute;
  class _impl_GenericAttribute;
  
  typedef _objref_GenericAttribute* GenericAttribute_ptr;
  typedef GenericAttribute_ptr GenericAttributeRef;

  class GenericAttribute_Helper {
  public:
    typedef GenericAttribute_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_GenericAttribute, GenericAttribute_Helper> GenericAttribute_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_GenericAttribute,GenericAttribute_Helper > GenericAttribute_out;

#endif

  // interface GenericAttribute
  class GenericAttribute {
  public:
    // Declarations for this interface type.
    typedef GenericAttribute_ptr _ptr_type;
    typedef GenericAttribute_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    class LockProtection : public ::CORBA::UserException {
    public:
      
      

      inline LockProtection() {
        pd_insertToAnyFn    = insertToAnyFn;
        pd_insertToAnyFnNCP = insertToAnyFnNCP;
      }
      LockProtection(const LockProtection&);
      
      LockProtection& operator=(const LockProtection&);
      virtual ~LockProtection();
      virtual void _raise() const;
      static LockProtection* _downcast(::CORBA::Exception*);
      static const LockProtection* _downcast(const ::CORBA::Exception*);
      static inline LockProtection* _narrow(::CORBA::Exception* _e) {
        return _downcast(_e);
      }
      
      inline void operator>>=(cdrStream&) const { }
      inline void operator<<=(cdrStream&) { }

      static _core_attr insertExceptionToAny    insertToAnyFn;
      static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;

      virtual ::CORBA::Exception* _NP_duplicate() const;

      static _core_attr const char* _PD_repoId;
      static _core_attr const char* _PD_typeId;

    private:
      virtual const char* _NP_typeId() const;
      virtual const char* _NP_repoId(int*) const;
      virtual void _NP_marshal(cdrStream&) const;
    };

    static _dyn_attr const ::CORBA::TypeCode_ptr _tc_LockProtection;

  
  };

  class _objref_GenericAttribute :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    void CheckLocked();
    char* Type();
    char* GetClassType();
    SObject_ptr GetSObject();
    ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal);

    inline _objref_GenericAttribute()  { _PR_setobj(0); }  // nil
    _objref_GenericAttribute(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_GenericAttribute();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_GenericAttribute(const _objref_GenericAttribute&);
    _objref_GenericAttribute& operator = (const _objref_GenericAttribute&);
    // not implemented

    friend class GenericAttribute;
  };

  class _pof_GenericAttribute : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_GenericAttribute() : _OMNI_NS(proxyObjectFactory)(GenericAttribute::_PD_repoId) {}
    virtual ~_pof_GenericAttribute();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_GenericAttribute :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_GenericAttribute();

    virtual void CheckLocked() = 0;
    virtual char* Type() = 0;
    virtual char* GetClassType() = 0;
    virtual SObject_ptr GetSObject() = 0;
    virtual ::CORBA::LongLong GetLocalImpl(const char* theHostname, ::CORBA::Long thePID, ::CORBA::Boolean& isLocal) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_GenericAttribute;

#ifndef __SALOMEDS_mSComponent__
#define __SALOMEDS_mSComponent__

  class SComponent;
  class _objref_SComponent;
  class _impl_SComponent;
  
  typedef _objref_SComponent* SComponent_ptr;
  typedef SComponent_ptr SComponentRef;

  class SComponent_Helper {
  public:
    typedef SComponent_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SComponent, SComponent_Helper> SComponent_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SComponent,SComponent_Helper > SComponent_out;

#endif

  // interface SComponent
  class SComponent {
  public:
    // Declarations for this interface type.
    typedef SComponent_ptr _ptr_type;
    typedef SComponent_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_SComponent :
    public virtual _objref_SObject
  {
  public:
    char* ComponentDataType();
    ::CORBA::Boolean ComponentIOR(::SALOMEDS::ID_out theID);

    inline _objref_SComponent()  { _PR_setobj(0); }  // nil
    _objref_SComponent(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_SComponent();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_SComponent(const _objref_SComponent&);
    _objref_SComponent& operator = (const _objref_SComponent&);
    // not implemented

    friend class SComponent;
  };

  class _pof_SComponent : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_SComponent() : _OMNI_NS(proxyObjectFactory)(SComponent::_PD_repoId) {}
    virtual ~_pof_SComponent();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_SComponent :
    public virtual _impl_SObject
  {
  public:
    virtual ~_impl_SComponent();

    virtual char* ComponentDataType() = 0;
    virtual ::CORBA::Boolean ComponentIOR(::SALOMEDS::ID_out theID) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_SComponent;

#ifndef __SALOMEDS_mSComponentIterator__
#define __SALOMEDS_mSComponentIterator__

  class SComponentIterator;
  class _objref_SComponentIterator;
  class _impl_SComponentIterator;
  
  typedef _objref_SComponentIterator* SComponentIterator_ptr;
  typedef SComponentIterator_ptr SComponentIteratorRef;

  class SComponentIterator_Helper {
  public:
    typedef SComponentIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_SComponentIterator, SComponentIterator_Helper> SComponentIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_SComponentIterator,SComponentIterator_Helper > SComponentIterator_out;

#endif

  // interface SComponentIterator
  class SComponentIterator {
  public:
    // Declarations for this interface type.
    typedef SComponentIterator_ptr _ptr_type;
    typedef SComponentIterator_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_SComponentIterator :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    void Init();
    ::CORBA::Boolean More();
    void Next();
    SComponent_ptr Value();

    inline _objref_SComponentIterator()  { _PR_setobj(0); }  // nil
    _objref_SComponentIterator(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_SComponentIterator();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_SComponentIterator(const _objref_SComponentIterator&);
    _objref_SComponentIterator& operator = (const _objref_SComponentIterator&);
    // not implemented

    friend class SComponentIterator;
  };

  class _pof_SComponentIterator : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_SComponentIterator() : _OMNI_NS(proxyObjectFactory)(SComponentIterator::_PD_repoId) {}
    virtual ~_pof_SComponentIterator();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_SComponentIterator :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_SComponentIterator();

    virtual void Init() = 0;
    virtual ::CORBA::Boolean More() = 0;
    virtual void Next() = 0;
    virtual SComponent_ptr Value() = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_SComponentIterator;

#ifndef __SALOMEDS_mChildIterator__
#define __SALOMEDS_mChildIterator__

  class ChildIterator;
  class _objref_ChildIterator;
  class _impl_ChildIterator;
  
  typedef _objref_ChildIterator* ChildIterator_ptr;
  typedef ChildIterator_ptr ChildIteratorRef;

  class ChildIterator_Helper {
  public:
    typedef ChildIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ChildIterator, ChildIterator_Helper> ChildIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ChildIterator,ChildIterator_Helper > ChildIterator_out;

#endif

  // interface ChildIterator
  class ChildIterator {
  public:
    // Declarations for this interface type.
    typedef ChildIterator_ptr _ptr_type;
    typedef ChildIterator_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ChildIterator :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    void Init();
    void InitEx(::CORBA::Boolean allLevels);
    ::CORBA::Boolean More();
    void Next();
    SObject_ptr Value();

    inline _objref_ChildIterator()  { _PR_setobj(0); }  // nil
    _objref_ChildIterator(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ChildIterator();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ChildIterator(const _objref_ChildIterator&);
    _objref_ChildIterator& operator = (const _objref_ChildIterator&);
    // not implemented

    friend class ChildIterator;
  };

  class _pof_ChildIterator : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ChildIterator() : _OMNI_NS(proxyObjectFactory)(ChildIterator::_PD_repoId) {}
    virtual ~_pof_ChildIterator();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ChildIterator :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_ChildIterator();

    virtual void Init() = 0;
    virtual void InitEx(::CORBA::Boolean allLevels) = 0;
    virtual ::CORBA::Boolean More() = 0;
    virtual void Next() = 0;
    virtual SObject_ptr Value() = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ChildIterator;

#ifndef __SALOMEDS_mUseCaseIterator__
#define __SALOMEDS_mUseCaseIterator__

  class UseCaseIterator;
  class _objref_UseCaseIterator;
  class _impl_UseCaseIterator;
  
  typedef _objref_UseCaseIterator* UseCaseIterator_ptr;
  typedef UseCaseIterator_ptr UseCaseIteratorRef;

  class UseCaseIterator_Helper {
  public:
    typedef UseCaseIterator_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_UseCaseIterator, UseCaseIterator_Helper> UseCaseIterator_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_UseCaseIterator,UseCaseIterator_Helper > UseCaseIterator_out;

#endif

  // interface UseCaseIterator
  class UseCaseIterator {
  public:
    // Declarations for this interface type.
    typedef UseCaseIterator_ptr _ptr_type;
    typedef UseCaseIterator_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_UseCaseIterator :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    void Init(::CORBA::Boolean allLevels);
    ::CORBA::Boolean More();
    void Next();
    SObject_ptr Value();

    inline _objref_UseCaseIterator()  { _PR_setobj(0); }  // nil
    _objref_UseCaseIterator(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_UseCaseIterator();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_UseCaseIterator(const _objref_UseCaseIterator&);
    _objref_UseCaseIterator& operator = (const _objref_UseCaseIterator&);
    // not implemented

    friend class UseCaseIterator;
  };

  class _pof_UseCaseIterator : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_UseCaseIterator() : _OMNI_NS(proxyObjectFactory)(UseCaseIterator::_PD_repoId) {}
    virtual ~_pof_UseCaseIterator();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_UseCaseIterator :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_UseCaseIterator();

    virtual void Init(::CORBA::Boolean allLevels) = 0;
    virtual ::CORBA::Boolean More() = 0;
    virtual void Next() = 0;
    virtual SObject_ptr Value() = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_UseCaseIterator;

#ifndef __SALOMEDS_mUseCaseBuilder__
#define __SALOMEDS_mUseCaseBuilder__

  class UseCaseBuilder;
  class _objref_UseCaseBuilder;
  class _impl_UseCaseBuilder;
  
  typedef _objref_UseCaseBuilder* UseCaseBuilder_ptr;
  typedef UseCaseBuilder_ptr UseCaseBuilderRef;

  class UseCaseBuilder_Helper {
  public:
    typedef UseCaseBuilder_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_UseCaseBuilder, UseCaseBuilder_Helper> UseCaseBuilder_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_UseCaseBuilder,UseCaseBuilder_Helper > UseCaseBuilder_out;

#endif

  // interface UseCaseBuilder
  class UseCaseBuilder {
  public:
    // Declarations for this interface type.
    typedef UseCaseBuilder_ptr _ptr_type;
    typedef UseCaseBuilder_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_UseCaseBuilder :
    public virtual SALOME::_objref_GenericObj
  {
  public:
    ::CORBA::Boolean Append(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean Remove(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean AppendTo(::SALOMEDS::SObject_ptr theFather, ::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean InsertBefore(::SALOMEDS::SObject_ptr theFirst, ::SALOMEDS::SObject_ptr theNext);
    ::CORBA::Boolean SetCurrentObject(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean SetRootCurrent();
    ::CORBA::Boolean HasChildren(::SALOMEDS::SObject_ptr theObject);
    SObject_ptr GetFather(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean SetName(const char* theName);
    char* GetName();
    ::CORBA::Boolean IsUseCase(::SALOMEDS::SObject_ptr theObject);
    ::CORBA::Boolean IsUseCaseNode(::SALOMEDS::SObject_ptr theObject);
    SObject_ptr GetCurrentObject();
    SObject_ptr AddUseCase(const char* theName);
    UseCaseIterator_ptr GetUseCaseIterator(::SALOMEDS::SObject_ptr theObject);

    inline _objref_UseCaseBuilder()  { _PR_setobj(0); }  // nil
    _objref_UseCaseBuilder(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_UseCaseBuilder();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_UseCaseBuilder(const _objref_UseCaseBuilder&);
    _objref_UseCaseBuilder& operator = (const _objref_UseCaseBuilder&);
    // not implemented

    friend class UseCaseBuilder;
  };

  class _pof_UseCaseBuilder : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_UseCaseBuilder() : _OMNI_NS(proxyObjectFactory)(UseCaseBuilder::_PD_repoId) {}
    virtual ~_pof_UseCaseBuilder();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_UseCaseBuilder :
    public virtual SALOME::_impl_GenericObj
  {
  public:
    virtual ~_impl_UseCaseBuilder();

    virtual ::CORBA::Boolean Append(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean Remove(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean AppendTo(::SALOMEDS::SObject_ptr theFather, ::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean InsertBefore(::SALOMEDS::SObject_ptr theFirst, ::SALOMEDS::SObject_ptr theNext) = 0;
    virtual ::CORBA::Boolean SetCurrentObject(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean SetRootCurrent() = 0;
    virtual ::CORBA::Boolean HasChildren(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual SObject_ptr GetFather(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean SetName(const char* theName) = 0;
    virtual char* GetName() = 0;
    virtual ::CORBA::Boolean IsUseCase(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual ::CORBA::Boolean IsUseCaseNode(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual SObject_ptr GetCurrentObject() = 0;
    virtual SObject_ptr AddUseCase(const char* theName) = 0;
    virtual UseCaseIterator_ptr GetUseCaseIterator(::SALOMEDS::SObject_ptr theObject) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_UseCaseBuilder;

#ifndef __SALOMEDS_mDriver__
#define __SALOMEDS_mDriver__

  class Driver;
  class _objref_Driver;
  class _impl_Driver;
  
  typedef _objref_Driver* Driver_ptr;
  typedef Driver_ptr DriverRef;

  class Driver_Helper {
  public:
    typedef Driver_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_Driver, Driver_Helper> Driver_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Driver,Driver_Helper > Driver_out;

#endif

  // interface Driver
  class Driver {
  public:
    // Declarations for this interface type.
    typedef Driver_ptr _ptr_type;
    typedef Driver_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_Driver :
    public virtual ::CORBA::Object,
    public virtual omniObjRef
  {
  public:
    TMPFile* Save(::SALOMEDS::SComponent_ptr theComponent, const char* theURL, ::CORBA::Boolean isMultiFile);
    TMPFile* SaveASCII(::SALOMEDS::SComponent_ptr theComponent, const char* theURL, ::CORBA::Boolean isMultiFile);
    ::CORBA::Boolean Load(::SALOMEDS::SComponent_ptr theComponent, const ::SALOMEDS::TMPFile& theStream, const char* theURL, ::CORBA::Boolean isMultiFile);
    ::CORBA::Boolean LoadASCII(::SALOMEDS::SComponent_ptr theComponent, const ::SALOMEDS::TMPFile& theStream, const char* theURL, ::CORBA::Boolean isMultiFile);
    void Close(::SALOMEDS::SComponent_ptr aSComponent);
    char* ComponentDataType();
    char* IORToLocalPersistentID(::SALOMEDS::SObject_ptr theSObject, const char* IORString, ::CORBA::Boolean isMultiFile, ::CORBA::Boolean isASCII);
    char* LocalPersistentIDToIOR(::SALOMEDS::SObject_ptr theSObject, const char* aLocalPersistentID, ::CORBA::Boolean isMultiFile, ::CORBA::Boolean isASCII);
    ::CORBA::Boolean CanPublishInStudy(::CORBA::Object_ptr theIOR);
    SObject_ptr PublishInStudy(::SALOMEDS::Study_ptr theStudy, ::SALOMEDS::SObject_ptr theSObject, ::CORBA::Object_ptr theObject, const char* theName);
    ::CORBA::Boolean CanCopy(::SALOMEDS::SObject_ptr theObject);
    TMPFile* CopyFrom(::SALOMEDS::SObject_ptr theObject, ::CORBA::Long& theObjectID);
    ::CORBA::Boolean CanPaste(const char* theComponentName, ::CORBA::Long theObjectID);
    SObject_ptr PasteInto(const ::SALOMEDS::TMPFile& theStream, ::CORBA::Long theObjectID, ::SALOMEDS::SObject_ptr theObject);

    inline _objref_Driver()  { _PR_setobj(0); }  // nil
    _objref_Driver(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_Driver();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_Driver(const _objref_Driver&);
    _objref_Driver& operator = (const _objref_Driver&);
    // not implemented

    friend class Driver;
  };

  class _pof_Driver : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Driver() : _OMNI_NS(proxyObjectFactory)(Driver::_PD_repoId) {}
    virtual ~_pof_Driver();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_Driver :
    public virtual omniServant
  {
  public:
    virtual ~_impl_Driver();

    virtual TMPFile* Save(::SALOMEDS::SComponent_ptr theComponent, const char* theURL, ::CORBA::Boolean isMultiFile) = 0;
    virtual TMPFile* SaveASCII(::SALOMEDS::SComponent_ptr theComponent, const char* theURL, ::CORBA::Boolean isMultiFile) = 0;
    virtual ::CORBA::Boolean Load(::SALOMEDS::SComponent_ptr theComponent, const ::SALOMEDS::TMPFile& theStream, const char* theURL, ::CORBA::Boolean isMultiFile) = 0;
    virtual ::CORBA::Boolean LoadASCII(::SALOMEDS::SComponent_ptr theComponent, const ::SALOMEDS::TMPFile& theStream, const char* theURL, ::CORBA::Boolean isMultiFile) = 0;
    virtual void Close(::SALOMEDS::SComponent_ptr aSComponent) = 0;
    virtual char* ComponentDataType() = 0;
    virtual char* IORToLocalPersistentID(::SALOMEDS::SObject_ptr theSObject, const char* IORString, ::CORBA::Boolean isMultiFile, ::CORBA::Boolean isASCII) = 0;
    virtual char* LocalPersistentIDToIOR(::SALOMEDS::SObject_ptr theSObject, const char* aLocalPersistentID, ::CORBA::Boolean isMultiFile, ::CORBA::Boolean isASCII) = 0;
    virtual ::CORBA::Boolean CanPublishInStudy(::CORBA::Object_ptr theIOR) = 0;
    virtual SObject_ptr PublishInStudy(::SALOMEDS::Study_ptr theStudy, ::SALOMEDS::SObject_ptr theSObject, ::CORBA::Object_ptr theObject, const char* theName) = 0;
    virtual ::CORBA::Boolean CanCopy(::SALOMEDS::SObject_ptr theObject) = 0;
    virtual TMPFile* CopyFrom(::SALOMEDS::SObject_ptr theObject, ::CORBA::Long& theObjectID) = 0;
    virtual ::CORBA::Boolean CanPaste(const char* theComponentName, ::CORBA::Long theObjectID) = 0;
    virtual SObject_ptr PasteInto(const ::SALOMEDS::TMPFile& theStream, ::CORBA::Long theObjectID, ::SALOMEDS::SObject_ptr theObject) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Driver;

_CORBA_MODULE_END



_CORBA_MODULE POA_SALOMEDS
_CORBA_MODULE_BEG

  class Observer :
    public virtual SALOMEDS::_impl_Observer,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~Observer();

    inline ::SALOMEDS::Observer_ptr _this() {
      return (::SALOMEDS::Observer_ptr) _do_this(::SALOMEDS::Observer::_PD_repoId);
    }
  };

  class Study :
    public virtual SALOMEDS::_impl_Study,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~Study();

    inline ::SALOMEDS::Study_ptr _this() {
      return (::SALOMEDS::Study_ptr) _do_this(::SALOMEDS::Study::_PD_repoId);
    }
  };

  class StudyBuilder :
    public virtual SALOMEDS::_impl_StudyBuilder,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~StudyBuilder();

    inline ::SALOMEDS::StudyBuilder_ptr _this() {
      return (::SALOMEDS::StudyBuilder_ptr) _do_this(::SALOMEDS::StudyBuilder::_PD_repoId);
    }
  };

  class StudyManager :
    public virtual SALOMEDS::_impl_StudyManager,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~StudyManager();

    inline ::SALOMEDS::StudyManager_ptr _this() {
      return (::SALOMEDS::StudyManager_ptr) _do_this(::SALOMEDS::StudyManager::_PD_repoId);
    }
  };

  class SObject :
    public virtual SALOMEDS::_impl_SObject,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~SObject();

    inline ::SALOMEDS::SObject_ptr _this() {
      return (::SALOMEDS::SObject_ptr) _do_this(::SALOMEDS::SObject::_PD_repoId);
    }
  };

  class GenericAttribute :
    public virtual SALOMEDS::_impl_GenericAttribute,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~GenericAttribute();

    inline ::SALOMEDS::GenericAttribute_ptr _this() {
      return (::SALOMEDS::GenericAttribute_ptr) _do_this(::SALOMEDS::GenericAttribute::_PD_repoId);
    }
  };

  class SComponent :
    public virtual SALOMEDS::_impl_SComponent,
    public virtual SObject
  {
  public:
    virtual ~SComponent();

    inline ::SALOMEDS::SComponent_ptr _this() {
      return (::SALOMEDS::SComponent_ptr) _do_this(::SALOMEDS::SComponent::_PD_repoId);
    }
  };

  class SComponentIterator :
    public virtual SALOMEDS::_impl_SComponentIterator,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~SComponentIterator();

    inline ::SALOMEDS::SComponentIterator_ptr _this() {
      return (::SALOMEDS::SComponentIterator_ptr) _do_this(::SALOMEDS::SComponentIterator::_PD_repoId);
    }
  };

  class ChildIterator :
    public virtual SALOMEDS::_impl_ChildIterator,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~ChildIterator();

    inline ::SALOMEDS::ChildIterator_ptr _this() {
      return (::SALOMEDS::ChildIterator_ptr) _do_this(::SALOMEDS::ChildIterator::_PD_repoId);
    }
  };

  class UseCaseIterator :
    public virtual SALOMEDS::_impl_UseCaseIterator,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~UseCaseIterator();

    inline ::SALOMEDS::UseCaseIterator_ptr _this() {
      return (::SALOMEDS::UseCaseIterator_ptr) _do_this(::SALOMEDS::UseCaseIterator::_PD_repoId);
    }
  };

  class UseCaseBuilder :
    public virtual SALOMEDS::_impl_UseCaseBuilder,
    public virtual POA_SALOME::GenericObj
  {
  public:
    virtual ~UseCaseBuilder();

    inline ::SALOMEDS::UseCaseBuilder_ptr _this() {
      return (::SALOMEDS::UseCaseBuilder_ptr) _do_this(::SALOMEDS::UseCaseBuilder::_PD_repoId);
    }
  };

  class Driver :
    public virtual SALOMEDS::_impl_Driver,
    public virtual ::PortableServer::ServantBase
  {
  public:
    virtual ~Driver();

    inline ::SALOMEDS::Driver_ptr _this() {
      return (::SALOMEDS::Driver_ptr) _do_this(::SALOMEDS::Driver::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_SALOMEDS
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfOpenStudies& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfOpenStudies* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfOpenStudies*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfOpenStudies*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfFileNames& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfFileNames* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfFileNames*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfFileNames*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfDates& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfDates* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfDates*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfDates*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfStrings& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfStrings* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfStrings*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfStrings*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfListOfStrings& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfListOfStrings* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfListOfStrings*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfListOfStrings*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::TMPFile& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::TMPFile* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::TMPFile*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::TMPFile*& _sp);

void operator<<=(::CORBA::Any& _a, SALOMEDS::Observer_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::Observer_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::Observer_ptr& _s);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::ListOfAttributes& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ListOfAttributes* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ListOfAttributes*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::ListOfAttributes*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::NotImplemented& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::NotImplemented* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::NotImplemented*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidContext& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidContext* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidContext*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidComponent& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidComponent* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidComponent*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidDirectory& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidDirectory* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyInvalidDirectory*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyNameAlreadyUsed& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyNameAlreadyUsed* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyNameAlreadyUsed*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyObjectAlreadyExists& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyObjectAlreadyExists* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyObjectAlreadyExists*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyNameError& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyNameError* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyNameError*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyCommentError& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::StudyCommentError* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::StudyCommentError*& _sp);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::Study::ListOfSObject& _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::Study::ListOfSObject* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::Study::ListOfSObject*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::Study::ListOfSObject*& _sp);

void operator<<=(::CORBA::Any& _a, SALOMEDS::Study_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::Study_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::Study_ptr& _s);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::StudyBuilder::LockProtection& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::StudyBuilder::LockProtection* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::StudyBuilder::LockProtection*& _sp);

void operator<<=(::CORBA::Any& _a, SALOMEDS::StudyBuilder_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::StudyBuilder_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::StudyBuilder_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::StudyManager_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::StudyManager_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::StudyManager_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::SObject_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::SObject_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::SObject_ptr& _s);

void operator<<=(::CORBA::Any& _a, const SALOMEDS::GenericAttribute::LockProtection& _s);
void operator<<=(::CORBA::Any& _a, const SALOMEDS::GenericAttribute::LockProtection* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const SALOMEDS::GenericAttribute::LockProtection*& _sp);

void operator<<=(::CORBA::Any& _a, SALOMEDS::GenericAttribute_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::GenericAttribute_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::GenericAttribute_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::SComponent_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::SComponent_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::SComponent_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::SComponentIterator_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::SComponentIterator_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::SComponentIterator_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::ChildIterator_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::ChildIterator_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::ChildIterator_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::UseCaseIterator_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::UseCaseIterator_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::UseCaseIterator_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::UseCaseBuilder_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::UseCaseBuilder_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::UseCaseBuilder_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOMEDS::Driver_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOMEDS::Driver_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOMEDS::Driver_ptr& _s);



inline void
SALOMEDS::Observer::_marshalObjRef(::SALOMEDS::Observer_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::Study::_marshalObjRef(::SALOMEDS::Study_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::StudyBuilder::_marshalObjRef(::SALOMEDS::StudyBuilder_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::StudyManager::_marshalObjRef(::SALOMEDS::StudyManager_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::SObject::_marshalObjRef(::SALOMEDS::SObject_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::GenericAttribute::_marshalObjRef(::SALOMEDS::GenericAttribute_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::SComponent::_marshalObjRef(::SALOMEDS::SComponent_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::SComponentIterator::_marshalObjRef(::SALOMEDS::SComponentIterator_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::ChildIterator::_marshalObjRef(::SALOMEDS::ChildIterator_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::UseCaseIterator::_marshalObjRef(::SALOMEDS::UseCaseIterator_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::UseCaseBuilder::_marshalObjRef(::SALOMEDS::UseCaseBuilder_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOMEDS::Driver::_marshalObjRef(::SALOMEDS::Driver_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOMEDS
#endif

#endif  // __SALOMEDS_hh__