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

HxCorbaPixValue.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 ___HxCorbaPixValue_h__
00016 #define ___HxCorbaPixValue_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 } // End of namespace HxCorba
00032 
00033 namespace HxCorba
00034 {
00035 
00036 } // End of namespace HxCorba
00037 
00038 namespace OBStubImpl_HxCorba
00039 {
00040 
00041 } // End of namespace OBStubImpl_HxCorba
00042 
00043 namespace OBStubImpl_HxCorba
00044 {
00045 
00046 } // End of namespace OBStubImpl_HxCorba
00047 
00048 //
00049 // IDL:HxCorba:1.0
00050 //
00051 namespace HxCorba
00052 {
00053 
00054 //
00055 // IDL:HxCorba/PixValueTag:1.0
00056 //
00057 enum PixValueTag
00058 {
00059     SI,
00060     SD,
00061     V2I,
00062     V2D,
00063     V3I,
00064     V3D,
00065     CPL
00066 };
00067 
00068 typedef PixValueTag& PixValueTag_out;
00069 
00070 extern OB::TypeCodeConst _tc_PixValueTag;
00071 
00072 //
00073 // IDL:HxCorba/Vec2I:1.0
00074 //
00075 struct Vec2I;
00076 typedef OB::FixVar< Vec2I > Vec2I_var;
00077 typedef Vec2I& Vec2I_out;
00078 
00079 struct Vec2I
00080 {
00081     typedef Vec2I_var _var_type;
00082 
00083     CORBA::Long x;
00084     CORBA::Long y;
00085 
00086     void _OB_marshal(OB::OutputStreamImpl*) const;
00087     static void _OB_unmarshal(Vec2I&, OB::InputStreamImpl*);
00088 };
00089 
00090 extern OB::TypeCodeConst _tc_Vec2I;
00091 
00092 //
00093 // IDL:HxCorba/Vec2D:1.0
00094 //
00095 struct Vec2D;
00096 typedef OB::FixVar< Vec2D > Vec2D_var;
00097 typedef Vec2D& Vec2D_out;
00098 
00099 struct Vec2D
00100 {
00101     typedef Vec2D_var _var_type;
00102 
00103     CORBA::Double x;
00104     CORBA::Double y;
00105 
00106     void _OB_marshal(OB::OutputStreamImpl*) const;
00107     static void _OB_unmarshal(Vec2D&, OB::InputStreamImpl*);
00108 };
00109 
00110 extern OB::TypeCodeConst _tc_Vec2D;
00111 
00112 //
00113 // IDL:HxCorba/Vec3I:1.0
00114 //
00115 struct Vec3I;
00116 typedef OB::FixVar< Vec3I > Vec3I_var;
00117 typedef Vec3I& Vec3I_out;
00118 
00119 struct Vec3I
00120 {
00121     typedef Vec3I_var _var_type;
00122 
00123     CORBA::Long x;
00124     CORBA::Long y;
00125     CORBA::Long z;
00126 
00127     void _OB_marshal(OB::OutputStreamImpl*) const;
00128     static void _OB_unmarshal(Vec3I&, OB::InputStreamImpl*);
00129 };
00130 
00131 extern OB::TypeCodeConst _tc_Vec3I;
00132 
00133 //
00134 // IDL:HxCorba/Vec3D:1.0
00135 //
00136 struct Vec3D;
00137 typedef OB::FixVar< Vec3D > Vec3D_var;
00138 typedef Vec3D& Vec3D_out;
00139 
00140 struct Vec3D
00141 {
00142     typedef Vec3D_var _var_type;
00143 
00144     CORBA::Double x;
00145     CORBA::Double y;
00146     CORBA::Double z;
00147 
00148     void _OB_marshal(OB::OutputStreamImpl*) const;
00149     static void _OB_unmarshal(Vec3D&, OB::InputStreamImpl*);
00150 };
00151 
00152 extern OB::TypeCodeConst _tc_Vec3D;
00153 
00154 //
00155 // IDL:HxCorba/Complex:1.0
00156 //
00157 struct Complex;
00158 typedef OB::FixVar< Complex > Complex_var;
00159 typedef Complex& Complex_out;
00160 
00161 struct Complex
00162 {
00163     typedef Complex_var _var_type;
00164 
00165     CORBA::Double x;
00166     CORBA::Double y;
00167 
00168     void _OB_marshal(OB::OutputStreamImpl*) const;
00169     static void _OB_unmarshal(Complex&, OB::InputStreamImpl*);
00170 };
00171 
00172 extern OB::TypeCodeConst _tc_Complex;
00173 
00174 //
00175 // IDL:HxCorba/PixValue:1.0
00176 //
00177 struct PixValue;
00178 typedef OB::FixVar< PixValue > PixValue_var;
00179 typedef PixValue& PixValue_out;
00180 
00181 struct PixValue
00182 {
00183 private:
00184 
00185     union
00186     {
00187         CORBA::Long scalarInt;
00188         CORBA::Double scalarDouble;
00189         Vec2I vect2Int;
00190         Vec2D vect2Double;
00191         Vec3I vect3Int;
00192         Vec3D vect3Double;
00193         Complex cplx;
00194     } _ob_v_;
00195 
00196     PixValueTag _ob_d_;
00197 
00198     bool _OB_check(PixValueTag) const;
00199 
00200 public:
00201 
00202     typedef PixValue_var _var_type;
00203 
00204     void _d(PixValueTag);
00205     PixValueTag _d() const;
00206 
00207     void scalarInt(CORBA::Long);
00208     CORBA::Long scalarInt() const;
00209 
00210     void scalarDouble(CORBA::Double);
00211     CORBA::Double scalarDouble() const;
00212 
00213     void vect2Int(const Vec2I&);
00214     const Vec2I& vect2Int() const;
00215     Vec2I& vect2Int();
00216 
00217     void vect2Double(const Vec2D&);
00218     const Vec2D& vect2Double() const;
00219     Vec2D& vect2Double();
00220 
00221     void vect3Int(const Vec3I&);
00222     const Vec3I& vect3Int() const;
00223     Vec3I& vect3Int();
00224 
00225     void vect3Double(const Vec3D&);
00226     const Vec3D& vect3Double() const;
00227     Vec3D& vect3Double();
00228 
00229     void cplx(const Complex&);
00230     const Complex& cplx() const;
00231     Complex& cplx();
00232 
00233     void _OB_marshal(OB::OutputStreamImpl*) const;
00234     static void _OB_unmarshal(PixValue&, OB::InputStreamImpl*);
00235 };
00236 
00237 extern OB::TypeCodeConst _tc_PixValue;
00238 
00239 } // End of namespace HxCorba
00240 
00241 //
00242 // IDL:HxCorba:1.0
00243 //
00244 namespace OBProxy_HxCorba
00245 {
00246 
00247 } // End of namespace OBProxy_HxCorba
00248 
00249 //
00250 // IDL:HxCorba:1.0
00251 //
00252 namespace OBStubImpl_HxCorba
00253 {
00254 
00255 } // End of namespace OBStubImpl_HxCorba
00256 
00257 //
00258 // IDL:HxCorba:1.0
00259 //
00260 namespace OBMarshalStubImpl_HxCorba
00261 {
00262 
00263 } // End of namespace OBMarshalStubImpl_HxCorba
00264 
00265 //
00266 // IDL:HxCorba:1.0
00267 //
00268 namespace OBV_HxCorba
00269 {
00270 
00271 } // End of namespace OBV_HxCorba
00272 
00273 //
00274 // IDL:HxCorba/PixValueTag:1.0
00275 //
00276 void operator<<=(CORBA::Any&, HxCorba::PixValueTag);
00277 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::PixValueTag&);
00278 
00279 inline void
00280 operator<<=(CORBA::Any_var& any, HxCorba::PixValueTag val)
00281 {
00282     any.inout() <<= val;
00283 }
00284 
00285 inline CORBA::Boolean
00286 operator>>=(const CORBA::Any_var& any, HxCorba::PixValueTag& val)
00287 {
00288     return any.in() >>= val;
00289 }
00290 
00291 //
00292 // IDL:HxCorba/Vec2I:1.0
00293 //
00294 void operator<<=(CORBA::Any&, HxCorba::Vec2I*);
00295 void operator<<=(CORBA::Any&, const HxCorba::Vec2I&);
00296 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec2I*&);
00297 
00298 inline void
00299 operator<<=(CORBA::Any_var& any, HxCorba::Vec2I* val)
00300 {
00301     any.inout() <<= val;
00302 }
00303 
00304 inline void
00305 operator<<=(CORBA::Any_var& any, const HxCorba::Vec2I& val)
00306 {
00307     any.inout() <<= val;
00308 }
00309 
00310 inline CORBA::Boolean
00311 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec2I*& val)
00312 {
00313     return any.in() >>= val;
00314 }
00315 
00316 //
00317 // IDL:HxCorba/Vec2D:1.0
00318 //
00319 void operator<<=(CORBA::Any&, HxCorba::Vec2D*);
00320 void operator<<=(CORBA::Any&, const HxCorba::Vec2D&);
00321 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec2D*&);
00322 
00323 inline void
00324 operator<<=(CORBA::Any_var& any, HxCorba::Vec2D* val)
00325 {
00326     any.inout() <<= val;
00327 }
00328 
00329 inline void
00330 operator<<=(CORBA::Any_var& any, const HxCorba::Vec2D& val)
00331 {
00332     any.inout() <<= val;
00333 }
00334 
00335 inline CORBA::Boolean
00336 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec2D*& val)
00337 {
00338     return any.in() >>= val;
00339 }
00340 
00341 //
00342 // IDL:HxCorba/Vec3I:1.0
00343 //
00344 void operator<<=(CORBA::Any&, HxCorba::Vec3I*);
00345 void operator<<=(CORBA::Any&, const HxCorba::Vec3I&);
00346 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec3I*&);
00347 
00348 inline void
00349 operator<<=(CORBA::Any_var& any, HxCorba::Vec3I* val)
00350 {
00351     any.inout() <<= val;
00352 }
00353 
00354 inline void
00355 operator<<=(CORBA::Any_var& any, const HxCorba::Vec3I& val)
00356 {
00357     any.inout() <<= val;
00358 }
00359 
00360 inline CORBA::Boolean
00361 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec3I*& val)
00362 {
00363     return any.in() >>= val;
00364 }
00365 
00366 //
00367 // IDL:HxCorba/Vec3D:1.0
00368 //
00369 void operator<<=(CORBA::Any&, HxCorba::Vec3D*);
00370 void operator<<=(CORBA::Any&, const HxCorba::Vec3D&);
00371 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec3D*&);
00372 
00373 inline void
00374 operator<<=(CORBA::Any_var& any, HxCorba::Vec3D* val)
00375 {
00376     any.inout() <<= val;
00377 }
00378 
00379 inline void
00380 operator<<=(CORBA::Any_var& any, const HxCorba::Vec3D& val)
00381 {
00382     any.inout() <<= val;
00383 }
00384 
00385 inline CORBA::Boolean
00386 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec3D*& val)
00387 {
00388     return any.in() >>= val;
00389 }
00390 
00391 //
00392 // IDL:HxCorba/Complex:1.0
00393 //
00394 void operator<<=(CORBA::Any&, HxCorba::Complex*);
00395 void operator<<=(CORBA::Any&, const HxCorba::Complex&);
00396 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Complex*&);
00397 
00398 inline void
00399 operator<<=(CORBA::Any_var& any, HxCorba::Complex* val)
00400 {
00401     any.inout() <<= val;
00402 }
00403 
00404 inline void
00405 operator<<=(CORBA::Any_var& any, const HxCorba::Complex& val)
00406 {
00407     any.inout() <<= val;
00408 }
00409 
00410 inline CORBA::Boolean
00411 operator>>=(const CORBA::Any_var& any, const HxCorba::Complex*& val)
00412 {
00413     return any.in() >>= val;
00414 }
00415 
00416 //
00417 // IDL:HxCorba/PixValue:1.0
00418 //
00419 void operator<<=(CORBA::Any&, HxCorba::PixValue*);
00420 void operator<<=(CORBA::Any&, const HxCorba::PixValue&);
00421 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PixValue*&);
00422 
00423 inline void
00424 operator<<=(CORBA::Any_var& any, HxCorba::PixValue* val)
00425 {
00426     any.inout() <<= val;
00427 }
00428 
00429 inline void
00430 operator<<=(CORBA::Any_var& any, const HxCorba::PixValue& val)
00431 {
00432     any.inout() <<= val;
00433 }
00434 
00435 inline CORBA::Boolean
00436 operator>>=(const CORBA::Any_var& any, const HxCorba::PixValue*& val)
00437 {
00438     return any.in() >>= val;
00439 }
00440 
00441 #endif

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