Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaApp.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2001
00006 // IONA Technologies, Inc.
00007 // Waltham, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.1.0
00014 
00015 #ifndef ___HxCorbaApp_h__
00016 #define ___HxCorbaApp_h__
00017 
00018 #include <HxCorbaTypes.h>
00019 #include <HxCorbaImageRep.h>
00020 #include <HxCorbaPolyline2d.h>
00021 
00022 #ifndef OB_INTEGER_VERSION
00023 #   error No ORBacus version defined! Is <OB/CORBA.h> included?
00024 #endif
00025 
00026 #ifndef OB_NO_VERSION_CHECK
00027 #   if (OB_INTEGER_VERSION != 4010000L)
00028 #       error ORBacus version mismatch!
00029 #   endif
00030 #endif
00031 
00032 namespace HxCorba
00033 {
00034 
00035 class App;
00036 typedef App* App_ptr;
00037 typedef App* AppRef;
00038 
00039 extern OB::TypeCodeConst _tc_App;
00040 
00041 } // End of namespace HxCorba
00042 
00043 void OBDuplicate(HxCorba::App_ptr);
00044 void OBRelease(HxCorba::App_ptr);
00045 
00046 void OBMarshal(HxCorba::App_ptr, OB::OutputStreamImpl*);
00047 void OBUnmarshal(HxCorba::App_ptr&, OB::InputStreamImpl*);
00048 
00049 namespace HxCorba
00050 {
00051 
00052 typedef OB::ObjVar< App > App_var;
00053 typedef OB::ObjOut< App > App_out;
00054 
00055 } // End of namespace HxCorba
00056 
00057 namespace OBStubImpl_HxCorba
00058 {
00059 
00060 class App;
00061 typedef App* App_ptr;
00062 
00063 } // End of namespace OBStubImpl_HxCorba
00064 
00065 void OBDuplicate(OBStubImpl_HxCorba::App_ptr);
00066 void OBRelease(OBStubImpl_HxCorba::App_ptr);
00067 
00068 namespace OBStubImpl_HxCorba
00069 {
00070 
00071 typedef OB::ObjVar< App > App_var;
00072 
00073 } // End of namespace OBStubImpl_HxCorba
00074 
00075 //
00076 // IDL:HxCorba:1.0
00077 //
00078 namespace HxCorba
00079 {
00080 
00081 //
00082 // IDL:HxCorba/App:1.0
00083 //
00084 class App : virtual public CORBA::Object
00085 {
00086     App(const App&);
00087     void operator=(const App&);
00088 
00089 protected:
00090 
00091     static const char* ids_[];
00092 
00093 public:
00094 
00095     App() { }
00096     virtual ~App() { }
00097 
00098     typedef App_ptr _ptr_type;
00099     typedef App_var _var_type;
00100 
00101     static inline App_ptr
00102     _duplicate(App_ptr p)
00103     {
00104         if(p)
00105             p -> _add_ref();
00106         return p;
00107     }
00108 
00109     static inline App_ptr
00110     _nil()
00111     {
00112         return 0;
00113     }
00114 
00115     static App_ptr _narrow(CORBA::Object_ptr);
00116     static App_ptr _unchecked_narrow(CORBA::Object_ptr);
00117 
00118     static App_ptr _narrow(CORBA::AbstractBase_ptr);
00119     static App_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00120 
00121     static const char** _OB_staticIds();
00122 
00123     //
00124     // IDL:HxCorba/App/listObjectTypes:1.0
00125     //
00126     virtual void listObjectTypes(StringSeq_out sl) = 0;
00127 
00128     //
00129     // IDL:HxCorba/App/listObjects:1.0
00130     //
00131     virtual void listObjects(const char* typeId,
00132                              StringSeq_out sl) = 0;
00133 
00134     //
00135     // IDL:HxCorba/App/getObject:1.0
00136     //
00137     virtual CORBA::Object_ptr getObject(const char* typeId,
00138                                         const char* name) = 0;
00139 
00140     //
00141     // IDL:HxCorba/App/putObject:1.0
00142     //
00143     virtual CORBA::Boolean putObject(const char* typeId,
00144                                      const char* name,
00145                                      CORBA::Object_ptr obj) = 0;
00146 
00147     //
00148     // IDL:HxCorba/App/listImages:1.0
00149     //
00150     virtual void listImages(StringSeq_out sl) = 0;
00151 
00152     //
00153     // IDL:HxCorba/App/getImage:1.0
00154     //
00155     virtual ImageRep_ptr getImage(const char* name) = 0;
00156 
00157     //
00158     // IDL:HxCorba/App/putImage:1.0
00159     //
00160     virtual CORBA::Boolean putImage(const char* name,
00161                                     ImageRep_ptr img) = 0;
00162 };
00163 
00164 } // End of namespace HxCorba
00165 
00166 //
00167 // IDL:HxCorba:1.0
00168 //
00169 namespace OBProxy_HxCorba
00170 {
00171 
00172 //
00173 // IDL:HxCorba/App:1.0
00174 //
00175 class App : virtual public ::HxCorba::App,
00176             virtual public OBCORBA::Object
00177 {
00178     App(const App&);
00179     void operator=(const App&);
00180 
00181 protected:
00182 
00183     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00184 
00185 public:
00186 
00187     App() { }
00188     virtual ~App() { }
00189 
00190     virtual const char** _OB_ids() const;
00191 
00192     //
00193     // IDL:HxCorba/App/listObjectTypes:1.0
00194     //
00195     void listObjectTypes(::HxCorba::StringSeq_out sl);
00196 
00197     //
00198     // IDL:HxCorba/App/listObjects:1.0
00199     //
00200     void listObjects(const char* typeId,
00201                      ::HxCorba::StringSeq_out sl);
00202 
00203     //
00204     // IDL:HxCorba/App/getObject:1.0
00205     //
00206     CORBA::Object_ptr getObject(const char* typeId,
00207                                 const char* name);
00208 
00209     //
00210     // IDL:HxCorba/App/putObject:1.0
00211     //
00212     CORBA::Boolean putObject(const char* typeId,
00213                              const char* name,
00214                              CORBA::Object_ptr obj);
00215 
00216     //
00217     // IDL:HxCorba/App/listImages:1.0
00218     //
00219     void listImages(::HxCorba::StringSeq_out sl);
00220 
00221     //
00222     // IDL:HxCorba/App/getImage:1.0
00223     //
00224     ::HxCorba::ImageRep_ptr getImage(const char* name);
00225 
00226     //
00227     // IDL:HxCorba/App/putImage:1.0
00228     //
00229     CORBA::Boolean putImage(const char* name,
00230                             ::HxCorba::ImageRep_ptr img);
00231 };
00232 
00233 } // End of namespace OBProxy_HxCorba
00234 
00235 //
00236 // IDL:HxCorba:1.0
00237 //
00238 namespace OBStubImpl_HxCorba
00239 {
00240 
00241 //
00242 // IDL:HxCorba/App:1.0
00243 //
00244 class App : virtual public OB::StubImplBase
00245 {
00246     App(const App&);
00247     void operator=(const App&);
00248 
00249 protected:
00250 
00251     App() { }
00252 
00253 public:
00254 
00255     static inline App_ptr
00256     _duplicate(App_ptr p)
00257     {
00258         if(p)
00259             p -> _OB_incRef();
00260         return p;
00261     }
00262 
00263     static inline App_ptr
00264     _nil()
00265     {
00266         return 0;
00267     }
00268 
00269     //
00270     // IDL:HxCorba/App/listObjectTypes:1.0
00271     //
00272     virtual void listObjectTypes(::HxCorba::StringSeq_out sl) = 0;
00273 
00274     //
00275     // IDL:HxCorba/App/listObjects:1.0
00276     //
00277     virtual void listObjects(const char* typeId,
00278                              ::HxCorba::StringSeq_out sl) = 0;
00279 
00280     //
00281     // IDL:HxCorba/App/getObject:1.0
00282     //
00283     virtual CORBA::Object_ptr getObject(const char* typeId,
00284                                         const char* name) = 0;
00285 
00286     //
00287     // IDL:HxCorba/App/putObject:1.0
00288     //
00289     virtual CORBA::Boolean putObject(const char* typeId,
00290                                      const char* name,
00291                                      CORBA::Object_ptr obj) = 0;
00292 
00293     //
00294     // IDL:HxCorba/App/listImages:1.0
00295     //
00296     virtual void listImages(::HxCorba::StringSeq_out sl) = 0;
00297 
00298     //
00299     // IDL:HxCorba/App/getImage:1.0
00300     //
00301     virtual ::HxCorba::ImageRep_ptr getImage(const char* name) = 0;
00302 
00303     //
00304     // IDL:HxCorba/App/putImage:1.0
00305     //
00306     virtual CORBA::Boolean putImage(const char* name,
00307                                     ::HxCorba::ImageRep_ptr img) = 0;
00308 };
00309 
00310 } // End of namespace OBStubImpl_HxCorba
00311 
00312 //
00313 // IDL:HxCorba:1.0
00314 //
00315 namespace OBMarshalStubImpl_HxCorba
00316 {
00317 
00318 //
00319 // IDL:HxCorba/App:1.0
00320 //
00321 class App : virtual public OBStubImpl_HxCorba::App,
00322             virtual public OB::MarshalStubImpl
00323 {
00324     App(const App&);
00325     void operator=(const App&);
00326 
00327 protected:
00328 
00329     App() { }
00330     friend class OBProxy_HxCorba::App;
00331 
00332 public:
00333 
00334     //
00335     // IDL:HxCorba/App/listObjectTypes:1.0
00336     //
00337     virtual void listObjectTypes(::HxCorba::StringSeq_out sl);
00338 
00339     //
00340     // IDL:HxCorba/App/listObjects:1.0
00341     //
00342     virtual void listObjects(const char* typeId,
00343                              ::HxCorba::StringSeq_out sl);
00344 
00345     //
00346     // IDL:HxCorba/App/getObject:1.0
00347     //
00348     virtual CORBA::Object_ptr getObject(const char* typeId,
00349                                         const char* name);
00350 
00351     //
00352     // IDL:HxCorba/App/putObject:1.0
00353     //
00354     virtual CORBA::Boolean putObject(const char* typeId,
00355                                      const char* name,
00356                                      CORBA::Object_ptr obj);
00357 
00358     //
00359     // IDL:HxCorba/App/listImages:1.0
00360     //
00361     virtual void listImages(::HxCorba::StringSeq_out sl);
00362 
00363     //
00364     // IDL:HxCorba/App/getImage:1.0
00365     //
00366     virtual ::HxCorba::ImageRep_ptr getImage(const char* name);
00367 
00368     //
00369     // IDL:HxCorba/App/putImage:1.0
00370     //
00371     virtual CORBA::Boolean putImage(const char* name,
00372                                     ::HxCorba::ImageRep_ptr img);
00373 };
00374 
00375 } // End of namespace OBMarshalStubImpl_HxCorba
00376 
00377 //
00378 // IDL:HxCorba:1.0
00379 //
00380 namespace OBV_HxCorba
00381 {
00382 
00383 } // End of namespace OBV_HxCorba
00384 
00385 //
00386 // IDL:HxCorba/App:1.0
00387 //
00388 namespace CORBA
00389 {
00390 
00391 inline void
00392 release(::HxCorba::App_ptr p)
00393 {
00394     if(p)
00395         p -> _remove_ref();
00396 }
00397 
00398 inline Boolean
00399 is_nil(::HxCorba::App_ptr p)
00400 {
00401     return p == 0;
00402 }
00403 
00404 inline void
00405 release(OBStubImpl_HxCorba::App_ptr p)
00406 {
00407     if(p)
00408         p -> _OB_decRef();
00409 }
00410 
00411 inline Boolean
00412 is_nil(OBStubImpl_HxCorba::App_ptr p)
00413 {
00414     return p == 0;
00415 }
00416 
00417 } // End of namespace CORBA
00418 
00419 void operator<<=(CORBA::Any&, HxCorba::App_ptr*);
00420 void operator<<=(CORBA::Any&, HxCorba::App_ptr);
00421 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::App_ptr&);
00422 
00423 inline void
00424 operator<<=(CORBA::Any_var& any, HxCorba::App_ptr* val)
00425 {
00426     any.inout() <<= val;
00427 }
00428 
00429 inline void
00430 operator<<=(CORBA::Any_var& any, HxCorba::App_ptr val)
00431 {
00432     any.inout() <<= val;
00433 }
00434 
00435 inline CORBA::Boolean
00436 operator>>=(const CORBA::Any_var& any, HxCorba::App_ptr& val)
00437 {
00438     return any.in() >>= val;
00439 }
00440 
00441 #endif

Generated on Mon Jan 27 15:07:48 2003 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001