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

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

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