Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

HxCorbaRegistry.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2000
00006 // Object Oriented Concepts, Inc.
00007 // Billerica, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.0.5
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 != 4000500L)
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 } // End of namespace HxCorba
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 } // End of namespace HxCorba
00052 
00053 namespace OBStubImpl_HxCorba
00054 {
00055 
00056 class Registry;
00057 typedef Registry* Registry_ptr;
00058 
00059 } // End of namespace OBStubImpl_HxCorba
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 } // End of namespace OBStubImpl_HxCorba
00070 
00071 //
00072 // IDL:HxCorba:1.0
00073 //
00074 namespace HxCorba
00075 {
00076 
00077 //
00078 // IDL:HxCorba/NameList:1.0
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 // IDL:HxCorba/Registry:1.0
00107 //
00108 class Registry : virtual public CORBA::Object
00109 {
00110     Registry(const Registry&);
00111     void operator=(const Registry&);
00112 
00113     static const char* ids_[];
00114 
00115 protected:
00116 
00117     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00118 
00119 public:
00120 
00121     Registry() { }
00122     virtual ~Registry() { }
00123 
00124     typedef Registry_ptr _ptr_type;
00125     typedef Registry_var _var_type;
00126 
00127     static inline Registry_ptr
00128     _duplicate(Registry_ptr p)
00129     {
00130         if(p)
00131             p -> _OB_incRef();
00132         return p;
00133     }
00134 
00135     static inline Registry_ptr
00136     _nil()
00137     {
00138         return 0;
00139     }
00140 
00141     static Registry_ptr _narrow(CORBA::Object_ptr);
00142     static Registry_ptr _narrow(CORBA::AbstractBase_ptr);
00143 
00144     virtual const char** _OB_ids() const;
00145     static const char** _OB_staticIds();
00146 
00147     //
00148     // IDL:HxCorba/Registry/getKeyNames:1.0
00149     //
00150     NameList* getKeyNames(const char* cursorKey);
00151 
00152     //
00153     // IDL:HxCorba/Registry/getValueNames:1.0
00154     //
00155     NameList* getValueNames(const char* cursorKey);
00156 
00157     //
00158     // IDL:HxCorba/Registry/getValueData:1.0
00159     //
00160     NameList* getValueData(const char* cursorKey);
00161 };
00162 
00163 } // End of namespace HxCorba
00164 
00165 //
00166 // IDL:HxCorba:1.0
00167 //
00168 namespace OBStubImpl_HxCorba
00169 {
00170 
00171 //
00172 // IDL:HxCorba/Registry:1.0
00173 //
00174 class Registry : virtual public OB::StubImplBase
00175 {
00176     Registry(const Registry&);
00177     void operator=(const Registry&);
00178 
00179 protected:
00180 
00181     Registry() { }
00182 
00183 public:
00184 
00185     static inline Registry_ptr
00186     _duplicate(Registry_ptr p)
00187     {
00188         if(p)
00189             p -> _OB_incRef();
00190         return p;
00191     }
00192 
00193     static inline Registry_ptr
00194     _nil()
00195     {
00196         return 0;
00197     }
00198 
00199     //
00200     // IDL:HxCorba/Registry/getKeyNames:1.0
00201     //
00202     virtual HxCorba::NameList* getKeyNames(const char* cursorKey) = 0;
00203 
00204     //
00205     // IDL:HxCorba/Registry/getValueNames:1.0
00206     //
00207     virtual HxCorba::NameList* getValueNames(const char* cursorKey) = 0;
00208 
00209     //
00210     // IDL:HxCorba/Registry/getValueData:1.0
00211     //
00212     virtual HxCorba::NameList* getValueData(const char* cursorKey) = 0;
00213 };
00214 
00215 } // End of namespace OBStubImpl_HxCorba
00216 
00217 //
00218 // IDL:HxCorba:1.0
00219 //
00220 namespace OBMarshalStubImpl_HxCorba
00221 {
00222 
00223 //
00224 // IDL:HxCorba/Registry:1.0
00225 //
00226 class Registry : virtual public OBStubImpl_HxCorba::Registry,
00227                  virtual public OB::MarshalStubImpl
00228 {
00229     Registry(const Registry&);
00230     void operator=(const Registry&);
00231 
00232 protected:
00233 
00234     Registry() { }
00235     friend class HxCorba::Registry;
00236 
00237 public:
00238 
00239     //
00240     // IDL:HxCorba/Registry/getKeyNames:1.0
00241     //
00242     virtual HxCorba::NameList* getKeyNames(const char* cursorKey);
00243 
00244     //
00245     // IDL:HxCorba/Registry/getValueNames:1.0
00246     //
00247     virtual HxCorba::NameList* getValueNames(const char* cursorKey);
00248 
00249     //
00250     // IDL:HxCorba/Registry/getValueData:1.0
00251     //
00252     virtual HxCorba::NameList* getValueData(const char* cursorKey);
00253 };
00254 
00255 } // End of namespace OBMarshalStubImpl_HxCorba
00256 
00257 //
00258 // IDL:HxCorba:1.0
00259 //
00260 namespace OBV_HxCorba
00261 {
00262 
00263 } // End of namespace OBV_HxCorba
00264 
00265 //
00266 // IDL:HxCorba/NameList:1.0
00267 //
00268 void operator<<=(CORBA::Any&, HxCorba::NameList*);
00269 void operator<<=(CORBA::Any&, const HxCorba::NameList&);
00270 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::NameList*&);
00271 
00272 inline void
00273 operator<<=(CORBA::Any_var& any, HxCorba::NameList* val)
00274 {
00275     any.inout() <<= val;
00276 }
00277 
00278 inline void
00279 operator<<=(CORBA::Any_var& any, const HxCorba::NameList& val)
00280 {
00281     any.inout() <<= val;
00282 }
00283 
00284 inline CORBA::Boolean
00285 operator>>=(const CORBA::Any_var& any, const HxCorba::NameList*& val)
00286 {
00287     return any.in() >>= val;
00288 }
00289 
00290 //
00291 // IDL:HxCorba/Registry:1.0
00292 //
00293 namespace CORBA
00294 {
00295 
00296 inline void
00297 release(HxCorba::Registry_ptr p)
00298 {
00299     if(p)
00300         p -> _OB_decRef();
00301 }
00302 
00303 inline Boolean
00304 is_nil(HxCorba::Registry_ptr p)
00305 {
00306     return p == 0;
00307 }
00308 
00309 inline void
00310 release(OBStubImpl_HxCorba::Registry_ptr p)
00311 {
00312     if(p)
00313         p -> _OB_decRef();
00314 }
00315 
00316 inline Boolean
00317 is_nil(OBStubImpl_HxCorba::Registry_ptr p)
00318 {
00319     return p == 0;
00320 }
00321 
00322 } // End of namespace CORBA
00323 
00324 void operator<<=(CORBA::Any&, HxCorba::Registry_ptr*);
00325 void operator<<=(CORBA::Any&, HxCorba::Registry_ptr);
00326 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Registry_ptr&);
00327 
00328 inline void
00329 operator<<=(CORBA::Any_var& any, HxCorba::Registry_ptr* val)
00330 {
00331     any.inout() <<= val;
00332 }
00333 
00334 inline void
00335 operator<<=(CORBA::Any_var& any, HxCorba::Registry_ptr val)
00336 {
00337     any.inout() <<= val;
00338 }
00339 
00340 inline CORBA::Boolean
00341 operator>>=(const CORBA::Any_var& any, HxCorba::Registry_ptr& val)
00342 {
00343     return any.in() >>= val;
00344 }
00345 
00346 #endif

Generated on Tue Jan 8 13:57:00 2002 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001