00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaDatabase_h__
00016 #define ___HxCorbaDatabase_h__
00017
00018 #include <HxCorbaVxSegmentation.h>
00019
00020 #ifndef OB_INTEGER_VERSION
00021 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00022 #endif
00023
00024 #ifndef OB_NO_VERSION_CHECK
00025 # if (OB_INTEGER_VERSION != 4000500L)
00026 # error ORBacus version mismatch!
00027 # endif
00028 #endif
00029
00030 namespace HxCorba
00031 {
00032
00033 class VxSegmentBuilder;
00034 typedef VxSegmentBuilder* VxSegmentBuilder_ptr;
00035 typedef VxSegmentBuilder* VxSegmentBuilderRef;
00036
00037 extern OB::TypeCodeConst _tc_VxSegmentBuilder;
00038
00039 class VxSegmentationBuilder;
00040 typedef VxSegmentationBuilder* VxSegmentationBuilder_ptr;
00041 typedef VxSegmentationBuilder* VxSegmentationBuilderRef;
00042
00043 extern OB::TypeCodeConst _tc_VxSegmentationBuilder;
00044
00045 class VxJoinedSegments;
00046 typedef VxJoinedSegments* VxJoinedSegments_ptr;
00047 typedef VxJoinedSegments* VxJoinedSegmentsRef;
00048
00049 extern OB::TypeCodeConst _tc_VxJoinedSegments;
00050
00051 class DatabaseSession;
00052 typedef DatabaseSession* DatabaseSession_ptr;
00053 typedef DatabaseSession* DatabaseSessionRef;
00054
00055 extern OB::TypeCodeConst _tc_DatabaseSession;
00056
00057 class Database;
00058 typedef Database* Database_ptr;
00059 typedef Database* DatabaseRef;
00060
00061 extern OB::TypeCodeConst _tc_Database;
00062
00063 }
00064
00065 void OBDuplicate(HxCorba::VxSegmentBuilder_ptr);
00066 void OBRelease(HxCorba::VxSegmentBuilder_ptr);
00067
00068 void OBMarshal(HxCorba::VxSegmentBuilder_ptr, OB::OutputStreamImpl*);
00069 void OBUnmarshal(HxCorba::VxSegmentBuilder_ptr&, OB::InputStreamImpl*);
00070
00071 void OBDuplicate(HxCorba::VxSegmentationBuilder_ptr);
00072 void OBRelease(HxCorba::VxSegmentationBuilder_ptr);
00073
00074 void OBMarshal(HxCorba::VxSegmentationBuilder_ptr, OB::OutputStreamImpl*);
00075 void OBUnmarshal(HxCorba::VxSegmentationBuilder_ptr&, OB::InputStreamImpl*);
00076
00077 void OBDuplicate(HxCorba::VxJoinedSegments_ptr);
00078 void OBRelease(HxCorba::VxJoinedSegments_ptr);
00079
00080 void OBMarshal(HxCorba::VxJoinedSegments_ptr, OB::OutputStreamImpl*);
00081 void OBUnmarshal(HxCorba::VxJoinedSegments_ptr&, OB::InputStreamImpl*);
00082
00083 void OBDuplicate(HxCorba::DatabaseSession_ptr);
00084 void OBRelease(HxCorba::DatabaseSession_ptr);
00085
00086 void OBMarshal(HxCorba::DatabaseSession_ptr, OB::OutputStreamImpl*);
00087 void OBUnmarshal(HxCorba::DatabaseSession_ptr&, OB::InputStreamImpl*);
00088
00089 void OBDuplicate(HxCorba::Database_ptr);
00090 void OBRelease(HxCorba::Database_ptr);
00091
00092 void OBMarshal(HxCorba::Database_ptr, OB::OutputStreamImpl*);
00093 void OBUnmarshal(HxCorba::Database_ptr&, OB::InputStreamImpl*);
00094
00095 namespace HxCorba
00096 {
00097
00098 typedef OB::ObjVar< VxSegmentBuilder > VxSegmentBuilder_var;
00099 typedef OB::ObjOut< VxSegmentBuilder > VxSegmentBuilder_out;
00100
00101 typedef OB::ObjVar< VxSegmentationBuilder > VxSegmentationBuilder_var;
00102 typedef OB::ObjOut< VxSegmentationBuilder > VxSegmentationBuilder_out;
00103
00104 typedef OB::ObjVar< VxJoinedSegments > VxJoinedSegments_var;
00105 typedef OB::ObjOut< VxJoinedSegments > VxJoinedSegments_out;
00106
00107 typedef OB::ObjVar< DatabaseSession > DatabaseSession_var;
00108 typedef OB::ObjOut< DatabaseSession > DatabaseSession_out;
00109
00110 typedef OB::ObjVar< Database > Database_var;
00111 typedef OB::ObjOut< Database > Database_out;
00112
00113 }
00114
00115 namespace OBStubImpl_HxCorba
00116 {
00117
00118 class VxSegmentBuilder;
00119 typedef VxSegmentBuilder* VxSegmentBuilder_ptr;
00120
00121 class VxSegmentationBuilder;
00122 typedef VxSegmentationBuilder* VxSegmentationBuilder_ptr;
00123
00124 class VxJoinedSegments;
00125 typedef VxJoinedSegments* VxJoinedSegments_ptr;
00126
00127 class DatabaseSession;
00128 typedef DatabaseSession* DatabaseSession_ptr;
00129
00130 class Database;
00131 typedef Database* Database_ptr;
00132
00133 }
00134
00135 void OBDuplicate(OBStubImpl_HxCorba::VxSegmentBuilder_ptr);
00136 void OBRelease(OBStubImpl_HxCorba::VxSegmentBuilder_ptr);
00137
00138 void OBDuplicate(OBStubImpl_HxCorba::VxSegmentationBuilder_ptr);
00139 void OBRelease(OBStubImpl_HxCorba::VxSegmentationBuilder_ptr);
00140
00141 void OBDuplicate(OBStubImpl_HxCorba::VxJoinedSegments_ptr);
00142 void OBRelease(OBStubImpl_HxCorba::VxJoinedSegments_ptr);
00143
00144 void OBDuplicate(OBStubImpl_HxCorba::DatabaseSession_ptr);
00145 void OBRelease(OBStubImpl_HxCorba::DatabaseSession_ptr);
00146
00147 void OBDuplicate(OBStubImpl_HxCorba::Database_ptr);
00148 void OBRelease(OBStubImpl_HxCorba::Database_ptr);
00149
00150 namespace OBStubImpl_HxCorba
00151 {
00152
00153 typedef OB::ObjVar< VxSegmentBuilder > VxSegmentBuilder_var;
00154
00155 typedef OB::ObjVar< VxSegmentationBuilder > VxSegmentationBuilder_var;
00156
00157 typedef OB::ObjVar< VxJoinedSegments > VxJoinedSegments_var;
00158
00159 typedef OB::ObjVar< DatabaseSession > DatabaseSession_var;
00160
00161 typedef OB::ObjVar< Database > Database_var;
00162
00163 }
00164
00165
00166
00167
00168 namespace HxCorba
00169 {
00170
00171
00172
00173
00174 struct DatabaseException : public CORBA::UserException
00175 {
00176 #ifdef OB_CLEAR_MEM
00177 DatabaseException();
00178 #else
00179 DatabaseException() { }
00180 #endif
00181 DatabaseException(const DatabaseException&);
00182 DatabaseException& operator=(const DatabaseException&);
00183
00184 static DatabaseException* _downcast(CORBA::Exception*);
00185 static const DatabaseException* _downcast(const CORBA::Exception*);
00186 virtual const char* _name() const;
00187 virtual void _raise() const { throw *this; }
00188 virtual const char* _rep_id() const;
00189 virtual char* _to_string() const;
00190
00191 virtual CORBA::Exception* _OB_clone() const;
00192 virtual void _OB_insertInAny(CORBA::Any&);
00193
00194 CORBA::Long dbCode;
00195 OB::StrForStruct dbMessage;
00196 OB::StrForStruct message;
00197
00198 DatabaseException(CORBA::Long,
00199 const char*,
00200 const char*);
00201
00202 virtual void _OB_marshal(OB::OutputStreamImpl*) const;
00203 static void _OB_unmarshal(DatabaseException&, OB::InputStreamImpl*);
00204 };
00205
00206 extern OB::TypeCodeConst _tc_DatabaseException;
00207
00208
00209
00210
00211 class VxSegmentBuilder : virtual public CORBA::Object
00212 {
00213 VxSegmentBuilder(const VxSegmentBuilder&);
00214 void operator=(const VxSegmentBuilder&);
00215
00216 static const char* ids_[];
00217
00218 protected:
00219
00220 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00221
00222 public:
00223
00224 VxSegmentBuilder() { }
00225 virtual ~VxSegmentBuilder() { }
00226
00227 typedef VxSegmentBuilder_ptr _ptr_type;
00228 typedef VxSegmentBuilder_var _var_type;
00229
00230 static inline VxSegmentBuilder_ptr
00231 _duplicate(VxSegmentBuilder_ptr p)
00232 {
00233 if(p)
00234 p -> _OB_incRef();
00235 return p;
00236 }
00237
00238 static inline VxSegmentBuilder_ptr
00239 _nil()
00240 {
00241 return 0;
00242 }
00243
00244 static VxSegmentBuilder_ptr _narrow(CORBA::Object_ptr);
00245 static VxSegmentBuilder_ptr _narrow(CORBA::AbstractBase_ptr);
00246
00247 virtual const char** _OB_ids() const;
00248 static const char** _OB_staticIds();
00249
00250
00251
00252
00253 void addInt(const char* id,
00254 CORBA::Long value);
00255
00256
00257
00258
00259 void addDouble(const char* id,
00260 CORBA::Double value);
00261
00262
00263
00264
00265 void addString(const char* id,
00266 const char* value);
00267
00268
00269
00270
00271 void close();
00272 };
00273
00274
00275
00276
00277 class VxSegmentationBuilder : virtual public CORBA::Object
00278 {
00279 VxSegmentationBuilder(const VxSegmentationBuilder&);
00280 void operator=(const VxSegmentationBuilder&);
00281
00282 static const char* ids_[];
00283
00284 protected:
00285
00286 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00287
00288 public:
00289
00290 VxSegmentationBuilder() { }
00291 virtual ~VxSegmentationBuilder() { }
00292
00293 typedef VxSegmentationBuilder_ptr _ptr_type;
00294 typedef VxSegmentationBuilder_var _var_type;
00295
00296 static inline VxSegmentationBuilder_ptr
00297 _duplicate(VxSegmentationBuilder_ptr p)
00298 {
00299 if(p)
00300 p -> _OB_incRef();
00301 return p;
00302 }
00303
00304 static inline VxSegmentationBuilder_ptr
00305 _nil()
00306 {
00307 return 0;
00308 }
00309
00310 static VxSegmentationBuilder_ptr _narrow(CORBA::Object_ptr);
00311 static VxSegmentationBuilder_ptr _narrow(CORBA::AbstractBase_ptr);
00312
00313 virtual const char** _OB_ids() const;
00314 static const char** _OB_staticIds();
00315
00316
00317
00318
00319 void setDescription(const char* description);
00320
00321
00322
00323
00324 VxSegmentBuilder_ptr addSegment(CORBA::Long start,
00325 CORBA::Long end);
00326
00327
00328
00329
00330 void close();
00331 };
00332
00333
00334
00335
00336 struct FeatureCondition;
00337 typedef OB::VarVar< FeatureCondition > FeatureCondition_var;
00338 typedef OB::VarOut< FeatureCondition > FeatureCondition_out;
00339
00340 struct FeatureCondition
00341 {
00342 FeatureCondition() { }
00343 FeatureCondition(const FeatureCondition&);
00344 FeatureCondition& operator=(const FeatureCondition&);
00345
00346 typedef FeatureCondition_var _var_type;
00347
00348 OB::StrForStruct featType;
00349 OB::StrForStruct feature;
00350 OB::StrForStruct expression;
00351
00352 void _OB_marshal(OB::OutputStreamImpl*) const;
00353 static void _OB_unmarshal(FeatureCondition&, OB::InputStreamImpl*);
00354 };
00355
00356 extern OB::TypeCodeConst _tc_FeatureCondition;
00357
00358
00359
00360
00361 class OBUnique_FeatureCondSeq { };
00362
00363 typedef OB::VarSeq< FeatureCondition, OBUnique_FeatureCondSeq > FeatureCondSeq;
00364 typedef OB::SeqVar< OB::VarSeq< FeatureCondition, OBUnique_FeatureCondSeq > > FeatureCondSeq_var;
00365 typedef OB::SeqOut< OB::VarSeq< FeatureCondition, OBUnique_FeatureCondSeq > > FeatureCondSeq_out;
00366 extern OB::TypeCodeConst _tc_FeatureCondSeq;
00367
00368 struct OBInfo_FeatureCondSeq : public OB::ConstructedInfo
00369 {
00370 OBInfo_FeatureCondSeq() { }
00371
00372 virtual void free(void* p) const
00373 {
00374 delete (FeatureCondSeq*)p;
00375 }
00376
00377 virtual void* dup(const void* p) const
00378 {
00379 return new FeatureCondSeq(*(const FeatureCondSeq*)p);
00380 }
00381
00382 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00383 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00384 };
00385
00386
00387
00388
00389 struct SegmentationCondition;
00390 typedef OB::VarVar< SegmentationCondition > SegmentationCondition_var;
00391 typedef OB::VarOut< SegmentationCondition > SegmentationCondition_out;
00392
00393 struct SegmentationCondition
00394 {
00395 SegmentationCondition() { }
00396 SegmentationCondition(const SegmentationCondition&);
00397 SegmentationCondition& operator=(const SegmentationCondition&);
00398
00399 typedef SegmentationCondition_var _var_type;
00400
00401 OB::StrForStruct segName;
00402 FeatureCondSeq featureCond;
00403
00404 void _OB_marshal(OB::OutputStreamImpl*) const;
00405 static void _OB_unmarshal(SegmentationCondition&, OB::InputStreamImpl*);
00406 };
00407
00408 extern OB::TypeCodeConst _tc_SegmentationCondition;
00409
00410
00411
00412
00413 class OBUnique_SegmentationConditionSeq { };
00414
00415 typedef OB::VarSeq< SegmentationCondition, OBUnique_SegmentationConditionSeq > SegmentationConditionSeq;
00416 typedef OB::SeqVar< OB::VarSeq< SegmentationCondition, OBUnique_SegmentationConditionSeq > > SegmentationConditionSeq_var;
00417 typedef OB::SeqOut< OB::VarSeq< SegmentationCondition, OBUnique_SegmentationConditionSeq > > SegmentationConditionSeq_out;
00418 extern OB::TypeCodeConst _tc_SegmentationConditionSeq;
00419
00420 struct OBInfo_SegmentationConditionSeq : public OB::ConstructedInfo
00421 {
00422 OBInfo_SegmentationConditionSeq() { }
00423
00424 virtual void free(void* p) const
00425 {
00426 delete (SegmentationConditionSeq*)p;
00427 }
00428
00429 virtual void* dup(const void* p) const
00430 {
00431 return new SegmentationConditionSeq(*(const SegmentationConditionSeq*)p);
00432 }
00433
00434 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00435 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00436 };
00437
00438
00439
00440
00441 struct OverlappingCondition;
00442 typedef OB::VarVar< OverlappingCondition > OverlappingCondition_var;
00443 typedef OB::VarOut< OverlappingCondition > OverlappingCondition_out;
00444
00445 struct OverlappingCondition
00446 {
00447 #ifdef OB_CLEAR_MEM
00448 OverlappingCondition();
00449 #else
00450 OverlappingCondition() { }
00451 #endif
00452 OverlappingCondition(const OverlappingCondition&);
00453 OverlappingCondition& operator=(const OverlappingCondition&);
00454
00455 typedef OverlappingCondition_var _var_type;
00456
00457 CORBA::Boolean total;
00458 SegmentationCondition segCond;
00459
00460 void _OB_marshal(OB::OutputStreamImpl*) const;
00461 static void _OB_unmarshal(OverlappingCondition&, OB::InputStreamImpl*);
00462 };
00463
00464 extern OB::TypeCodeConst _tc_OverlappingCondition;
00465
00466
00467
00468
00469 class OBUnique_OverlappingCondSeq { };
00470
00471 typedef OB::VarSeq< OverlappingCondition, OBUnique_OverlappingCondSeq > OverlappingCondSeq;
00472 typedef OB::SeqVar< OB::VarSeq< OverlappingCondition, OBUnique_OverlappingCondSeq > > OverlappingCondSeq_var;
00473 typedef OB::SeqOut< OB::VarSeq< OverlappingCondition, OBUnique_OverlappingCondSeq > > OverlappingCondSeq_out;
00474 extern OB::TypeCodeConst _tc_OverlappingCondSeq;
00475
00476 struct OBInfo_OverlappingCondSeq : public OB::ConstructedInfo
00477 {
00478 OBInfo_OverlappingCondSeq() { }
00479
00480 virtual void free(void* p) const
00481 {
00482 delete (OverlappingCondSeq*)p;
00483 }
00484
00485 virtual void* dup(const void* p) const
00486 {
00487 return new OverlappingCondSeq(*(const OverlappingCondSeq*)p);
00488 }
00489
00490 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00491 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00492 };
00493
00494
00495
00496
00497 class VxJoinedSegments : virtual public CORBA::Object
00498 {
00499 VxJoinedSegments(const VxJoinedSegments&);
00500 void operator=(const VxJoinedSegments&);
00501
00502 static const char* ids_[];
00503
00504 protected:
00505
00506 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00507
00508 public:
00509
00510 VxJoinedSegments() { }
00511 virtual ~VxJoinedSegments() { }
00512
00513 typedef VxJoinedSegments_ptr _ptr_type;
00514 typedef VxJoinedSegments_var _var_type;
00515
00516 static inline VxJoinedSegments_ptr
00517 _duplicate(VxJoinedSegments_ptr p)
00518 {
00519 if(p)
00520 p -> _OB_incRef();
00521 return p;
00522 }
00523
00524 static inline VxJoinedSegments_ptr
00525 _nil()
00526 {
00527 return 0;
00528 }
00529
00530 static VxJoinedSegments_ptr _narrow(CORBA::Object_ptr);
00531 static VxJoinedSegments_ptr _narrow(CORBA::AbstractBase_ptr);
00532
00533 virtual const char** _OB_ids() const;
00534 static const char** _OB_staticIds();
00535
00536
00537
00538
00539 CORBA::Long start();
00540
00541
00542
00543
00544 CORBA::Long end();
00545
00546
00547
00548
00549 CORBA::Long getInt(const char* segmentation,
00550 const char* id);
00551
00552
00553
00554
00555 CORBA::Double getDouble(const char* segmentation,
00556 const char* id);
00557
00558
00559
00560
00561 char* getString(const char* segmentation,
00562 const char* id);
00563
00564
00565
00566
00567 CORBA::Long getIntFlag(const char* segmentation,
00568 const char* id,
00569 CORBA::Boolean_out present);
00570
00571
00572
00573
00574 CORBA::Double getDoubleFlag(const char* segmentation,
00575 const char* id,
00576 CORBA::Boolean_out present);
00577
00578
00579
00580
00581 char* getStringFlag(const char* segmentation,
00582 const char* id,
00583 CORBA::Boolean_out present);
00584
00585
00586
00587
00588 StringSeq* listSegmentations();
00589
00590
00591
00592
00593 VxSegment_ptr getSegment(const char* segmentation);
00594 };
00595
00596
00597
00598
00599 class OBUnique_VxJoinedSegmentsSeq { };
00600
00601 typedef OB::ObjSeq< VxJoinedSegments, OBUnique_VxJoinedSegmentsSeq > VxJoinedSegmentsSeq;
00602 typedef OB::SeqVar< OB::ObjSeq< VxJoinedSegments, OBUnique_VxJoinedSegmentsSeq > > VxJoinedSegmentsSeq_var;
00603 typedef OB::SeqOut< OB::ObjSeq< VxJoinedSegments, OBUnique_VxJoinedSegmentsSeq > > VxJoinedSegmentsSeq_out;
00604 extern OB::TypeCodeConst _tc_VxJoinedSegmentsSeq;
00605
00606 struct OBInfo_VxJoinedSegmentsSeq : public OB::ConstructedInfo
00607 {
00608 OBInfo_VxJoinedSegmentsSeq() { }
00609
00610 virtual void free(void* p) const
00611 {
00612 delete (VxJoinedSegmentsSeq*)p;
00613 }
00614
00615 virtual void* dup(const void* p) const
00616 {
00617 return new VxJoinedSegmentsSeq(*(const VxJoinedSegmentsSeq*)p);
00618 }
00619
00620 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00621 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00622 };
00623
00624
00625
00626
00627 class DatabaseSession : virtual public CORBA::Object
00628 {
00629 DatabaseSession(const DatabaseSession&);
00630 void operator=(const DatabaseSession&);
00631
00632 static const char* ids_[];
00633
00634 protected:
00635
00636 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00637
00638 public:
00639
00640 DatabaseSession() { }
00641 virtual ~DatabaseSession() { }
00642
00643 typedef DatabaseSession_ptr _ptr_type;
00644 typedef DatabaseSession_var _var_type;
00645
00646 static inline DatabaseSession_ptr
00647 _duplicate(DatabaseSession_ptr p)
00648 {
00649 if(p)
00650 p -> _OB_incRef();
00651 return p;
00652 }
00653
00654 static inline DatabaseSession_ptr
00655 _nil()
00656 {
00657 return 0;
00658 }
00659
00660 static DatabaseSession_ptr _narrow(CORBA::Object_ptr);
00661 static DatabaseSession_ptr _narrow(CORBA::AbstractBase_ptr);
00662
00663 virtual const char** _OB_ids() const;
00664 static const char** _OB_staticIds();
00665
00666
00667
00668
00669 StringSeq* listVideos();
00670
00671
00672
00673
00674 StringSeq* listSegmentations(const char* videoName);
00675
00676
00677
00678
00679 VxSegmentation_ptr getSegmentation(const char* videoName,
00680 const char* segName);
00681
00682
00683
00684
00685 void addSegmentation(VxSegmentation_ptr seg,
00686 const char* videoName,
00687 const char* segName,
00688 const char* description);
00689
00690
00691
00692
00693 VxSegmentationBuilder_ptr buildSegmentation(const char* videoName,
00694 const char* segName);
00695
00696
00697
00698
00699 VxSegmentSeq* querySegments(const char* sqlQuery);
00700
00701
00702
00703
00704 VxSegmentSeq* querySegmentations(const char* videoName,
00705 const SegmentationCondition& segCond,
00706 const OverlappingCondSeq& overlappings);
00707
00708
00709
00710
00711 VxJoinedSegmentsSeq* queryIntersections(const char* videoName,
00712 const SegmentationConditionSeq& conds);
00713
00714
00715
00716
00717 char* queryXML(const char* sqlQuery);
00718
00719
00720
00721
00722 void close();
00723 };
00724
00725
00726
00727
00728 class Database : virtual public CORBA::Object
00729 {
00730 Database(const Database&);
00731 void operator=(const Database&);
00732
00733 static const char* ids_[];
00734
00735 protected:
00736
00737 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00738
00739 public:
00740
00741 Database() { }
00742 virtual ~Database() { }
00743
00744 typedef Database_ptr _ptr_type;
00745 typedef Database_var _var_type;
00746
00747 static inline Database_ptr
00748 _duplicate(Database_ptr p)
00749 {
00750 if(p)
00751 p -> _OB_incRef();
00752 return p;
00753 }
00754
00755 static inline Database_ptr
00756 _nil()
00757 {
00758 return 0;
00759 }
00760
00761 static Database_ptr _narrow(CORBA::Object_ptr);
00762 static Database_ptr _narrow(CORBA::AbstractBase_ptr);
00763
00764 virtual const char** _OB_ids() const;
00765 static const char** _OB_staticIds();
00766
00767
00768
00769
00770 DatabaseSession_ptr openSession(const char* username,
00771 const char* password);
00772 };
00773
00774 }
00775
00776
00777
00778
00779 namespace OBStubImpl_HxCorba
00780 {
00781
00782
00783
00784
00785 class VxSegmentBuilder : virtual public OB::StubImplBase
00786 {
00787 VxSegmentBuilder(const VxSegmentBuilder&);
00788 void operator=(const VxSegmentBuilder&);
00789
00790 protected:
00791
00792 VxSegmentBuilder() { }
00793
00794 public:
00795
00796 static inline VxSegmentBuilder_ptr
00797 _duplicate(VxSegmentBuilder_ptr p)
00798 {
00799 if(p)
00800 p -> _OB_incRef();
00801 return p;
00802 }
00803
00804 static inline VxSegmentBuilder_ptr
00805 _nil()
00806 {
00807 return 0;
00808 }
00809
00810
00811
00812
00813 virtual void addInt(const char* id,
00814 CORBA::Long value) = 0;
00815
00816
00817
00818
00819 virtual void addDouble(const char* id,
00820 CORBA::Double value) = 0;
00821
00822
00823
00824
00825 virtual void addString(const char* id,
00826 const char* value) = 0;
00827
00828
00829
00830
00831 virtual void close() = 0;
00832 };
00833
00834
00835
00836
00837 class VxSegmentationBuilder : virtual public OB::StubImplBase
00838 {
00839 VxSegmentationBuilder(const VxSegmentationBuilder&);
00840 void operator=(const VxSegmentationBuilder&);
00841
00842 protected:
00843
00844 VxSegmentationBuilder() { }
00845
00846 public:
00847
00848 static inline VxSegmentationBuilder_ptr
00849 _duplicate(VxSegmentationBuilder_ptr p)
00850 {
00851 if(p)
00852 p -> _OB_incRef();
00853 return p;
00854 }
00855
00856 static inline VxSegmentationBuilder_ptr
00857 _nil()
00858 {
00859 return 0;
00860 }
00861
00862
00863
00864
00865 virtual void setDescription(const char* description) = 0;
00866
00867
00868
00869
00870 virtual HxCorba::VxSegmentBuilder_ptr addSegment(CORBA::Long start,
00871 CORBA::Long end) = 0;
00872
00873
00874
00875
00876 virtual void close() = 0;
00877 };
00878
00879
00880
00881
00882 class VxJoinedSegments : virtual public OB::StubImplBase
00883 {
00884 VxJoinedSegments(const VxJoinedSegments&);
00885 void operator=(const VxJoinedSegments&);
00886
00887 protected:
00888
00889 VxJoinedSegments() { }
00890
00891 public:
00892
00893 static inline VxJoinedSegments_ptr
00894 _duplicate(VxJoinedSegments_ptr p)
00895 {
00896 if(p)
00897 p -> _OB_incRef();
00898 return p;
00899 }
00900
00901 static inline VxJoinedSegments_ptr
00902 _nil()
00903 {
00904 return 0;
00905 }
00906
00907
00908
00909
00910 virtual CORBA::Long start() = 0;
00911
00912
00913
00914
00915 virtual CORBA::Long end() = 0;
00916
00917
00918
00919
00920 virtual CORBA::Long getInt(const char* segmentation,
00921 const char* id) = 0;
00922
00923
00924
00925
00926 virtual CORBA::Double getDouble(const char* segmentation,
00927 const char* id) = 0;
00928
00929
00930
00931
00932 virtual char* getString(const char* segmentation,
00933 const char* id) = 0;
00934
00935
00936
00937
00938 virtual CORBA::Long getIntFlag(const char* segmentation,
00939 const char* id,
00940 CORBA::Boolean_out present) = 0;
00941
00942
00943
00944
00945 virtual CORBA::Double getDoubleFlag(const char* segmentation,
00946 const char* id,
00947 CORBA::Boolean_out present) = 0;
00948
00949
00950
00951
00952 virtual char* getStringFlag(const char* segmentation,
00953 const char* id,
00954 CORBA::Boolean_out present) = 0;
00955
00956
00957
00958
00959 virtual HxCorba::StringSeq* listSegmentations() = 0;
00960
00961
00962
00963
00964 virtual HxCorba::VxSegment_ptr getSegment(const char* segmentation) = 0;
00965 };
00966
00967
00968
00969
00970 class DatabaseSession : virtual public OB::StubImplBase
00971 {
00972 DatabaseSession(const DatabaseSession&);
00973 void operator=(const DatabaseSession&);
00974
00975 protected:
00976
00977 DatabaseSession() { }
00978
00979 public:
00980
00981 static inline DatabaseSession_ptr
00982 _duplicate(DatabaseSession_ptr p)
00983 {
00984 if(p)
00985 p -> _OB_incRef();
00986 return p;
00987 }
00988
00989 static inline DatabaseSession_ptr
00990 _nil()
00991 {
00992 return 0;
00993 }
00994
00995
00996
00997
00998 virtual HxCorba::StringSeq* listVideos() = 0;
00999
01000
01001
01002
01003 virtual HxCorba::StringSeq* listSegmentations(const char* videoName) = 0;
01004
01005
01006
01007
01008 virtual HxCorba::VxSegmentation_ptr getSegmentation(const char* videoName,
01009 const char* segName) = 0;
01010
01011
01012
01013
01014 virtual void addSegmentation(HxCorba::VxSegmentation_ptr seg,
01015 const char* videoName,
01016 const char* segName,
01017 const char* description) = 0;
01018
01019
01020
01021
01022 virtual HxCorba::VxSegmentationBuilder_ptr buildSegmentation(const char* videoName,
01023 const char* segName) = 0;
01024
01025
01026
01027
01028 virtual HxCorba::VxSegmentSeq* querySegments(const char* sqlQuery) = 0;
01029
01030
01031
01032
01033 virtual HxCorba::VxSegmentSeq* querySegmentations(const char* videoName,
01034 const HxCorba::SegmentationCondition& segCond,
01035 const HxCorba::OverlappingCondSeq& overlappings) = 0;
01036
01037
01038
01039
01040 virtual HxCorba::VxJoinedSegmentsSeq* queryIntersections(const char* videoName,
01041 const HxCorba::SegmentationConditionSeq& conds) = 0;
01042
01043
01044
01045
01046 virtual char* queryXML(const char* sqlQuery) = 0;
01047
01048
01049
01050
01051 virtual void close() = 0;
01052 };
01053
01054
01055
01056
01057 class Database : virtual public OB::StubImplBase
01058 {
01059 Database(const Database&);
01060 void operator=(const Database&);
01061
01062 protected:
01063
01064 Database() { }
01065
01066 public:
01067
01068 static inline Database_ptr
01069 _duplicate(Database_ptr p)
01070 {
01071 if(p)
01072 p -> _OB_incRef();
01073 return p;
01074 }
01075
01076 static inline Database_ptr
01077 _nil()
01078 {
01079 return 0;
01080 }
01081
01082
01083
01084
01085 virtual HxCorba::DatabaseSession_ptr openSession(const char* username,
01086 const char* password) = 0;
01087 };
01088
01089 }
01090
01091
01092
01093
01094 namespace OBMarshalStubImpl_HxCorba
01095 {
01096
01097
01098
01099
01100 class VxSegmentBuilder : virtual public OBStubImpl_HxCorba::VxSegmentBuilder,
01101 virtual public OB::MarshalStubImpl
01102 {
01103 VxSegmentBuilder(const VxSegmentBuilder&);
01104 void operator=(const VxSegmentBuilder&);
01105
01106 protected:
01107
01108 VxSegmentBuilder() { }
01109 friend class HxCorba::VxSegmentBuilder;
01110
01111 public:
01112
01113
01114
01115
01116 virtual void addInt(const char* id,
01117 CORBA::Long value);
01118
01119
01120
01121
01122 virtual void addDouble(const char* id,
01123 CORBA::Double value);
01124
01125
01126
01127
01128 virtual void addString(const char* id,
01129 const char* value);
01130
01131
01132
01133
01134 virtual void close();
01135 };
01136
01137
01138
01139
01140 class VxSegmentationBuilder : virtual public OBStubImpl_HxCorba::VxSegmentationBuilder,
01141 virtual public OB::MarshalStubImpl
01142 {
01143 VxSegmentationBuilder(const VxSegmentationBuilder&);
01144 void operator=(const VxSegmentationBuilder&);
01145
01146 protected:
01147
01148 VxSegmentationBuilder() { }
01149 friend class HxCorba::VxSegmentationBuilder;
01150
01151 public:
01152
01153
01154
01155
01156 virtual void setDescription(const char* description);
01157
01158
01159
01160
01161 virtual HxCorba::VxSegmentBuilder_ptr addSegment(CORBA::Long start,
01162 CORBA::Long end);
01163
01164
01165
01166
01167 virtual void close();
01168 };
01169
01170
01171
01172
01173 class VxJoinedSegments : virtual public OBStubImpl_HxCorba::VxJoinedSegments,
01174 virtual public OB::MarshalStubImpl
01175 {
01176 VxJoinedSegments(const VxJoinedSegments&);
01177 void operator=(const VxJoinedSegments&);
01178
01179 protected:
01180
01181 VxJoinedSegments() { }
01182 friend class HxCorba::VxJoinedSegments;
01183
01184 public:
01185
01186
01187
01188
01189 virtual CORBA::Long start();
01190
01191
01192
01193
01194 virtual CORBA::Long end();
01195
01196
01197
01198
01199 virtual CORBA::Long getInt(const char* segmentation,
01200 const char* id);
01201
01202
01203
01204
01205 virtual CORBA::Double getDouble(const char* segmentation,
01206 const char* id);
01207
01208
01209
01210
01211 virtual char* getString(const char* segmentation,
01212 const char* id);
01213
01214
01215
01216
01217 virtual CORBA::Long getIntFlag(const char* segmentation,
01218 const char* id,
01219 CORBA::Boolean_out present);
01220
01221
01222
01223
01224 virtual CORBA::Double getDoubleFlag(const char* segmentation,
01225 const char* id,
01226 CORBA::Boolean_out present);
01227
01228
01229
01230
01231 virtual char* getStringFlag(const char* segmentation,
01232 const char* id,
01233 CORBA::Boolean_out present);
01234
01235
01236
01237
01238 virtual HxCorba::StringSeq* listSegmentations();
01239
01240
01241
01242
01243 virtual HxCorba::VxSegment_ptr getSegment(const char* segmentation);
01244 };
01245
01246
01247
01248
01249 class DatabaseSession : virtual public OBStubImpl_HxCorba::DatabaseSession,
01250 virtual public OB::MarshalStubImpl
01251 {
01252 DatabaseSession(const DatabaseSession&);
01253 void operator=(const DatabaseSession&);
01254
01255 protected:
01256
01257 DatabaseSession() { }
01258 friend class HxCorba::DatabaseSession;
01259
01260 public:
01261
01262
01263
01264
01265 virtual HxCorba::StringSeq* listVideos();
01266
01267
01268
01269
01270 virtual HxCorba::StringSeq* listSegmentations(const char* videoName);
01271
01272
01273
01274
01275 virtual HxCorba::VxSegmentation_ptr getSegmentation(const char* videoName,
01276 const char* segName);
01277
01278
01279
01280
01281 virtual void addSegmentation(HxCorba::VxSegmentation_ptr seg,
01282 const char* videoName,
01283 const char* segName,
01284 const char* description);
01285
01286
01287
01288
01289 virtual HxCorba::VxSegmentationBuilder_ptr buildSegmentation(const char* videoName,
01290 const char* segName);
01291
01292
01293
01294
01295 virtual HxCorba::VxSegmentSeq* querySegments(const char* sqlQuery);
01296
01297
01298
01299
01300 virtual HxCorba::VxSegmentSeq* querySegmentations(const char* videoName,
01301 const HxCorba::SegmentationCondition& segCond,
01302 const HxCorba::OverlappingCondSeq& overlappings);
01303
01304
01305
01306
01307 virtual HxCorba::VxJoinedSegmentsSeq* queryIntersections(const char* videoName,
01308 const HxCorba::SegmentationConditionSeq& conds);
01309
01310
01311
01312
01313 virtual char* queryXML(const char* sqlQuery);
01314
01315
01316
01317
01318 virtual void close();
01319 };
01320
01321
01322
01323
01324 class Database : virtual public OBStubImpl_HxCorba::Database,
01325 virtual public OB::MarshalStubImpl
01326 {
01327 Database(const Database&);
01328 void operator=(const Database&);
01329
01330 protected:
01331
01332 Database() { }
01333 friend class HxCorba::Database;
01334
01335 public:
01336
01337
01338
01339
01340 virtual HxCorba::DatabaseSession_ptr openSession(const char* username,
01341 const char* password);
01342 };
01343
01344 }
01345
01346
01347
01348
01349 namespace OBV_HxCorba
01350 {
01351
01352 }
01353
01354
01355
01356
01357 void operator<<=(CORBA::Any&, HxCorba::DatabaseException*);
01358 void operator<<=(CORBA::Any&, const HxCorba::DatabaseException&);
01359 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::DatabaseException*&);
01360
01361 inline void
01362 operator<<=(CORBA::Any_var& any, HxCorba::DatabaseException* val)
01363 {
01364 any.inout() <<= val;
01365 }
01366
01367 inline void
01368 operator<<=(CORBA::Any_var& any, const HxCorba::DatabaseException& val)
01369 {
01370 any.inout() <<= val;
01371 }
01372
01373 inline CORBA::Boolean
01374 operator>>=(const CORBA::Any_var& any, const HxCorba::DatabaseException*& val)
01375 {
01376 return any.in() >>= val;
01377 }
01378
01379
01380
01381
01382 namespace CORBA
01383 {
01384
01385 inline void
01386 release(HxCorba::VxSegmentBuilder_ptr p)
01387 {
01388 if(p)
01389 p -> _OB_decRef();
01390 }
01391
01392 inline Boolean
01393 is_nil(HxCorba::VxSegmentBuilder_ptr p)
01394 {
01395 return p == 0;
01396 }
01397
01398 inline void
01399 release(OBStubImpl_HxCorba::VxSegmentBuilder_ptr p)
01400 {
01401 if(p)
01402 p -> _OB_decRef();
01403 }
01404
01405 inline Boolean
01406 is_nil(OBStubImpl_HxCorba::VxSegmentBuilder_ptr p)
01407 {
01408 return p == 0;
01409 }
01410
01411 }
01412
01413 void operator<<=(CORBA::Any&, HxCorba::VxSegmentBuilder_ptr*);
01414 void operator<<=(CORBA::Any&, HxCorba::VxSegmentBuilder_ptr);
01415 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VxSegmentBuilder_ptr&);
01416
01417 inline void
01418 operator<<=(CORBA::Any_var& any, HxCorba::VxSegmentBuilder_ptr* val)
01419 {
01420 any.inout() <<= val;
01421 }
01422
01423 inline void
01424 operator<<=(CORBA::Any_var& any, HxCorba::VxSegmentBuilder_ptr val)
01425 {
01426 any.inout() <<= val;
01427 }
01428
01429 inline CORBA::Boolean
01430 operator>>=(const CORBA::Any_var& any, HxCorba::VxSegmentBuilder_ptr& val)
01431 {
01432 return any.in() >>= val;
01433 }
01434
01435
01436
01437
01438 namespace CORBA
01439 {
01440
01441 inline void
01442 release(HxCorba::VxSegmentationBuilder_ptr p)
01443 {
01444 if(p)
01445 p -> _OB_decRef();
01446 }
01447
01448 inline Boolean
01449 is_nil(HxCorba::VxSegmentationBuilder_ptr p)
01450 {
01451 return p == 0;
01452 }
01453
01454 inline void
01455 release(OBStubImpl_HxCorba::VxSegmentationBuilder_ptr p)
01456 {
01457 if(p)
01458 p -> _OB_decRef();
01459 }
01460
01461 inline Boolean
01462 is_nil(OBStubImpl_HxCorba::VxSegmentationBuilder_ptr p)
01463 {
01464 return p == 0;
01465 }
01466
01467 }
01468
01469 void operator<<=(CORBA::Any&, HxCorba::VxSegmentationBuilder_ptr*);
01470 void operator<<=(CORBA::Any&, HxCorba::VxSegmentationBuilder_ptr);
01471 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VxSegmentationBuilder_ptr&);
01472
01473 inline void
01474 operator<<=(CORBA::Any_var& any, HxCorba::VxSegmentationBuilder_ptr* val)
01475 {
01476 any.inout() <<= val;
01477 }
01478
01479 inline void
01480 operator<<=(CORBA::Any_var& any, HxCorba::VxSegmentationBuilder_ptr val)
01481 {
01482 any.inout() <<= val;
01483 }
01484
01485 inline CORBA::Boolean
01486 operator>>=(const CORBA::Any_var& any, HxCorba::VxSegmentationBuilder_ptr& val)
01487 {
01488 return any.in() >>= val;
01489 }
01490
01491
01492
01493
01494 void operator<<=(CORBA::Any&, HxCorba::FeatureCondition*);
01495 void operator<<=(CORBA::Any&, const HxCorba::FeatureCondition&);
01496 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::FeatureCondition*&);
01497
01498 inline void
01499 operator<<=(CORBA::Any_var& any, HxCorba::FeatureCondition* val)
01500 {
01501 any.inout() <<= val;
01502 }
01503
01504 inline void
01505 operator<<=(CORBA::Any_var& any, const HxCorba::FeatureCondition& val)
01506 {
01507 any.inout() <<= val;
01508 }
01509
01510 inline CORBA::Boolean
01511 operator>>=(const CORBA::Any_var& any, const HxCorba::FeatureCondition*& val)
01512 {
01513 return any.in() >>= val;
01514 }
01515
01516
01517
01518
01519 void operator<<=(CORBA::Any&, HxCorba::FeatureCondSeq*);
01520 void operator<<=(CORBA::Any&, const HxCorba::FeatureCondSeq&);
01521 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::FeatureCondSeq*&);
01522
01523 inline void
01524 operator<<=(CORBA::Any_var& any, HxCorba::FeatureCondSeq* val)
01525 {
01526 any.inout() <<= val;
01527 }
01528
01529 inline void
01530 operator<<=(CORBA::Any_var& any, const HxCorba::FeatureCondSeq& val)
01531 {
01532 any.inout() <<= val;
01533 }
01534
01535 inline CORBA::Boolean
01536 operator>>=(const CORBA::Any_var& any, const HxCorba::FeatureCondSeq*& val)
01537 {
01538 return any.in() >>= val;
01539 }
01540
01541
01542
01543
01544 void operator<<=(CORBA::Any&, HxCorba::SegmentationCondition*);
01545 void operator<<=(CORBA::Any&, const HxCorba::SegmentationCondition&);
01546 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::SegmentationCondition*&);
01547
01548 inline void
01549 operator<<=(CORBA::Any_var& any, HxCorba::SegmentationCondition* val)
01550 {
01551 any.inout() <<= val;
01552 }
01553
01554 inline void
01555 operator<<=(CORBA::Any_var& any, const HxCorba::SegmentationCondition& val)
01556 {
01557 any.inout() <<= val;
01558 }
01559
01560 inline CORBA::Boolean
01561 operator>>=(const CORBA::Any_var& any, const HxCorba::SegmentationCondition*& val)
01562 {
01563 return any.in() >>= val;
01564 }
01565
01566
01567
01568
01569 void operator<<=(CORBA::Any&, HxCorba::SegmentationConditionSeq*);
01570 void operator<<=(CORBA::Any&, const HxCorba::SegmentationConditionSeq&);
01571 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::SegmentationConditionSeq*&);
01572
01573 inline void
01574 operator<<=(CORBA::Any_var& any, HxCorba::SegmentationConditionSeq* val)
01575 {
01576 any.inout() <<= val;
01577 }
01578
01579 inline void
01580 operator<<=(CORBA::Any_var& any, const HxCorba::SegmentationConditionSeq& val)
01581 {
01582 any.inout() <<= val;
01583 }
01584
01585 inline CORBA::Boolean
01586 operator>>=(const CORBA::Any_var& any, const HxCorba::SegmentationConditionSeq*& val)
01587 {
01588 return any.in() >>= val;
01589 }
01590
01591
01592
01593
01594 void operator<<=(CORBA::Any&, HxCorba::OverlappingCondition*);
01595 void operator<<=(CORBA::Any&, const HxCorba::OverlappingCondition&);
01596 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::OverlappingCondition*&);
01597
01598 inline void
01599 operator<<=(CORBA::Any_var& any, HxCorba::OverlappingCondition* val)
01600 {
01601 any.inout() <<= val;
01602 }
01603
01604 inline void
01605 operator<<=(CORBA::Any_var& any, const HxCorba::OverlappingCondition& val)
01606 {
01607 any.inout() <<= val;
01608 }
01609
01610 inline CORBA::Boolean
01611 operator>>=(const CORBA::Any_var& any, const HxCorba::OverlappingCondition*& val)
01612 {
01613 return any.in() >>= val;
01614 }
01615
01616
01617
01618
01619 void operator<<=(CORBA::Any&, HxCorba::OverlappingCondSeq*);
01620 void operator<<=(CORBA::Any&, const HxCorba::OverlappingCondSeq&);
01621 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::OverlappingCondSeq*&);
01622
01623 inline void
01624 operator<<=(CORBA::Any_var& any, HxCorba::OverlappingCondSeq* val)
01625 {
01626 any.inout() <<= val;
01627 }
01628
01629 inline void
01630 operator<<=(CORBA::Any_var& any, const HxCorba::OverlappingCondSeq& val)
01631 {
01632 any.inout() <<= val;
01633 }
01634
01635 inline CORBA::Boolean
01636 operator>>=(const CORBA::Any_var& any, const HxCorba::OverlappingCondSeq*& val)
01637 {
01638 return any.in() >>= val;
01639 }
01640
01641
01642
01643
01644 namespace CORBA
01645 {
01646
01647 inline void
01648 release(HxCorba::VxJoinedSegments_ptr p)
01649 {
01650 if(p)
01651 p -> _OB_decRef();
01652 }
01653
01654 inline Boolean
01655 is_nil(HxCorba::VxJoinedSegments_ptr p)
01656 {
01657 return p == 0;
01658 }
01659
01660 inline void
01661 release(OBStubImpl_HxCorba::VxJoinedSegments_ptr p)
01662 {
01663 if(p)
01664 p -> _OB_decRef();
01665 }
01666
01667 inline Boolean
01668 is_nil(OBStubImpl_HxCorba::VxJoinedSegments_ptr p)
01669 {
01670 return p == 0;
01671 }
01672
01673 }
01674
01675 void operator<<=(CORBA::Any&, HxCorba::VxJoinedSegments_ptr*);
01676 void operator<<=(CORBA::Any&, HxCorba::VxJoinedSegments_ptr);
01677 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::VxJoinedSegments_ptr&);
01678
01679 inline void
01680 operator<<=(CORBA::Any_var& any, HxCorba::VxJoinedSegments_ptr* val)
01681 {
01682 any.inout() <<= val;
01683 }
01684
01685 inline void
01686 operator<<=(CORBA::Any_var& any, HxCorba::VxJoinedSegments_ptr val)
01687 {
01688 any.inout() <<= val;
01689 }
01690
01691 inline CORBA::Boolean
01692 operator>>=(const CORBA::Any_var& any, HxCorba::VxJoinedSegments_ptr& val)
01693 {
01694 return any.in() >>= val;
01695 }
01696
01697
01698
01699
01700 void operator<<=(CORBA::Any&, HxCorba::VxJoinedSegmentsSeq*);
01701 void operator<<=(CORBA::Any&, const HxCorba::VxJoinedSegmentsSeq&);
01702 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::VxJoinedSegmentsSeq*&);
01703
01704 inline void
01705 operator<<=(CORBA::Any_var& any, HxCorba::VxJoinedSegmentsSeq* val)
01706 {
01707 any.inout() <<= val;
01708 }
01709
01710 inline void
01711 operator<<=(CORBA::Any_var& any, const HxCorba::VxJoinedSegmentsSeq& val)
01712 {
01713 any.inout() <<= val;
01714 }
01715
01716 inline CORBA::Boolean
01717 operator>>=(const CORBA::Any_var& any, const HxCorba::VxJoinedSegmentsSeq*& val)
01718 {
01719 return any.in() >>= val;
01720 }
01721
01722
01723
01724
01725 namespace CORBA
01726 {
01727
01728 inline void
01729 release(HxCorba::DatabaseSession_ptr p)
01730 {
01731 if(p)
01732 p -> _OB_decRef();
01733 }
01734
01735 inline Boolean
01736 is_nil(HxCorba::DatabaseSession_ptr p)
01737 {
01738 return p == 0;
01739 }
01740
01741 inline void
01742 release(OBStubImpl_HxCorba::DatabaseSession_ptr p)
01743 {
01744 if(p)
01745 p -> _OB_decRef();
01746 }
01747
01748 inline Boolean
01749 is_nil(OBStubImpl_HxCorba::DatabaseSession_ptr p)
01750 {
01751 return p == 0;
01752 }
01753
01754 }
01755
01756 void operator<<=(CORBA::Any&, HxCorba::DatabaseSession_ptr*);
01757 void operator<<=(CORBA::Any&, HxCorba::DatabaseSession_ptr);
01758 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::DatabaseSession_ptr&);
01759
01760 inline void
01761 operator<<=(CORBA::Any_var& any, HxCorba::DatabaseSession_ptr* val)
01762 {
01763 any.inout() <<= val;
01764 }
01765
01766 inline void
01767 operator<<=(CORBA::Any_var& any, HxCorba::DatabaseSession_ptr val)
01768 {
01769 any.inout() <<= val;
01770 }
01771
01772 inline CORBA::Boolean
01773 operator>>=(const CORBA::Any_var& any, HxCorba::DatabaseSession_ptr& val)
01774 {
01775 return any.in() >>= val;
01776 }
01777
01778
01779
01780
01781 namespace CORBA
01782 {
01783
01784 inline void
01785 release(HxCorba::Database_ptr p)
01786 {
01787 if(p)
01788 p -> _OB_decRef();
01789 }
01790
01791 inline Boolean
01792 is_nil(HxCorba::Database_ptr p)
01793 {
01794 return p == 0;
01795 }
01796
01797 inline void
01798 release(OBStubImpl_HxCorba::Database_ptr p)
01799 {
01800 if(p)
01801 p -> _OB_decRef();
01802 }
01803
01804 inline Boolean
01805 is_nil(OBStubImpl_HxCorba::Database_ptr p)
01806 {
01807 return p == 0;
01808 }
01809
01810 }
01811
01812 void operator<<=(CORBA::Any&, HxCorba::Database_ptr*);
01813 void operator<<=(CORBA::Any&, HxCorba::Database_ptr);
01814 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Database_ptr&);
01815
01816 inline void
01817 operator<<=(CORBA::Any_var& any, HxCorba::Database_ptr* val)
01818 {
01819 any.inout() <<= val;
01820 }
01821
01822 inline void
01823 operator<<=(CORBA::Any_var& any, HxCorba::Database_ptr val)
01824 {
01825 any.inout() <<= val;
01826 }
01827
01828 inline CORBA::Boolean
01829 operator>>=(const CORBA::Any_var& any, HxCorba::Database_ptr& val)
01830 {
01831 return any.in() >>= val;
01832 }
01833
01834 #endif