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

HxCorbaPixValue.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 ___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 != 4000500L)
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 OBStubImpl_HxCorba
00245 {
00246 
00247 } // End of namespace OBStubImpl_HxCorba
00248 
00249 //
00250 // IDL:HxCorba:1.0
00251 //
00252 namespace OBMarshalStubImpl_HxCorba
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/PixValueTag:1.0
00267 //
00268 void operator<<=(CORBA::Any&, HxCorba::PixValueTag);
00269 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::PixValueTag&);
00270 
00271 inline void
00272 operator<<=(CORBA::Any_var& any, HxCorba::PixValueTag val)
00273 {
00274     any.inout() <<= val;
00275 }
00276 
00277 inline CORBA::Boolean
00278 operator>>=(const CORBA::Any_var& any, HxCorba::PixValueTag& val)
00279 {
00280     return any.in() >>= val;
00281 }
00282 
00283 //
00284 // IDL:HxCorba/Vec2I:1.0
00285 //
00286 void operator<<=(CORBA::Any&, HxCorba::Vec2I*);
00287 void operator<<=(CORBA::Any&, const HxCorba::Vec2I&);
00288 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec2I*&);
00289 
00290 inline void
00291 operator<<=(CORBA::Any_var& any, HxCorba::Vec2I* val)
00292 {
00293     any.inout() <<= val;
00294 }
00295 
00296 inline void
00297 operator<<=(CORBA::Any_var& any, const HxCorba::Vec2I& val)
00298 {
00299     any.inout() <<= val;
00300 }
00301 
00302 inline CORBA::Boolean
00303 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec2I*& val)
00304 {
00305     return any.in() >>= val;
00306 }
00307 
00308 //
00309 // IDL:HxCorba/Vec2D:1.0
00310 //
00311 void operator<<=(CORBA::Any&, HxCorba::Vec2D*);
00312 void operator<<=(CORBA::Any&, const HxCorba::Vec2D&);
00313 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec2D*&);
00314 
00315 inline void
00316 operator<<=(CORBA::Any_var& any, HxCorba::Vec2D* val)
00317 {
00318     any.inout() <<= val;
00319 }
00320 
00321 inline void
00322 operator<<=(CORBA::Any_var& any, const HxCorba::Vec2D& val)
00323 {
00324     any.inout() <<= val;
00325 }
00326 
00327 inline CORBA::Boolean
00328 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec2D*& val)
00329 {
00330     return any.in() >>= val;
00331 }
00332 
00333 //
00334 // IDL:HxCorba/Vec3I:1.0
00335 //
00336 void operator<<=(CORBA::Any&, HxCorba::Vec3I*);
00337 void operator<<=(CORBA::Any&, const HxCorba::Vec3I&);
00338 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec3I*&);
00339 
00340 inline void
00341 operator<<=(CORBA::Any_var& any, HxCorba::Vec3I* val)
00342 {
00343     any.inout() <<= val;
00344 }
00345 
00346 inline void
00347 operator<<=(CORBA::Any_var& any, const HxCorba::Vec3I& val)
00348 {
00349     any.inout() <<= val;
00350 }
00351 
00352 inline CORBA::Boolean
00353 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec3I*& val)
00354 {
00355     return any.in() >>= val;
00356 }
00357 
00358 //
00359 // IDL:HxCorba/Vec3D:1.0
00360 //
00361 void operator<<=(CORBA::Any&, HxCorba::Vec3D*);
00362 void operator<<=(CORBA::Any&, const HxCorba::Vec3D&);
00363 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Vec3D*&);
00364 
00365 inline void
00366 operator<<=(CORBA::Any_var& any, HxCorba::Vec3D* val)
00367 {
00368     any.inout() <<= val;
00369 }
00370 
00371 inline void
00372 operator<<=(CORBA::Any_var& any, const HxCorba::Vec3D& val)
00373 {
00374     any.inout() <<= val;
00375 }
00376 
00377 inline CORBA::Boolean
00378 operator>>=(const CORBA::Any_var& any, const HxCorba::Vec3D*& val)
00379 {
00380     return any.in() >>= val;
00381 }
00382 
00383 //
00384 // IDL:HxCorba/Complex:1.0
00385 //
00386 void operator<<=(CORBA::Any&, HxCorba::Complex*);
00387 void operator<<=(CORBA::Any&, const HxCorba::Complex&);
00388 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::Complex*&);
00389 
00390 inline void
00391 operator<<=(CORBA::Any_var& any, HxCorba::Complex* val)
00392 {
00393     any.inout() <<= val;
00394 }
00395 
00396 inline void
00397 operator<<=(CORBA::Any_var& any, const HxCorba::Complex& val)
00398 {
00399     any.inout() <<= val;
00400 }
00401 
00402 inline CORBA::Boolean
00403 operator>>=(const CORBA::Any_var& any, const HxCorba::Complex*& val)
00404 {
00405     return any.in() >>= val;
00406 }
00407 
00408 //
00409 // IDL:HxCorba/PixValue:1.0
00410 //
00411 void operator<<=(CORBA::Any&, HxCorba::PixValue*);
00412 void operator<<=(CORBA::Any&, const HxCorba::PixValue&);
00413 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::PixValue*&);
00414 
00415 inline void
00416 operator<<=(CORBA::Any_var& any, HxCorba::PixValue* val)
00417 {
00418     any.inout() <<= val;
00419 }
00420 
00421 inline void
00422 operator<<=(CORBA::Any_var& any, const HxCorba::PixValue& val)
00423 {
00424     any.inout() <<= val;
00425 }
00426 
00427 inline CORBA::Boolean
00428 operator>>=(const CORBA::Any_var& any, const HxCorba::PixValue*& val)
00429 {
00430     return any.in() >>= val;
00431 }
00432 
00433 #endif

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