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

HxCorbaWebImageFactory.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 ___HxCorbaWebImageFactory_h__
00016 #define ___HxCorbaWebImageFactory_h__
00017 
00018 #include <HxCorbaImageRep.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 != 4010000L)
00026 #       error ORBacus version mismatch!
00027 #   endif
00028 #endif
00029 
00030 namespace HxCorba
00031 {
00032 
00033 class WebImageFactory;
00034 typedef WebImageFactory* WebImageFactory_ptr;
00035 typedef WebImageFactory* WebImageFactoryRef;
00036 
00037 extern OB::TypeCodeConst _tc_WebImageFactory;
00038 
00039 } // End of namespace HxCorba
00040 
00041 void OBDuplicate(HxCorba::WebImageFactory_ptr);
00042 void OBRelease(HxCorba::WebImageFactory_ptr);
00043 
00044 void OBMarshal(HxCorba::WebImageFactory_ptr, OB::OutputStreamImpl*);
00045 void OBUnmarshal(HxCorba::WebImageFactory_ptr&, OB::InputStreamImpl*);
00046 
00047 namespace HxCorba
00048 {
00049 
00050 typedef OB::ObjVar< WebImageFactory > WebImageFactory_var;
00051 typedef OB::ObjOut< WebImageFactory > WebImageFactory_out;
00052 
00053 } // End of namespace HxCorba
00054 
00055 namespace OBStubImpl_HxCorba
00056 {
00057 
00058 class WebImageFactory;
00059 typedef WebImageFactory* WebImageFactory_ptr;
00060 
00061 } // End of namespace OBStubImpl_HxCorba
00062 
00063 void OBDuplicate(OBStubImpl_HxCorba::WebImageFactory_ptr);
00064 void OBRelease(OBStubImpl_HxCorba::WebImageFactory_ptr);
00065 
00066 namespace OBStubImpl_HxCorba
00067 {
00068 
00069 typedef OB::ObjVar< WebImageFactory > WebImageFactory_var;
00070 
00071 } // End of namespace OBStubImpl_HxCorba
00072 
00073 //
00074 // IDL:HxCorba:1.0
00075 //
00076 namespace HxCorba
00077 {
00078 
00079 //
00080 // IDL:HxCorba/WebImageFactory:1.0
00081 //
00082 class WebImageFactory : virtual public CORBA::Object
00083 {
00084     WebImageFactory(const WebImageFactory&);
00085     void operator=(const WebImageFactory&);
00086 
00087 protected:
00088 
00089     static const char* ids_[];
00090 
00091 public:
00092 
00093     WebImageFactory() { }
00094     virtual ~WebImageFactory() { }
00095 
00096     typedef WebImageFactory_ptr _ptr_type;
00097     typedef WebImageFactory_var _var_type;
00098 
00099     static inline WebImageFactory_ptr
00100     _duplicate(WebImageFactory_ptr p)
00101     {
00102         if(p)
00103             p -> _add_ref();
00104         return p;
00105     }
00106 
00107     static inline WebImageFactory_ptr
00108     _nil()
00109     {
00110         return 0;
00111     }
00112 
00113     static WebImageFactory_ptr _narrow(CORBA::Object_ptr);
00114     static WebImageFactory_ptr _unchecked_narrow(CORBA::Object_ptr);
00115 
00116     static WebImageFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00117     static WebImageFactory_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00118 
00119     static const char** _OB_staticIds();
00120 
00121     //
00122     // IDL:HxCorba/WebImageFactory/makeImageFromURL:1.0
00123     //
00124     virtual ImageData_ptr makeImageFromURL(const char* url) = 0;
00125 };
00126 
00127 } // End of namespace HxCorba
00128 
00129 //
00130 // IDL:HxCorba:1.0
00131 //
00132 namespace OBProxy_HxCorba
00133 {
00134 
00135 //
00136 // IDL:HxCorba/WebImageFactory:1.0
00137 //
00138 class WebImageFactory : virtual public ::HxCorba::WebImageFactory,
00139                         virtual public OBCORBA::Object
00140 {
00141     WebImageFactory(const WebImageFactory&);
00142     void operator=(const WebImageFactory&);
00143 
00144 protected:
00145 
00146     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00147 
00148 public:
00149 
00150     WebImageFactory() { }
00151     virtual ~WebImageFactory() { }
00152 
00153     virtual const char** _OB_ids() const;
00154 
00155     //
00156     // IDL:HxCorba/WebImageFactory/makeImageFromURL:1.0
00157     //
00158     ::HxCorba::ImageData_ptr makeImageFromURL(const char* url);
00159 };
00160 
00161 } // End of namespace OBProxy_HxCorba
00162 
00163 //
00164 // IDL:HxCorba:1.0
00165 //
00166 namespace OBStubImpl_HxCorba
00167 {
00168 
00169 //
00170 // IDL:HxCorba/WebImageFactory:1.0
00171 //
00172 class WebImageFactory : virtual public OB::StubImplBase
00173 {
00174     WebImageFactory(const WebImageFactory&);
00175     void operator=(const WebImageFactory&);
00176 
00177 protected:
00178 
00179     WebImageFactory() { }
00180 
00181 public:
00182 
00183     static inline WebImageFactory_ptr
00184     _duplicate(WebImageFactory_ptr p)
00185     {
00186         if(p)
00187             p -> _OB_incRef();
00188         return p;
00189     }
00190 
00191     static inline WebImageFactory_ptr
00192     _nil()
00193     {
00194         return 0;
00195     }
00196 
00197     //
00198     // IDL:HxCorba/WebImageFactory/makeImageFromURL:1.0
00199     //
00200     virtual ::HxCorba::ImageData_ptr makeImageFromURL(const char* url) = 0;
00201 };
00202 
00203 } // End of namespace OBStubImpl_HxCorba
00204 
00205 //
00206 // IDL:HxCorba:1.0
00207 //
00208 namespace OBMarshalStubImpl_HxCorba
00209 {
00210 
00211 //
00212 // IDL:HxCorba/WebImageFactory:1.0
00213 //
00214 class WebImageFactory : virtual public OBStubImpl_HxCorba::WebImageFactory,
00215                         virtual public OB::MarshalStubImpl
00216 {
00217     WebImageFactory(const WebImageFactory&);
00218     void operator=(const WebImageFactory&);
00219 
00220 protected:
00221 
00222     WebImageFactory() { }
00223     friend class OBProxy_HxCorba::WebImageFactory;
00224 
00225 public:
00226 
00227     //
00228     // IDL:HxCorba/WebImageFactory/makeImageFromURL:1.0
00229     //
00230     virtual ::HxCorba::ImageData_ptr makeImageFromURL(const char* url);
00231 };
00232 
00233 } // End of namespace OBMarshalStubImpl_HxCorba
00234 
00235 //
00236 // IDL:HxCorba:1.0
00237 //
00238 namespace OBV_HxCorba
00239 {
00240 
00241 } // End of namespace OBV_HxCorba
00242 
00243 //
00244 // IDL:HxCorba/WebImageFactory:1.0
00245 //
00246 namespace CORBA
00247 {
00248 
00249 inline void
00250 release(::HxCorba::WebImageFactory_ptr p)
00251 {
00252     if(p)
00253         p -> _remove_ref();
00254 }
00255 
00256 inline Boolean
00257 is_nil(::HxCorba::WebImageFactory_ptr p)
00258 {
00259     return p == 0;
00260 }
00261 
00262 inline void
00263 release(OBStubImpl_HxCorba::WebImageFactory_ptr p)
00264 {
00265     if(p)
00266         p -> _OB_decRef();
00267 }
00268 
00269 inline Boolean
00270 is_nil(OBStubImpl_HxCorba::WebImageFactory_ptr p)
00271 {
00272     return p == 0;
00273 }
00274 
00275 } // End of namespace CORBA
00276 
00277 void operator<<=(CORBA::Any&, HxCorba::WebImageFactory_ptr*);
00278 void operator<<=(CORBA::Any&, HxCorba::WebImageFactory_ptr);
00279 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::WebImageFactory_ptr&);
00280 
00281 inline void
00282 operator<<=(CORBA::Any_var& any, HxCorba::WebImageFactory_ptr* val)
00283 {
00284     any.inout() <<= val;
00285 }
00286 
00287 inline void
00288 operator<<=(CORBA::Any_var& any, HxCorba::WebImageFactory_ptr val)
00289 {
00290     any.inout() <<= val;
00291 }
00292 
00293 inline CORBA::Boolean
00294 operator>>=(const CORBA::Any_var& any, HxCorba::WebImageFactory_ptr& val)
00295 {
00296     return any.in() >>= val;
00297 }
00298 
00299 #endif

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