This file is indexed.

/usr/include/omniORB4/compression.hh is in libomniorb4-dev 4.2.2-0.8.

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
// This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit.
#ifndef __compression_hh__
#define __compression_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_compression
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_compression
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_compression
#endif



#ifndef __corbaidl_hh_EXTERNAL_GUARD__
#define __corbaidl_hh_EXTERNAL_GUARD__
#include <corbaidl.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 Compression

_CORBA_MODULE_BEG

  class CompressionException : public ::CORBA::UserException {
  public:
    
    ::CORBA::Long reason;

    ::CORBA::String_member description;

  

    inline CompressionException() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    CompressionException(const CompressionException&);
    CompressionException(::CORBA::Long i_reason, const char* i_description);
    CompressionException& operator=(const CompressionException&);
    virtual ~CompressionException();
    virtual void _raise() const;
    static CompressionException* _downcast(::CORBA::Exception*);
    static const CompressionException* _downcast(const ::CORBA::Exception*);
    static inline CompressionException* _narrow(::CORBA::Exception* _e) {
      return _downcast(_e);
    }
    
    void operator>>=(cdrStream&) const ;
    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_CompressionException;

  class FactoryAlreadyRegistered : public ::CORBA::UserException {
  public:
    
    

    inline FactoryAlreadyRegistered() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    FactoryAlreadyRegistered(const FactoryAlreadyRegistered&);
    
    FactoryAlreadyRegistered& operator=(const FactoryAlreadyRegistered&);
    virtual ~FactoryAlreadyRegistered();
    virtual void _raise() const;
    static FactoryAlreadyRegistered* _downcast(::CORBA::Exception*);
    static const FactoryAlreadyRegistered* _downcast(const ::CORBA::Exception*);
    static inline FactoryAlreadyRegistered* _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_FactoryAlreadyRegistered;

  class UnknownCompressorId : public ::CORBA::UserException {
  public:
    
    

    inline UnknownCompressorId() {
      pd_insertToAnyFn    = insertToAnyFn;
      pd_insertToAnyFnNCP = insertToAnyFnNCP;
    }
    UnknownCompressorId(const UnknownCompressorId&);
    
    UnknownCompressorId& operator=(const UnknownCompressorId&);
    virtual ~UnknownCompressorId();
    virtual void _raise() const;
    static UnknownCompressorId* _downcast(::CORBA::Exception*);
    static const UnknownCompressorId* _downcast(const ::CORBA::Exception*);
    static inline UnknownCompressorId* _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_UnknownCompressorId;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorId;

  typedef ::CORBA::UShort CompressorId;
  typedef ::CORBA::UShort_out CompressorId_out;

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_NONE _init_in_decl_( = 0 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_GZIP _init_in_decl_( = 1 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_PKZIP _init_in_decl_( = 2 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_BZIP2 _init_in_decl_( = 3 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_ZLIB _init_in_decl_( = 4 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_LZMA _init_in_decl_( = 5 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_LZO _init_in_decl_( = 6 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_RZIP _init_in_decl_( = 7 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_7X _init_in_decl_( = 8 );

  _CORBA_MODULE_VARINT const ::CORBA::UShort COMPRESSORID_XAR _init_in_decl_( = 9 );

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressionLevel;

  typedef ::CORBA::UShort CompressionLevel;
  typedef ::CORBA::UShort_out CompressionLevel_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressionRatio;

  typedef ::CORBA::Float CompressionRatio;
  typedef ::CORBA::Float_out CompressionRatio_out;

  struct CompressorIdLevel {
    typedef _CORBA_ConstrType_Fix_Var<CompressorIdLevel> _var_type;

    
    CompressorId compressor_id;

    CompressionLevel compression_level;

  

    void operator>>= (cdrStream &) const;
    void operator<<= (cdrStream &);
  };

  typedef CompressorIdLevel::_var_type CompressorIdLevel_var;

  typedef CompressorIdLevel& CompressorIdLevel_out;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorIdLevel;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorIdLevelList;

  class CompressorIdLevelList_var;

  class CompressorIdLevelList : public _CORBA_Unbounded_Sequence< CompressorIdLevel >  {
  public:
    typedef CompressorIdLevelList_var _var_type;
    inline CompressorIdLevelList() {}
    inline CompressorIdLevelList(const CompressorIdLevelList& _s)
      : _CORBA_Unbounded_Sequence< CompressorIdLevel > (_s) {}

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

  

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

  class CompressorIdLevelList_out;

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

  

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

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

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

  

    CompressorIdLevelList*& _data;

  private:
    CompressorIdLevelList_out();
    CompressorIdLevelList_out& operator=(const CompressorIdLevelList_var&);
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Buffer;

  typedef CORBA::OctetSeq Buffer;
  typedef CORBA::OctetSeq_var Buffer_var;
  typedef CORBA::OctetSeq_out Buffer_out;

#ifndef __Compression_mCompressorFactory__
#define __Compression_mCompressorFactory__

  class CompressorFactory;
  typedef CompressorFactory* CompressorFactory_ptr;
  typedef CompressorFactory_ptr CompressorFactoryRef;

  class CompressorFactory_Helper {
  public:
    typedef CompressorFactory_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<CompressorFactory, CompressorFactory_Helper> CompressorFactory_var;
  typedef _CORBA_ObjRef_OUT_arg<CompressorFactory,CompressorFactory_Helper > CompressorFactory_out;

#endif

#ifndef __Compression_mCompressor__
#define __Compression_mCompressor__

  class Compressor;
  typedef Compressor* Compressor_ptr;
  typedef Compressor_ptr CompressorRef;

  class Compressor_Helper {
  public:
    typedef Compressor_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<Compressor, Compressor_Helper> Compressor_var;
  typedef _CORBA_ObjRef_OUT_arg<Compressor,Compressor_Helper > Compressor_out;

#endif

  // local interface Compressor
  class Compressor :
    public virtual ::CORBA::LocalObject
  {
  public:
    // Declarations for this interface type.
    typedef Compressor_ptr _ptr_type;
    typedef Compressor_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& s);
    static inline _ptr_type _unmarshalObjRef(cdrStream& s);

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    

    // Operations declared in this local interface
    virtual void compress(const ::Compression::Buffer& source, ::Compression::Buffer& target) = 0;
    virtual void decompress(const ::Compression::Buffer& source, ::Compression::Buffer& target) = 0;
    virtual CompressorFactory_ptr compressor_factory() = 0;
    virtual CompressionLevel compression_level() = 0;
    virtual ::CORBA::ULongLong compressed_bytes() = 0;
    virtual ::CORBA::ULongLong uncompressed_bytes() = 0;
    virtual CompressionRatio compression_ratio() = 0;  

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

  protected:
    Compressor();
    virtual ~Compressor();
  };

  class _nil_Compressor :
    
    public virtual Compressor
  {
    public:
      virtual void compress(const ::Compression::Buffer& source, ::Compression::Buffer& target);
      virtual void decompress(const ::Compression::Buffer& source, ::Compression::Buffer& target);
      virtual CompressorFactory_ptr compressor_factory();
      virtual CompressionLevel compression_level();
      virtual ::CORBA::ULongLong compressed_bytes();
      virtual ::CORBA::ULongLong uncompressed_bytes();
      virtual CompressionRatio compression_ratio();

      inline _nil_Compressor() { _PR_setobj(0); }

    protected:
      virtual ~_nil_Compressor();
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Compressor;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorSeq;

  class CompressorSeq_var;

  class CompressorSeq : public _CORBA_Unbounded_Sequence_ObjRef< Compressor, _CORBA_ObjRef_Element< Compressor, Compressor_Helper> , Compressor_Helper >  {
  public:
    typedef CompressorSeq_var _var_type;
    inline CompressorSeq() {}
    inline CompressorSeq(const CompressorSeq& _s)
      : _CORBA_Unbounded_Sequence_ObjRef< Compressor, _CORBA_ObjRef_Element< Compressor, Compressor_Helper> , Compressor_Helper > (_s) {}

    inline CompressorSeq(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_ObjRef< Compressor, _CORBA_ObjRef_Element< Compressor, Compressor_Helper> , Compressor_Helper > (_max) {}
    inline CompressorSeq(_CORBA_ULong _max, _CORBA_ULong _len, Compressor_ptr* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_ObjRef< Compressor, _CORBA_ObjRef_Element< Compressor, Compressor_Helper> , Compressor_Helper > (_max, _len, _val, _rel) {}

  

    inline CompressorSeq& operator = (const CompressorSeq& _s) {
      _CORBA_Unbounded_Sequence_ObjRef< Compressor, _CORBA_ObjRef_Element< Compressor, Compressor_Helper> , Compressor_Helper > ::operator=(_s);
      return *this;
    }
  };

  class CompressorSeq_out;

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

  

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

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

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

  

    CompressorSeq*& _data;

  private:
    CompressorSeq_out();
    CompressorSeq_out& operator=(const CompressorSeq_var&);
  };

#ifndef __Compression_mCompressorFactory__
#define __Compression_mCompressorFactory__

  class CompressorFactory;
  typedef CompressorFactory* CompressorFactory_ptr;
  typedef CompressorFactory_ptr CompressorFactoryRef;

  class CompressorFactory_Helper {
  public:
    typedef CompressorFactory_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<CompressorFactory, CompressorFactory_Helper> CompressorFactory_var;
  typedef _CORBA_ObjRef_OUT_arg<CompressorFactory,CompressorFactory_Helper > CompressorFactory_out;

#endif

  // local interface CompressorFactory
  class CompressorFactory :
    public virtual ::CORBA::LocalObject
  {
  public:
    // Declarations for this interface type.
    typedef CompressorFactory_ptr _ptr_type;
    typedef CompressorFactory_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& s);
    static inline _ptr_type _unmarshalObjRef(cdrStream& s);

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    

    // Operations declared in this local interface
    virtual CompressorId compressor_id() = 0;
    virtual Compressor_ptr get_compressor(::Compression::CompressionLevel compression_level) = 0;  

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

  protected:
    CompressorFactory();
    virtual ~CompressorFactory();
  };

  class _nil_CompressorFactory :
    
    public virtual CompressorFactory
  {
    public:
      virtual CompressorId compressor_id();
      virtual Compressor_ptr get_compressor(::Compression::CompressionLevel compression_level);

      inline _nil_CompressorFactory() { _PR_setobj(0); }

    protected:
      virtual ~_nil_CompressorFactory();
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorFactory;

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressorFactorySeq;

  class CompressorFactorySeq_var;

  class CompressorFactorySeq : public _CORBA_Unbounded_Sequence_ObjRef< CompressorFactory, _CORBA_ObjRef_Element< CompressorFactory, CompressorFactory_Helper> , CompressorFactory_Helper >  {
  public:
    typedef CompressorFactorySeq_var _var_type;
    inline CompressorFactorySeq() {}
    inline CompressorFactorySeq(const CompressorFactorySeq& _s)
      : _CORBA_Unbounded_Sequence_ObjRef< CompressorFactory, _CORBA_ObjRef_Element< CompressorFactory, CompressorFactory_Helper> , CompressorFactory_Helper > (_s) {}

    inline CompressorFactorySeq(_CORBA_ULong _max)
      : _CORBA_Unbounded_Sequence_ObjRef< CompressorFactory, _CORBA_ObjRef_Element< CompressorFactory, CompressorFactory_Helper> , CompressorFactory_Helper > (_max) {}
    inline CompressorFactorySeq(_CORBA_ULong _max, _CORBA_ULong _len, CompressorFactory_ptr* _val, _CORBA_Boolean _rel=0)
      : _CORBA_Unbounded_Sequence_ObjRef< CompressorFactory, _CORBA_ObjRef_Element< CompressorFactory, CompressorFactory_Helper> , CompressorFactory_Helper > (_max, _len, _val, _rel) {}

  

    inline CompressorFactorySeq& operator = (const CompressorFactorySeq& _s) {
      _CORBA_Unbounded_Sequence_ObjRef< CompressorFactory, _CORBA_ObjRef_Element< CompressorFactory, CompressorFactory_Helper> , CompressorFactory_Helper > ::operator=(_s);
      return *this;
    }
  };

  class CompressorFactorySeq_out;

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

  

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

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

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

  

    CompressorFactorySeq*& _data;

  private:
    CompressorFactorySeq_out();
    CompressorFactorySeq_out& operator=(const CompressorFactorySeq_var&);
  };

#ifndef __Compression_mCompressionManager__
#define __Compression_mCompressionManager__

  class CompressionManager;
  typedef CompressionManager* CompressionManager_ptr;
  typedef CompressionManager_ptr CompressionManagerRef;

  class CompressionManager_Helper {
  public:
    typedef CompressionManager_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<CompressionManager, CompressionManager_Helper> CompressionManager_var;
  typedef _CORBA_ObjRef_OUT_arg<CompressionManager,CompressionManager_Helper > CompressionManager_out;

#endif

  // local interface CompressionManager
  class CompressionManager :
    public virtual ::CORBA::LocalObject
  {
  public:
    // Declarations for this interface type.
    typedef CompressionManager_ptr _ptr_type;
    typedef CompressionManager_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& s);
    static inline _ptr_type _unmarshalObjRef(cdrStream& s);

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    

    // Operations declared in this local interface
    virtual void register_factory(::Compression::CompressorFactory_ptr compressor_factory) = 0;
    virtual void unregister_factory(::Compression::CompressorId compressor_id) = 0;
    virtual CompressorFactory_ptr get_factory(::Compression::CompressorId compressor_id) = 0;
    virtual Compressor_ptr get_compressor(::Compression::CompressorId compressor_id, ::Compression::CompressionLevel compression_level) = 0;
    virtual CompressorFactorySeq* get_factories() = 0;  

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

  protected:
    CompressionManager();
    virtual ~CompressionManager();
  };

  class _nil_CompressionManager :
    
    public virtual CompressionManager
  {
    public:
      virtual void register_factory(::Compression::CompressorFactory_ptr compressor_factory);
      virtual void unregister_factory(::Compression::CompressorId compressor_id);
      virtual CompressorFactory_ptr get_factory(::Compression::CompressorId compressor_id);
      virtual Compressor_ptr get_compressor(::Compression::CompressorId compressor_id, ::Compression::CompressionLevel compression_level);
      virtual CompressorFactorySeq* get_factories();

      inline _nil_CompressionManager() { _PR_setobj(0); }

    protected:
      virtual ~_nil_CompressionManager();
  };

  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CompressionManager;

_CORBA_MODULE_END



_CORBA_MODULE POA_Compression
_CORBA_MODULE_BEG

_CORBA_MODULE_END



_CORBA_MODULE OBV_Compression
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

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

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

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

extern void operator<<=(::CORBA::Any& _a, const Compression::CompressorIdLevel& _s);
extern void operator<<=(::CORBA::Any& _a, Compression::CompressorIdLevel* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Compression::CompressorIdLevel*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Compression::CompressorIdLevel*& _sp);

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

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

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

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

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

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



inline void
Compression::Compressor::_marshalObjRef(::Compression::Compressor_ptr, cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
}

inline Compression::Compressor_ptr
Compression::Compressor::_unmarshalObjRef(cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
#ifdef NEED_DUMMY_RETURN
  return 0;
#endif
}

inline void
Compression::CompressorFactory::_marshalObjRef(::Compression::CompressorFactory_ptr, cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
}

inline Compression::CompressorFactory_ptr
Compression::CompressorFactory::_unmarshalObjRef(cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
#ifdef NEED_DUMMY_RETURN
  return 0;
#endif
}

inline void
Compression::CompressionManager::_marshalObjRef(::Compression::CompressionManager_ptr, cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
}

inline Compression::CompressionManager_ptr
Compression::CompressionManager::_unmarshalObjRef(cdrStream& s) {
  OMNIORB_THROW(MARSHAL, _OMNI_NS(MARSHAL_LocalObject),
                (::CORBA::CompletionStatus)s.completion());
#ifdef NEED_DUMMY_RETURN
  return 0;
#endif
}



#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_compression
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_compression
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_compression
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_compression
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_compression
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_compression
#endif

#endif  // __compression_hh__