diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-09-25 18:18:29 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-09-25 18:18:29 +0000 |
commit | 8c2acd7d18edeca943556ac06b58ef0ac8a15670 (patch) | |
tree | 3e2d146a8f58c5ea761633a35a261e2f22515ec6 /TAO/tao/IOPC.h | |
parent | e1970430fe1c159d1555650c32204392823b5271 (diff) | |
download | ATCD-8c2acd7d18edeca943556ac06b58ef0ac8a15670.tar.gz |
ChangeLogTag:Mon Sep 25 11:09:20 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/IOPC.h')
-rw-r--r-- | TAO/tao/IOPC.h | 1089 |
1 files changed, 933 insertions, 156 deletions
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h index 8eb6319734a..c7d6b1edf6d 100644 --- a/TAO/tao/IOPC.h +++ b/TAO/tao/IOPC.h @@ -1,40 +1,49 @@ -/* -*- C++ -*- */ +// -*- C++ -*- // // $Id$ +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-group.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ // -// ================================================================ -// -// = LIBRARY -// TAO -// -// = FILENAME -// IOPC.h -// -// = DESCRIPTION -// Generated from IOP.pidl, that contains the OMG standarized IOP -// module. -// The code was generated by the IDL compiler and then hand-crafted -// to reduce the includes interdependencies. -// -// ================================================================ +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef TAO_IOPC_H -#define TAO_IOPC_H -#include "ace/pre.h" +#ifndef _TAO_IDL_IOPC_H_ +#define _TAO_IDL_IOPC_H_ -#include "tao/CDR.h" -#include "tao/Sequence.h" +#include "ace/pre.h" +#include "tao/TAO_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "tao/CDR.h" +#include "tao/Sequence.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO #endif #define TAO_EXPORT_MACRO TAO_Export + +#if defined (TAO_EXPORT_NESTED_CLASSES) +# if defined (TAO_EXPORT_NESTED_MACRO) +# undef TAO_EXPORT_NESTED_MACRO +# endif /* defined (TAO_EXPORT_NESTED_MACRO) */ +# define TAO_EXPORT_NESTED_MACRO TAO_Export +#endif /* TAO_EXPORT_NESTED_CLASSES */ + #if defined(_MSC_VER) #if (_MSC_VER >= 1200) #pragma warning(push) @@ -52,25 +61,54 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_MULTIPLE_COMPONENTS; + struct TaggedProfile; + class TaggedProfile_var; + struct TAO_Export TaggedProfile { + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef TaggedProfile_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + static void _tao_any_destructor (void*); - ProfileId tag; + ACE_NESTED_CLASS (IOP, ProfileId) tag; + +#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_) +#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_ - class TAO_Export _tao_seq_Octet : public TAO_Unbounded_Sequence<CORBA::Octet> + class _tao_seq_Octet; + class _tao_seq_Octet_var; + + // ************************************************************* + // _tao_seq_Octet + // ************************************************************* + + class TAO_Export _tao_seq_Octet : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + TAO_Unbounded_Sequence<CORBA::Octet> +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<CORBA::Octet> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_Octet (void); // default ctor _tao_seq_Octet (CORBA::ULong max); // uses max size _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, + CORBA::ULong max, + CORBA::ULong length, + CORBA::Octet *buffer, CORBA::Boolean release=0 ); _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor - ~_tao_seq_Octet (void); // dtor + ~_tao_seq_Octet (void); + static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) _tao_seq_Octet ( @@ -81,8 +119,82 @@ TAO_NAMESPACE IOP #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */ }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET___VAR_CH_) +#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET___VAR_CH_ + + // ************************************************************* + // class IOP::TaggedProfile::_tao_seq_Octet_var + // ************************************************************* + + class TAO_Export _tao_seq_Octet_var + { + public: + _tao_seq_Octet_var (void); // default constructor + _tao_seq_Octet_var (_tao_seq_Octet *); + _tao_seq_Octet_var (const _tao_seq_Octet_var &); // copy constructor + _tao_seq_Octet_var (const _tao_seq_Octet &); // fixed-size base types only + ~_tao_seq_Octet_var (void); // destructor + + _tao_seq_Octet_var &operator= (_tao_seq_Octet *); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet_var &); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet &); // fixed-size base types only + _tao_seq_Octet *operator-> (void); + const _tao_seq_Octet *operator-> (void) const; + + operator const _tao_seq_Octet &() const; + operator _tao_seq_Octet &(); + operator _tao_seq_Octet &() const; + + CORBA::Octet &operator[] (CORBA::ULong index); + // in, inout, out, _retn + const _tao_seq_Octet &in (void) const; + _tao_seq_Octet &inout (void); + _tao_seq_Octet *&out (void); + _tao_seq_Octet *_retn (void); + _tao_seq_Octet *ptr (void) const; + + private: + _tao_seq_Octet *ptr_; + }; + + +#endif /* end #if !defined */ + + +#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET___OUT_CH_) +#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET___OUT_CH_ + + class TAO_Export _tao_seq_Octet_out + { + public: + _tao_seq_Octet_out (_tao_seq_Octet *&); + _tao_seq_Octet_out (_tao_seq_Octet_var &); + _tao_seq_Octet_out (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (_tao_seq_Octet *); + operator _tao_seq_Octet *&(); + _tao_seq_Octet *&ptr (void); + _tao_seq_Octet *operator-> (void); + CORBA::Octet &operator[] (CORBA::ULong index); + + private: + _tao_seq_Octet *&ptr_; + // assignment from T_var not allowed + void operator= (const _tao_seq_Octet_var &); + }; + - _tao_seq_Octet profile_data; +#endif /* end #if !defined */ + +#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet _profile_data_seq; + #endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */ + + _tao_seq_Octet profile_data; }; class TAO_Export TaggedProfile_var @@ -92,16 +204,18 @@ TAO_NAMESPACE IOP TaggedProfile_var (TaggedProfile *); TaggedProfile_var (const TaggedProfile_var &); // copy constructor ~TaggedProfile_var (void); // destructor - + TaggedProfile_var &operator= (TaggedProfile *); TaggedProfile_var &operator= (const TaggedProfile_var &); TaggedProfile *operator-> (void); const TaggedProfile *operator-> (void) const; - + operator const TaggedProfile &() const; operator TaggedProfile &(); operator TaggedProfile &() const; - // in, inout, out, _retn + operator TaggedProfile *&(); // variable-size types only + + // in, inout, out, _retn const TaggedProfile &in (void) const; TaggedProfile &inout (void); TaggedProfile *&out (void); @@ -123,7 +237,7 @@ TAO_NAMESPACE IOP operator TaggedProfile *&(); TaggedProfile *&ptr (void); TaggedProfile *operator-> (void); - + private: TaggedProfile *&ptr_; // assignment from T_var not allowed @@ -132,34 +246,172 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_TaggedProfile; + struct IOR; + class IOR_var; + struct TAO_Export IOR { + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef IOR_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + static void _tao_any_destructor (void*); TAO_String_Manager type_id; +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + +#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_) +#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_ + + class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile : public TAO_Unbounded_Base_Sequence + { + public: + // = Initialization and termination methods. + + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void); // Default constructor. + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum, + CORBA::ULong length, + ACE_NESTED_CLASS (IOP, TaggedProfile) *data, + CORBA::Boolean release = 0); + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs); + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &operator= (const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs); + virtual ~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void); // Dtor. + // = Accessors. + ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i); + const ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i) const; + // = Static operations. + static ACE_NESTED_CLASS (IOP, TaggedProfile) *allocbuf (CORBA::ULong size); + static void freebuf (ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer); + virtual void _allocate_buffer (CORBA::ULong length); + virtual void _deallocate_buffer (void); + // Implement the TAO_Base_Sequence methods (see Sequence.h) + + ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (CORBA::Boolean orphan = 0); + const ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (void) const; + void replace (CORBA::ULong max, + CORBA::ULong length, + ACE_NESTED_CLASS (IOP, TaggedProfile) *data, + CORBA::Boolean release); + }; + +#endif /* end #if !defined */ + + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_) +#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_ + class _tao_seq_TaggedProfile; + class _tao_seq_TaggedProfile_var; + // ************************************************************* // _tao_seq_TaggedProfile // ************************************************************* - - class TAO_Export _tao_seq_TaggedProfile : public TAO_Unbounded_Sequence<TaggedProfile> + + class TAO_Export _tao_seq_TaggedProfile : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<ACE_NESTED_CLASS (IOP, TaggedProfile)> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_TaggedProfile (void); // default ctor _tao_seq_TaggedProfile (CORBA::ULong max); // uses max size _tao_seq_TaggedProfile ( - CORBA::ULong max, - CORBA::ULong length, - TaggedProfile *buffer, + CORBA::ULong max, + CORBA::ULong length, + ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer, CORBA::Boolean release=0 ); _tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &); // copy ctor - ~_tao_seq_TaggedProfile (void); // dtor + ~_tao_seq_TaggedProfile (void); + static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_TaggedProfile_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + + }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE___VAR_CH_) +#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE___VAR_CH_ + + // ************************************************************* + // class IOP::IOR::_tao_seq_TaggedProfile_var + // ************************************************************* + + class TAO_Export _tao_seq_TaggedProfile_var + { + public: + _tao_seq_TaggedProfile_var (void); // default constructor + _tao_seq_TaggedProfile_var (_tao_seq_TaggedProfile *); + _tao_seq_TaggedProfile_var (const _tao_seq_TaggedProfile_var &); // copy constructor + ~_tao_seq_TaggedProfile_var (void); // destructor + + _tao_seq_TaggedProfile_var &operator= (_tao_seq_TaggedProfile *); + _tao_seq_TaggedProfile_var &operator= (const _tao_seq_TaggedProfile_var &); + _tao_seq_TaggedProfile *operator-> (void); + const _tao_seq_TaggedProfile *operator-> (void) const; + + operator const _tao_seq_TaggedProfile &() const; + operator _tao_seq_TaggedProfile &(); + operator _tao_seq_TaggedProfile &() const; + operator _tao_seq_TaggedProfile *&(); // variable-size base types only + + ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong index); + // in, inout, out, _retn + const _tao_seq_TaggedProfile &in (void) const; + _tao_seq_TaggedProfile &inout (void); + _tao_seq_TaggedProfile *&out (void); + _tao_seq_TaggedProfile *_retn (void); + _tao_seq_TaggedProfile *ptr (void) const; + + private: + _tao_seq_TaggedProfile *ptr_; + }; + + +#endif /* end #if !defined */ + + +#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE___OUT_CH_) +#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE___OUT_CH_ + + class TAO_Export _tao_seq_TaggedProfile_out + { + public: + _tao_seq_TaggedProfile_out (_tao_seq_TaggedProfile *&); + _tao_seq_TaggedProfile_out (_tao_seq_TaggedProfile_var &); + _tao_seq_TaggedProfile_out (const _tao_seq_TaggedProfile_out &); + _tao_seq_TaggedProfile_out &operator= (const _tao_seq_TaggedProfile_out &); + _tao_seq_TaggedProfile_out &operator= (_tao_seq_TaggedProfile *); + operator _tao_seq_TaggedProfile *&(); + _tao_seq_TaggedProfile *&ptr (void); + _tao_seq_TaggedProfile *operator-> (void); + ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong index); + + private: + _tao_seq_TaggedProfile *&ptr_; + // assignment from T_var not allowed + void operator= (const _tao_seq_TaggedProfile_var &); }; - typedef _tao_seq_TaggedProfile *_tao_seq_TaggedProfile_ptr; - _tao_seq_TaggedProfile profiles; + +#endif /* end #if !defined */ + +#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_TaggedProfile _profiles_seq; + #endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */ + + _tao_seq_TaggedProfile profiles; }; class TAO_Export IOR_var @@ -169,16 +421,18 @@ TAO_NAMESPACE IOP IOR_var (IOR *); IOR_var (const IOR_var &); // copy constructor ~IOR_var (void); // destructor - + IOR_var &operator= (IOR *); IOR_var &operator= (const IOR_var &); IOR *operator-> (void); const IOR *operator-> (void) const; - + operator const IOR &() const; operator IOR &(); operator IOR &() const; - // in, inout, out, _retn + operator IOR *&(); // variable-size types only + + // in, inout, out, _retn const IOR &in (void) const; IOR &inout (void); IOR *&out (void); @@ -200,7 +454,7 @@ TAO_NAMESPACE IOP operator IOR *&(); IOR *&ptr (void); IOR *operator-> (void); - + private: IOR *&ptr_; // assignment from T_var not allowed @@ -213,25 +467,54 @@ TAO_NAMESPACE IOP typedef CORBA::ULong_out ComponentId_out; TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ComponentId; + struct TaggedComponent; + class TaggedComponent_var; + struct TAO_Export TaggedComponent { + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef TaggedComponent_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + static void _tao_any_destructor (void*); - ComponentId tag; + ACE_NESTED_CLASS (IOP, ComponentId) tag; + +#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_) +#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_ - class TAO_Export _tao_seq_Octet : public TAO_Unbounded_Sequence<CORBA::Octet> + class _tao_seq_Octet; + class _tao_seq_Octet_var; + + // ************************************************************* + // _tao_seq_Octet + // ************************************************************* + + class TAO_Export _tao_seq_Octet : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + TAO_Unbounded_Sequence<CORBA::Octet> +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<CORBA::Octet> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_Octet (void); // default ctor _tao_seq_Octet (CORBA::ULong max); // uses max size _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, + CORBA::ULong max, + CORBA::ULong length, + CORBA::Octet *buffer, CORBA::Boolean release=0 ); _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor - ~_tao_seq_Octet (void); // dtor + ~_tao_seq_Octet (void); + static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) _tao_seq_Octet ( @@ -242,8 +525,82 @@ TAO_NAMESPACE IOP #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */ }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET___VAR_CH_) +#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET___VAR_CH_ + + // ************************************************************* + // class IOP::TaggedComponent::_tao_seq_Octet_var + // ************************************************************* + + class TAO_Export _tao_seq_Octet_var + { + public: + _tao_seq_Octet_var (void); // default constructor + _tao_seq_Octet_var (_tao_seq_Octet *); + _tao_seq_Octet_var (const _tao_seq_Octet_var &); // copy constructor + _tao_seq_Octet_var (const _tao_seq_Octet &); // fixed-size base types only + ~_tao_seq_Octet_var (void); // destructor + + _tao_seq_Octet_var &operator= (_tao_seq_Octet *); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet_var &); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet &); // fixed-size base types only + _tao_seq_Octet *operator-> (void); + const _tao_seq_Octet *operator-> (void) const; + + operator const _tao_seq_Octet &() const; + operator _tao_seq_Octet &(); + operator _tao_seq_Octet &() const; + + CORBA::Octet &operator[] (CORBA::ULong index); + // in, inout, out, _retn + const _tao_seq_Octet &in (void) const; + _tao_seq_Octet &inout (void); + _tao_seq_Octet *&out (void); + _tao_seq_Octet *_retn (void); + _tao_seq_Octet *ptr (void) const; + + private: + _tao_seq_Octet *ptr_; + }; + + +#endif /* end #if !defined */ + + +#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET___OUT_CH_) +#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET___OUT_CH_ + + class TAO_Export _tao_seq_Octet_out + { + public: + _tao_seq_Octet_out (_tao_seq_Octet *&); + _tao_seq_Octet_out (_tao_seq_Octet_var &); + _tao_seq_Octet_out (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (_tao_seq_Octet *); + operator _tao_seq_Octet *&(); + _tao_seq_Octet *&ptr (void); + _tao_seq_Octet *operator-> (void); + CORBA::Octet &operator[] (CORBA::ULong index); + + private: + _tao_seq_Octet *&ptr_; + // assignment from T_var not allowed + void operator= (const _tao_seq_Octet_var &); + }; + + +#endif /* end #if !defined */ + +#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet _component_data_seq; + #endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */ - _tao_seq_Octet component_data; + _tao_seq_Octet component_data; }; class TAO_Export TaggedComponent_var @@ -253,16 +610,18 @@ TAO_NAMESPACE IOP TaggedComponent_var (TaggedComponent *); TaggedComponent_var (const TaggedComponent_var &); // copy constructor ~TaggedComponent_var (void); // destructor - + TaggedComponent_var &operator= (TaggedComponent *); TaggedComponent_var &operator= (const TaggedComponent_var &); TaggedComponent *operator-> (void); const TaggedComponent *operator-> (void) const; - + operator const TaggedComponent &() const; operator TaggedComponent &(); operator TaggedComponent &() const; - // in, inout, out, _retn + operator TaggedComponent *&(); // variable-size types only + + // in, inout, out, _retn const TaggedComponent &in (void) const; TaggedComponent &inout (void); TaggedComponent *&out (void); @@ -284,7 +643,7 @@ TAO_NAMESPACE IOP operator TaggedComponent *&(); TaggedComponent *&ptr (void); TaggedComponent *operator-> (void); - + private: TaggedComponent *&ptr_; // assignment from T_var not allowed @@ -293,23 +652,90 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_TaggedComponent; - class TAO_Export MultipleComponentProfile : public TAO_Unbounded_Sequence<TaggedComponent> + +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + +#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_) +#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_ + + class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile : public TAO_Unbounded_Base_Sequence + { + public: + // = Initialization and termination methods. + + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void); // Default constructor. + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum, + CORBA::ULong length, + TaggedComponent *data, + CORBA::Boolean release = 0); + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs); + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &operator= (const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs); + virtual ~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void); // Dtor. + // = Accessors. + TaggedComponent &operator[] (CORBA::ULong i); + const TaggedComponent &operator[] (CORBA::ULong i) const; + // = Static operations. + static TaggedComponent *allocbuf (CORBA::ULong size); + static void freebuf (TaggedComponent *buffer); + virtual void _allocate_buffer (CORBA::ULong length); + virtual void _deallocate_buffer (void); + // Implement the TAO_Base_Sequence methods (see Sequence.h) + + TaggedComponent *get_buffer (CORBA::Boolean orphan = 0); + const TaggedComponent *get_buffer (void) const; + void replace (CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *data, + CORBA::Boolean release); + }; + +#endif /* end #if !defined */ + + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_) +#define _IOP_MULTIPLECOMPONENTPROFILE_CH_ + + class MultipleComponentProfile; + class MultipleComponentProfile_var; + + // ************************************************************* + // MultipleComponentProfile + // ************************************************************* + + class TAO_Export MultipleComponentProfile : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<TaggedComponent> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: MultipleComponentProfile (void); // default ctor MultipleComponentProfile (CORBA::ULong max); // uses max size MultipleComponentProfile ( - CORBA::ULong max, - CORBA::ULong length, - TaggedComponent *buffer, + CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *buffer, CORBA::Boolean release=0 ); MultipleComponentProfile (const MultipleComponentProfile &); // copy ctor - ~MultipleComponentProfile (void); // dtor - + ~MultipleComponentProfile (void); static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef MultipleComponentProfile_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + }; - typedef MultipleComponentProfile *MultipleComponentProfile_ptr; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_) +#define _IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_ // ************************************************************* // class IOP::MultipleComponentProfile_var @@ -322,17 +748,19 @@ TAO_NAMESPACE IOP MultipleComponentProfile_var (MultipleComponentProfile *); MultipleComponentProfile_var (const MultipleComponentProfile_var &); // copy constructor ~MultipleComponentProfile_var (void); // destructor - + MultipleComponentProfile_var &operator= (MultipleComponentProfile *); MultipleComponentProfile_var &operator= (const MultipleComponentProfile_var &); MultipleComponentProfile *operator-> (void); const MultipleComponentProfile *operator-> (void) const; - + operator const MultipleComponentProfile &() const; operator MultipleComponentProfile &(); operator MultipleComponentProfile &() const; + operator MultipleComponentProfile *&(); // variable-size base types only + TaggedComponent &operator[] (CORBA::ULong index); - // in, inout, out, _retn + // in, inout, out, _retn const MultipleComponentProfile &in (void) const; MultipleComponentProfile &inout (void); MultipleComponentProfile *&out (void); @@ -343,6 +771,13 @@ TAO_NAMESPACE IOP MultipleComponentProfile *ptr_; }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_) +#define _IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_ + class TAO_Export MultipleComponentProfile_out { public: @@ -355,42 +790,175 @@ TAO_NAMESPACE IOP MultipleComponentProfile *&ptr (void); MultipleComponentProfile *operator-> (void); TaggedComponent &operator[] (CORBA::ULong index); - + private: MultipleComponentProfile *&ptr_; // assignment from T_var not allowed void operator= (const MultipleComponentProfile_var &); }; + +#endif /* end #if !defined */ + TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_MultipleComponentProfile; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ORB_TYPE; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CODE_SETS; +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + +#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_) +#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_ - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_POLICIES; + class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_IOP_TaggedComponentList : public TAO_Unbounded_Base_Sequence + { + public: + // = Initialization and termination methods. + + _TAO_Unbounded_Sequence_IOP_TaggedComponentList (void); // Default constructor. + _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum, + CORBA::ULong length, + TaggedComponent *data, + CORBA::Boolean release = 0); + _TAO_Unbounded_Sequence_IOP_TaggedComponentList (const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs); + _TAO_Unbounded_Sequence_IOP_TaggedComponentList &operator= (const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs); + virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void); // Dtor. + // = Accessors. + TaggedComponent &operator[] (CORBA::ULong i); + const TaggedComponent &operator[] (CORBA::ULong i) const; + // = Static operations. + static TaggedComponent *allocbuf (CORBA::ULong size); + static void freebuf (TaggedComponent *buffer); + virtual void _allocate_buffer (CORBA::ULong length); + virtual void _deallocate_buffer (void); + // Implement the TAO_Base_Sequence methods (see Sequence.h) + + TaggedComponent *get_buffer (CORBA::Boolean orphan = 0); + const TaggedComponent *get_buffer (void) const; + void replace (CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *data, + CORBA::Boolean release); + }; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS; +#endif /* end #if !defined */ + + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_) +#define _IOP_TAGGEDCOMPONENTLIST_CH_ + + class TaggedComponentList; + class TaggedComponentList_var; + + // ************************************************************* + // TaggedComponentList + // ************************************************************* + + class TAO_Export TaggedComponentList : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Sequence_IOP_TaggedComponentList +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<TaggedComponent> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + { + public: + TaggedComponentList (void); // default ctor + TaggedComponentList (CORBA::ULong max); // uses max size + TaggedComponentList ( + CORBA::ULong max, + CORBA::ULong length, + TaggedComponent *buffer, + CORBA::Boolean release=0 + ); + TaggedComponentList (const TaggedComponentList &); // copy ctor + ~TaggedComponentList (void); + static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef TaggedComponentList_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + + }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_TAGGEDCOMPONENTLIST___VAR_CH_) +#define _IOP_TAGGEDCOMPONENTLIST___VAR_CH_ + + // ************************************************************* + // class IOP::TaggedComponentList_var + // ************************************************************* + + class TAO_Export TaggedComponentList_var + { + public: + TaggedComponentList_var (void); // default constructor + TaggedComponentList_var (TaggedComponentList *); + TaggedComponentList_var (const TaggedComponentList_var &); // copy constructor + ~TaggedComponentList_var (void); // destructor + + TaggedComponentList_var &operator= (TaggedComponentList *); + TaggedComponentList_var &operator= (const TaggedComponentList_var &); + TaggedComponentList *operator-> (void); + const TaggedComponentList *operator-> (void) const; + + operator const TaggedComponentList &() const; + operator TaggedComponentList &(); + operator TaggedComponentList &() const; + operator TaggedComponentList *&(); // variable-size base types only + + TaggedComponent &operator[] (CORBA::ULong index); + // in, inout, out, _retn + const TaggedComponentList &in (void) const; + TaggedComponentList &inout (void); + TaggedComponentList *&out (void); + TaggedComponentList *_retn (void); + TaggedComponentList *ptr (void) const; + + private: + TaggedComponentList *ptr_; + }; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ASSOCIATION_OPTIONS; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_SEC_NAME; +#endif /* end #if !defined */ - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_SPKM_1_SEC_MECH; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_SPKM_2_SEC_MECH; +#if !defined (_IOP_TAGGEDCOMPONENTLIST___OUT_CH_) +#define _IOP_TAGGEDCOMPONENTLIST___OUT_CH_ - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_KerberosV5_SEC_MECH; + class TAO_Export TaggedComponentList_out + { + public: + TaggedComponentList_out (TaggedComponentList *&); + TaggedComponentList_out (TaggedComponentList_var &); + TaggedComponentList_out (const TaggedComponentList_out &); + TaggedComponentList_out &operator= (const TaggedComponentList_out &); + TaggedComponentList_out &operator= (TaggedComponentList *); + operator TaggedComponentList *&(); + TaggedComponentList *&ptr (void); + TaggedComponentList *operator-> (void); + TaggedComponent &operator[] (CORBA::ULong index); + + private: + TaggedComponentList *&ptr_; + // assignment from T_var not allowed + void operator= (const TaggedComponentList_var &); + }; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CSI_ECMA_Secret_SEC_MECH; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CSI_ECMA_Hybrid_SEC_MECH; +#endif /* end #if !defined */ - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_SSL_SEC_TRANS; + TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_TaggedComponentList; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CSI_ECMA_Public_SEC_MECH; + TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ORB_TYPE; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_GENERIC_SEC_MECH; + TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CODE_SETS; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_POLICIES; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS; TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_COMPLETE_OBJECT_KEY; @@ -404,35 +972,58 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_DCE_NO_PIPES; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_DCE_SEC_MECH; - typedef CORBA::ULong ServiceId; typedef CORBA::ULong_out ServiceId_out; TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServiceId; + struct ServiceContext; + class ServiceContext_var; + struct TAO_Export ServiceContext { + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef ServiceContext_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + static void _tao_any_destructor (void*); - ServiceId context_id; + ACE_NESTED_CLASS (IOP, ServiceId) context_id; + +#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_) +#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_ + class _tao_seq_Octet; + class _tao_seq_Octet_var; + // ************************************************************* // _tao_seq_Octet // ************************************************************* - - class TAO_Export _tao_seq_Octet : public TAO_Unbounded_Sequence<CORBA::Octet> + + class TAO_Export _tao_seq_Octet : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + TAO_Unbounded_Sequence<CORBA::Octet> +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<CORBA::Octet> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: _tao_seq_Octet (void); // default ctor _tao_seq_Octet (CORBA::ULong max); // uses max size _tao_seq_Octet ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::Octet *buffer, + CORBA::ULong max, + CORBA::ULong length, + CORBA::Octet *buffer, CORBA::Boolean release=0 ); _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor - ~_tao_seq_Octet (void); // dtor + ~_tao_seq_Octet (void); + static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) _tao_seq_Octet ( @@ -443,8 +1034,82 @@ TAO_NAMESPACE IOP #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */ }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET___VAR_CH_) +#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET___VAR_CH_ + + // ************************************************************* + // class IOP::ServiceContext::_tao_seq_Octet_var + // ************************************************************* + + class TAO_Export _tao_seq_Octet_var + { + public: + _tao_seq_Octet_var (void); // default constructor + _tao_seq_Octet_var (_tao_seq_Octet *); + _tao_seq_Octet_var (const _tao_seq_Octet_var &); // copy constructor + _tao_seq_Octet_var (const _tao_seq_Octet &); // fixed-size base types only + ~_tao_seq_Octet_var (void); // destructor + + _tao_seq_Octet_var &operator= (_tao_seq_Octet *); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet_var &); + _tao_seq_Octet_var &operator= (const _tao_seq_Octet &); // fixed-size base types only + _tao_seq_Octet *operator-> (void); + const _tao_seq_Octet *operator-> (void) const; + + operator const _tao_seq_Octet &() const; + operator _tao_seq_Octet &(); + operator _tao_seq_Octet &() const; + + CORBA::Octet &operator[] (CORBA::ULong index); + // in, inout, out, _retn + const _tao_seq_Octet &in (void) const; + _tao_seq_Octet &inout (void); + _tao_seq_Octet *&out (void); + _tao_seq_Octet *_retn (void); + _tao_seq_Octet *ptr (void) const; + + private: + _tao_seq_Octet *ptr_; + }; + + +#endif /* end #if !defined */ + + +#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET___OUT_CH_) +#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET___OUT_CH_ - _tao_seq_Octet context_data; + class TAO_Export _tao_seq_Octet_out + { + public: + _tao_seq_Octet_out (_tao_seq_Octet *&); + _tao_seq_Octet_out (_tao_seq_Octet_var &); + _tao_seq_Octet_out (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (const _tao_seq_Octet_out &); + _tao_seq_Octet_out &operator= (_tao_seq_Octet *); + operator _tao_seq_Octet *&(); + _tao_seq_Octet *&ptr (void); + _tao_seq_Octet *operator-> (void); + CORBA::Octet &operator[] (CORBA::ULong index); + + private: + _tao_seq_Octet *&ptr_; + // assignment from T_var not allowed + void operator= (const _tao_seq_Octet_var &); + }; + + +#endif /* end #if !defined */ + +#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef _tao_seq_Octet _context_data_seq; + #endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */ + + _tao_seq_Octet context_data; }; class TAO_Export ServiceContext_var @@ -454,16 +1119,18 @@ TAO_NAMESPACE IOP ServiceContext_var (ServiceContext *); ServiceContext_var (const ServiceContext_var &); // copy constructor ~ServiceContext_var (void); // destructor - + ServiceContext_var &operator= (ServiceContext *); ServiceContext_var &operator= (const ServiceContext_var &); ServiceContext *operator-> (void); const ServiceContext *operator-> (void) const; - + operator const ServiceContext &() const; operator ServiceContext &(); operator ServiceContext &() const; - // in, inout, out, _retn + operator ServiceContext *&(); // variable-size types only + + // in, inout, out, _retn const ServiceContext &in (void) const; ServiceContext &inout (void); ServiceContext *&out (void); @@ -485,7 +1152,7 @@ TAO_NAMESPACE IOP operator ServiceContext *&(); ServiceContext *&ptr (void); ServiceContext *operator-> (void); - + private: ServiceContext *&ptr_; // assignment from T_var not allowed @@ -494,23 +1161,90 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServiceContext; - class TAO_Export ServiceContextList : public TAO_Unbounded_Sequence<ServiceContext> + +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + +#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_) +#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_ + + class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_IOP_ServiceContextList : public TAO_Unbounded_Base_Sequence + { + public: + // = Initialization and termination methods. + + _TAO_Unbounded_Sequence_IOP_ServiceContextList (void); // Default constructor. + _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum); + _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum, + CORBA::ULong length, + ServiceContext *data, + CORBA::Boolean release = 0); + _TAO_Unbounded_Sequence_IOP_ServiceContextList (const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs); + _TAO_Unbounded_Sequence_IOP_ServiceContextList &operator= (const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs); + virtual ~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void); // Dtor. + // = Accessors. + ServiceContext &operator[] (CORBA::ULong i); + const ServiceContext &operator[] (CORBA::ULong i) const; + // = Static operations. + static ServiceContext *allocbuf (CORBA::ULong size); + static void freebuf (ServiceContext *buffer); + virtual void _allocate_buffer (CORBA::ULong length); + virtual void _deallocate_buffer (void); + // Implement the TAO_Base_Sequence methods (see Sequence.h) + + ServiceContext *get_buffer (CORBA::Boolean orphan = 0); + const ServiceContext *get_buffer (void) const; + void replace (CORBA::ULong max, + CORBA::ULong length, + ServiceContext *data, + CORBA::Boolean release); + }; + +#endif /* end #if !defined */ + + +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + +#if !defined (_IOP_SERVICECONTEXTLIST_CH_) +#define _IOP_SERVICECONTEXTLIST_CH_ + + class ServiceContextList; + class ServiceContextList_var; + + // ************************************************************* + // ServiceContextList + // ************************************************************* + + class TAO_Export ServiceContextList : public +#if !defined (TAO_USE_SEQUENCE_TEMPLATES) + _TAO_Unbounded_Sequence_IOP_ServiceContextList +#else /* TAO_USE_SEQUENCE_TEMPLATES */ + TAO_Unbounded_Sequence<ServiceContext> +#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: ServiceContextList (void); // default ctor ServiceContextList (CORBA::ULong max); // uses max size ServiceContextList ( - CORBA::ULong max, - CORBA::ULong length, - ServiceContext *buffer, + CORBA::ULong max, + CORBA::ULong length, + ServiceContext *buffer, CORBA::Boolean release=0 ); ServiceContextList (const ServiceContextList &); // copy ctor - ~ServiceContextList (void); // dtor - + ~ServiceContextList (void); static void _tao_any_destructor (void*); + +#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) + typedef ServiceContextList_var _var_type; +#endif /* ! __GNUC__ || g++ >= 2.8 */ + }; - typedef ServiceContextList *ServiceContextList_ptr; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_SERVICECONTEXTLIST___VAR_CH_) +#define _IOP_SERVICECONTEXTLIST___VAR_CH_ // ************************************************************* // class IOP::ServiceContextList_var @@ -523,17 +1257,19 @@ TAO_NAMESPACE IOP ServiceContextList_var (ServiceContextList *); ServiceContextList_var (const ServiceContextList_var &); // copy constructor ~ServiceContextList_var (void); // destructor - + ServiceContextList_var &operator= (ServiceContextList *); ServiceContextList_var &operator= (const ServiceContextList_var &); ServiceContextList *operator-> (void); const ServiceContextList *operator-> (void) const; - + operator const ServiceContextList &() const; operator ServiceContextList &(); operator ServiceContextList &() const; + operator ServiceContextList *&(); // variable-size base types only + ServiceContext &operator[] (CORBA::ULong index); - // in, inout, out, _retn + // in, inout, out, _retn const ServiceContextList &in (void) const; ServiceContextList &inout (void); ServiceContextList *&out (void); @@ -544,6 +1280,13 @@ TAO_NAMESPACE IOP ServiceContextList *ptr_; }; + +#endif /* end #if !defined */ + + +#if !defined (_IOP_SERVICECONTEXTLIST___OUT_CH_) +#define _IOP_SERVICECONTEXTLIST___OUT_CH_ + class TAO_Export ServiceContextList_out { public: @@ -556,13 +1299,16 @@ TAO_NAMESPACE IOP ServiceContextList *&ptr (void); ServiceContextList *operator-> (void); ServiceContext &operator[] (CORBA::ULong index); - + private: ServiceContextList *&ptr_; // assignment from T_var not allowed void operator= (const ServiceContextList_var &); }; + +#endif /* end #if !defined */ + TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServiceContextList; TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TransactionService; @@ -597,63 +1343,47 @@ TAO_NAMESPACE IOP TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong FT_REQUEST; + } TAO_NAMESPACE_CLOSE // module IOP -TAO_Export void operator<<= (CORBA::Any &, - const IOP::TaggedProfile &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::TaggedProfile*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::TaggedProfile *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::TaggedProfile *&); -TAO_Export void operator<<= (CORBA::Any &, - const IOP::IOR &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::IOR*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::IOR *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::IOR *&); -TAO_Export void operator<<= (CORBA::Any &, - const IOP::TaggedComponent &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::TaggedComponent*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::TaggedComponent *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::TaggedComponent *&); -TAO_Export void operator<<= (CORBA::Any &, - const IOP::MultipleComponentProfile &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::MultipleComponentProfile*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::MultipleComponentProfile *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::MultipleComponentProfile *&); -TAO_Export void operator<<= (CORBA::Any &, - const IOP::ServiceContext &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::ServiceContext*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::ServiceContext *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::ServiceContext *&); -TAO_Export void operator<<= (CORBA::Any &, - const IOP::ServiceContextList &); // copying version -TAO_Export void operator<<= (CORBA::Any &, - IOP::ServiceContextList*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - IOP::ServiceContextList *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, - const IOP::ServiceContextList *&); - +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedProfile &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedProfile*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedProfile *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedProfile *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::IOR &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::IOR*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::IOR *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::IOR *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponent &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponent*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponent *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponent *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::MultipleComponentProfile &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::MultipleComponentProfile*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::MultipleComponentProfile *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::MultipleComponentProfile *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentList &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentList*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentList *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentList *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContext &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContext*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContext *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContext *&); +TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContextList &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContextList*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContextList *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContextList *&); #ifndef __ACE_INLINE__ TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedProfile &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedProfile &); + +#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ +#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::TaggedProfile::_tao_seq_Octet & @@ -663,8 +1393,14 @@ TAO_Export CORBA::Boolean operator>> ( IOP::TaggedProfile::_tao_seq_Octet & ); +#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ */ + TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::IOR &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::IOR &); + +#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ +#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::IOR::_tao_seq_TaggedProfile & @@ -674,8 +1410,14 @@ TAO_Export CORBA::Boolean operator>> ( IOP::IOR::_tao_seq_TaggedProfile & ); +#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ */ + TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedComponent &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedComponent &); + +#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ +#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::TaggedComponent::_tao_seq_Octet & @@ -685,6 +1427,12 @@ TAO_Export CORBA::Boolean operator>> ( IOP::TaggedComponent::_tao_seq_Octet & ); +#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ */ + + +#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ +#define _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::MultipleComponentProfile & @@ -694,8 +1442,29 @@ TAO_Export CORBA::Boolean operator>> ( IOP::MultipleComponentProfile & ); +#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ */ + + +#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_H_ +#define _TAO_CDR_OP_IOP_TaggedComponentList_H_ + +TAO_Export CORBA::Boolean operator<< ( + TAO_OutputCDR &, + const IOP::TaggedComponentList & + ); +TAO_Export CORBA::Boolean operator>> ( + TAO_InputCDR &, + IOP::TaggedComponentList & + ); + +#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_H_ */ + TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::ServiceContext &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::ServiceContext &); + +#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ +#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::ServiceContext::_tao_seq_Octet & @@ -705,6 +1474,12 @@ TAO_Export CORBA::Boolean operator>> ( IOP::ServiceContext::_tao_seq_Octet & ); +#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ */ + + +#if !defined _TAO_CDR_OP_IOP_ServiceContextList_H_ +#define _TAO_CDR_OP_IOP_ServiceContextList_H_ + TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const IOP::ServiceContextList & @@ -714,12 +1489,14 @@ TAO_Export CORBA::Boolean operator>> ( IOP::ServiceContextList & ); +#endif /* _TAO_CDR_OP_IOP_ServiceContextList_H_ */ + #endif /* __ACE_INLINE__ */ #if defined (__ACE_INLINE__) -#include "tao/IOPC.i" +#include "IOPC.i" #endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) @@ -727,4 +1504,4 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* _MSC_VER */ #include "ace/post.h" -#endif /* TAO_IOPC_H */ +#endif /* ifndef */ |