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

GIOP.pidl

Go to the documentation of this file.
00001 //$Id: GIOP.pidl,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00002 // ================================================================
00003 //
00004 // = LIBRARY
00005 //   TAO
00006 //
00007 // = FILENAME
00008 //   GIOP1_2.pidl
00009 //
00010 // = DESCRIPTION
00011 //   Some new data types included for GIOP 1.2
00012 //   This file was used to generate the code in
00013 //   GIOP*.* The command used to generate code
00014 //   is:
00015 //
00016 //     tao_idl
00017 //        -o orig -Gp -Gd -Ge 1 -Gv -DCORBA3
00018 //          -Wb,export_macro=TAO_Export
00019 //          -Wb,export_include="tao/TAO_Export.h"
00020 //          -Wb,pre_include="ace/pre.h"
00021 //          -Wb,post_include="ace/post.h"
00022 //          GIOP.pidl
00023 //
00024 // ================================================================
00025 #pragma prefix "omg.org"
00026 #include "IOP.pidl"
00027 module GIOP
00028 {
00029   typedef short AddressingDisposition;
00030   const short KeyAddr = 0;
00031   const short ProfileAddr = 1;
00032   const short ReferenceAddr = 2;
00033 
00034   struct Version
00035   {
00036     octet major;
00037     octet minor;
00038   };
00039   struct IORAddressingInfo
00040   {
00041     unsigned long selected_profile_index;
00042     IOP::IOR ior;
00043   };
00044 
00045   union TargetAddress switch (AddressingDisposition)
00046   {
00047     case KeyAddr: sequence <octet> object_key;
00048     case ProfileAddr: IOP::TaggedProfile profile;
00049     case ReferenceAddr: IORAddressingInfo ior;
00050   };
00051 };

Generated on Mon Jun 16 13:48:23 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002