#include "ace/config-all.h"#include "tao/TAO_Export.h"#include "tao/ORB.h"#include "tao/Environment.h"#include "tao/VarOut_T.h"#include "tao/IOP_IORC.h"#include "tao/GIOPC.inl"Include dependency graph for GIOPC.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | GIOP |
| namespace | TAO |
Classes | |
| struct | Version |
| struct | IORAddressingInfo |
| union | TargetAddress |
Defines | |
| #define | TAO_EXPORT_MACRO TAO_Export |
| #define | _GIOP_TARGETADDRESS_CH_ |
Functions | |
| TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const GIOP::Version &) |
| TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, GIOP::Version &) |
| TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const GIOP::IORAddressingInfo &) |
| TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, GIOP::IORAddressingInfo &) |
| TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const GIOP::TargetAddress &) |
| TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, GIOP::TargetAddress &) |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 296 of file GIOPC.cpp. References GIOP::TargetAddress::_d(), GIOP::TargetAddress::ior, GIOP::TargetAddress::object_key, and GIOP::TargetAddress::profile.
00300 {
00301 if ( !(strm << _tao_union._d ()) )
00302 {
00303 return false;
00304 }
00305
00306 CORBA::Boolean result = true;
00307
00308 switch (_tao_union._d ())
00309 {
00310 case 0:
00311 {
00312 result = strm << _tao_union.object_key ();
00313 }
00314 break;
00315 case 1:
00316 {
00317 result = strm << _tao_union.profile ();
00318 }
00319 break;
00320 case 2:
00321 {
00322 result = strm << _tao_union.ior ();
00323 }
00324 break;
00325 default:
00326 break;
00327 }
00328
00329 return result;
00330 }
|
|
||||||||||||
|
Definition at line 273 of file GIOPC.cpp. References GIOP::IORAddressingInfo::ior, and GIOP::IORAddressingInfo::selected_profile_index.
00277 {
00278 return
00279 (strm << _tao_aggregate.selected_profile_index) &&
00280 (strm << _tao_aggregate.ior);
00281 }
|
|
||||||||||||
|
Definition at line 250 of file GIOPC.cpp. References GIOP::Version::major, and GIOP::Version::minor.
00254 {
00255 return
00256 (strm << ACE_OutputCDR::from_octet (_tao_aggregate.major)) &&
00257 (strm << ACE_OutputCDR::from_octet (_tao_aggregate.minor));
00258 }
|
|
||||||||||||
|
Definition at line 332 of file GIOPC.cpp. References GIOP::TargetAddress::_d(), GIOP::TargetAddress::ior, GIOP::TargetAddress::object_key, and GIOP::TargetAddress::profile.
00336 {
00337 CORBA::Short _tao_discriminant;
00338 if ( !(strm >> _tao_discriminant) )
00339 {
00340 return false;
00341 }
00342
00343 CORBA::Boolean result = true;
00344
00345 switch (_tao_discriminant)
00346 {
00347 case 0:
00348 {
00349 CORBA::OctetSeq _tao_union_tmp;
00350 result = strm >> _tao_union_tmp;
00351
00352 if (result)
00353 {
00354 _tao_union.object_key (_tao_union_tmp);
00355 _tao_union._d (_tao_discriminant);
00356 }
00357 }
00358 break;
00359 case 1:
00360 {
00361 IOP::TaggedProfile _tao_union_tmp;
00362 result = strm >> _tao_union_tmp;
00363
00364 if (result)
00365 {
00366 _tao_union.profile (_tao_union_tmp);
00367 _tao_union._d (_tao_discriminant);
00368 }
00369 }
00370 break;
00371 case 2:
00372 {
00373 GIOP::IORAddressingInfo _tao_union_tmp;
00374 result = strm >> _tao_union_tmp;
00375
00376 if (result)
00377 {
00378 _tao_union.ior (_tao_union_tmp);
00379 _tao_union._d (_tao_discriminant);
00380 }
00381 }
00382 break;
00383 default:
00384 _tao_union._d (_tao_discriminant);
00385 break;
00386 }
00387
00388 return result;
00389 }
|
|
||||||||||||
|
Definition at line 283 of file GIOPC.cpp. References GIOP::IORAddressingInfo::ior, and GIOP::IORAddressingInfo::selected_profile_index.
00287 {
00288 return
00289 (strm >> _tao_aggregate.selected_profile_index) &&
00290 (strm >> _tao_aggregate.ior);
00291 }
|
|
||||||||||||
|
Definition at line 260 of file GIOPC.cpp. References GIOP::Version::major, and GIOP::Version::minor.
00264 {
00265 return
00266 (strm >> ACE_InputCDR::to_octet (_tao_aggregate.major)) &&
00267 (strm >> ACE_InputCDR::to_octet (_tao_aggregate.minor));
00268 }
|
1.3.6