00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaRegistry_h__
00016 #define ___HxCorbaRegistry_h__
00017
00018 #ifndef OB_INTEGER_VERSION
00019 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00020 #endif
00021
00022 #ifndef OB_NO_VERSION_CHECK
00023 # if (OB_INTEGER_VERSION != 4010000L)
00024 # error ORBacus version mismatch!
00025 # endif
00026 #endif
00027
00028 namespace HxCorba
00029 {
00030
00031 class Registry;
00032 typedef Registry* Registry_ptr;
00033 typedef Registry* RegistryRef;
00034
00035 extern OB::TypeCodeConst _tc_Registry;
00036
00037 }
00038
00039 void OBDuplicate(HxCorba::Registry_ptr);
00040 void OBRelease(HxCorba::Registry_ptr);
00041
00042 void OBMarshal(HxCorba::Registry_ptr, OB::OutputStreamImpl*);
00043 void OBUnmarshal(HxCorba::Registry_ptr&, OB::InputStreamImpl*);
00044
00045 namespace HxCorba
00046 {
00047
00048 typedef OB::ObjVar< Registry > Registry_var;
00049 typedef OB::ObjOut< Registry > Registry_out;
00050
00051 }
00052
00053 namespace OBStubImpl_HxCorba
00054 {
00055
00056 class Registry;
00057 typedef Registry* Registry_ptr;
00058
00059 }
00060
00061 void OBDuplicate(OBStubImpl_HxCorba::Registry_ptr);
00062 void OBRelease(OBStubImpl_HxCorba::Registry_ptr);
00063
00064 namespace OBStubImpl_HxCorba
00065 {
00066
00067 typedef OB::ObjVar< Registry > Registry_var;
00068
00069 }
00070
00071
00072
00073
00074 namespace HxCorba
00075 {
00076
00077
00078
00079
00080 class OBUnique_NameList { };
00081
00082 typedef OB::StrSeq< OBUnique_NameList > NameList;
00083 typedef OB::SeqVar< OB::StrSeq< OBUnique_NameList > > NameList_var;
00084 typedef OB::SeqOut< OB::StrSeq< OBUnique_NameList > > NameList_out;
00085 extern OB::TypeCodeConst _tc_NameList;
00086
00087 struct OBInfo_NameList : public OB::ConstructedInfo
00088 {
00089 OBInfo_NameList() { }
00090
00091 virtual void free(void* p) const
00092 {
00093 delete (NameList*)p;
00094 }
00095
00096 virtual void* dup(const void* p) const
00097 {
00098 return new NameList(*(const NameList*)p);
00099 }
00100
00101 virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00102 virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00103 };
00104
00105
00106
00107
00108 class Registry : virtual public CORBA::Object
00109 {
00110 Registry(const Registry&);
00111 void operator=(const Registry&);
00112
00113 protected:
00114
00115 static const char* ids_[];
00116
00117 public:
00118
00119 Registry() { }
00120 virtual ~Registry() { }
00121
00122 typedef Registry_ptr _ptr_type;
00123 typedef Registry_var _var_type;
00124
00125 static inline Registry_ptr
00126 _duplicate(Registry_ptr p)
00127 {
00128 if(p)
00129 p -> _add_ref();
00130 return p;
00131 }
00132
00133 static inline Registry_ptr
00134 _nil()
00135 {
00136 return 0;
00137 }
00138
00139 static Registry_ptr _narrow(CORBA::Object_ptr);
00140 static Registry_ptr _unchecked_narrow(CORBA::Object_ptr);
00141
00142 static Registry_ptr _narrow(CORBA::AbstractBase_ptr);
00143 static Registry_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00144
00145 static const char** _OB_staticIds();
00146
00147
00148
00149
00150 virtual NameList* getKeyNames(const char* cursorKey) = 0;
00151
00152
00153
00154
00155 virtual NameList* getValueNames(const char* cursorKey) = 0;
00156
00157
00158
00159
00160 virtual NameList* getValueData(const char* cursorKey) = 0;
00161 };
00162
00163 }
00164
00165
00166
00167
00168 namespace OBProxy_HxCorba
00169 {
00170
00171
00172
00173
00174 class Registry : virtual public ::HxCorba::Registry,
00175 virtual public OBCORBA::Object
00176 {
00177 Registry(const Registry&);
00178 void operator=(const Registry&);
00179
00180 protected:
00181
00182 virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00183
00184 public:
00185
00186 Registry() { }
00187 virtual ~Registry() { }
00188
00189 virtual const char** _OB_ids() const;
00190
00191
00192
00193
00194 ::HxCorba::NameList* getKeyNames(const char* cursorKey);
00195
00196
00197
00198
00199 ::HxCorba::NameList* getValueNames(const char* cursorKey);
00200
00201
00202
00203
00204 ::HxCorba::NameList* getValueData(const char* cursorKey);
00205 };
00206
00207 }
00208
00209
00210
00211
00212 namespace OBStubImpl_HxCorba
00213 {
00214
00215
00216
00217
00218 class Registry : virtual public OB::StubImplBase
00219 {
00220 Registry(const Registry&);
00221 void operator=(const Registry&);
00222
00223 protected:
00224
00225 Registry() { }
00226
00227 public:
00228
00229 static inline Registry_ptr
00230 _duplicate(Registry_ptr p)
00231 {
00232 if(p)
00233 p -> _OB_incRef();
00234 return p;
00235 }
00236
00237 static inline Registry_ptr
00238 _nil()
00239 {
00240 return 0;
00241 }
00242
00243
00244
00245
00246 virtual ::HxCorba::NameList* getKeyNames(const char* cursorKey) = 0;
00247
00248
00249
00250
00251 virtual ::HxCorba::NameList* getValueNames(const char* cursorKey) = 0;
00252
00253
00254
00255
00256 virtual ::HxCorba::NameList* getValueData(const char* cursorKey) = 0;
00257 };
00258
00259 }
00260
00261
00262
00263
00264 namespace OBMarshalStubImpl_HxCorba
00265 {
00266
00267
00268
00269
00270 class Registry : virtual public OBStubImpl_HxCorba::Registry,
00271 virtual public OB::MarshalStubImpl
00272 {
00273 Registry(const Registry&);
00274 void operator=(const Registry&);
00275
00276 protected:
00277
00278 Registry() { }
00279 friend class OBProxy_HxCorba::Registry;
00280
00281 public:
00282
00283
00284
00285
00286 virtual ::HxCorba::NameList* getKeyNames(const char* cursorKey);
00287
00288
00289
00290
00291 virtual ::HxCorba::NameList* getValueNames(const char* cursorKey);
00292
00293
00294
00295
00296 virtual ::HxCorba::NameList* getValueData(const char* cursorKey);
00297 };
00298
00299 }
00300
00301
00302
00303
00304 namespace OBV_HxCorba
00305 {
00306
00307 }
00308
00309
00310
00311
00312 void operator<<=(CORBA::Any&, HxCorba::NameList*);
00313 void operator<<=(CORBA::Any&, const HxCorba::NameList&);
00314 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::NameList*&);
00315
00316 inline void
00317 operator<<=(CORBA::Any_var& any, HxCorba::NameList* val)
00318 {
00319 any.inout() <<= val;
00320 }
00321
00322 inline void
00323 operator<<=(CORBA::Any_var& any, const HxCorba::NameList& val)
00324 {
00325 any.inout() <<= val;
00326 }
00327
00328 inline CORBA::Boolean
00329 operator>>=(const CORBA::Any_var& any, const HxCorba::NameList*& val)
00330 {
00331 return any.in() >>= val;
00332 }
00333
00334
00335
00336
00337 namespace CORBA
00338 {
00339
00340 inline void
00341 release(::HxCorba::Registry_ptr p)
00342 {
00343 if(p)
00344 p -> _remove_ref();
00345 }
00346
00347 inline Boolean
00348 is_nil(::HxCorba::Registry_ptr p)
00349 {
00350 return p == 0;
00351 }
00352
00353 inline void
00354 release(OBStubImpl_HxCorba::Registry_ptr p)
00355 {
00356 if(p)
00357 p -> _OB_decRef();
00358 }
00359
00360 inline Boolean
00361 is_nil(OBStubImpl_HxCorba::Registry_ptr p)
00362 {
00363 return p == 0;
00364 }
00365
00366 }
00367
00368 void operator<<=(CORBA::Any&, HxCorba::Registry_ptr*);
00369 void operator<<=(CORBA::Any&, HxCorba::Registry_ptr);
00370 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Registry_ptr&);
00371
00372 inline void
00373 operator<<=(CORBA::Any_var& any, HxCorba::Registry_ptr* val)
00374 {
00375 any.inout() <<= val;
00376 }
00377
00378 inline void
00379 operator<<=(CORBA::Any_var& any, HxCorba::Registry_ptr val)
00380 {
00381 any.inout() <<= val;
00382 }
00383
00384 inline CORBA::Boolean
00385 operator>>=(const CORBA::Any_var& any, HxCorba::Registry_ptr& val)
00386 {
00387 return any.in() >>= val;
00388 }
00389
00390 #endif