diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-04-09 20:40:01 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-04-09 20:40:01 +0000 |
commit | 27e4677aa095cc59874912704011c9ff8b4a3136 (patch) | |
tree | 900c61101814044449da1f89efd4892ce120d99b | |
parent | 1af4b3c45018a0cf76697dafb35ec3d581ba8a25 (diff) | |
download | ATCD-27e4677aa095cc59874912704011c9ff8b4a3136.tar.gz |
ChangeLogTag: Fri Apr 9 20:39:11 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
24 files changed, 3618 insertions, 2972 deletions
diff --git a/modules/TAO/ChangeLog b/modules/TAO/ChangeLog index 63490b9321f..a62607e99ab 100644 --- a/modules/TAO/ChangeLog +++ b/modules/TAO/ChangeLog @@ -1,3 +1,50 @@ +Fri Apr 9 20:39:11 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu> + + * MPC/config/stl_mapping.mpb: + + New base project, to help with toggling the + alternate C++ mapping generation for the + entire middleware. + + * tao/Vector_Argument_T.inl: + * tao/PortableServer/Vector_SArgument_T.inl: + * tao/PortableServer/Vector_SArgument_T.cpp: + * tao/PortableServer/Vector_SArgument_T.h: + * tao/Vector_Argument_T.h: + * tao/Vector_Argument_T.cpp: + + New argument template helper classes and + traits, for the std::vector containers + used for unbounded sequences. + + * tao/tao.mpc: + + Added new files to TAO build project. + + * tao/AnyTypeCode/Vector_AnyOp_T.h: + * tao/Vector_CDR_T.h: + + Added 'typename' qualifier to template + traits references to disambiguate them + for the C++ compiler. + + * TAO_IDL/be/be_visitor_arg_traits.cpp: + * TAO_IDL/be/be_visitor_argument/argument.cpp: + * TAO_IDL/be/be_visitor_argument/arglist.cpp: + * TAO_IDL/be/be_visitor_operation/operation_ch.cpp: + * TAO_IDL/be/be_visitor_operation/rettype.cpp: + * TAO_IDL/be/be_visitor_operation/operation.cpp: + + Further removal of hacks from the IDL compiler + to generate the alternate C++ mapping in the + general case. + + * tests/Param_Test/param_test_i.cpp: + * tests/Param_Test/param_test_i.h: + + Update some of the servant methods to use + the new signatures. + Mon Mar 29 20:28:34 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu> * TAO_IDL/be/be_codegen.cpp: diff --git a/modules/TAO/MPC/config/stl_mapping.mpb b/modules/TAO/MPC/config/stl_mapping.mpb new file mode 100644 index 00000000000..c960f2a3d94 --- /dev/null +++ b/modules/TAO/MPC/config/stl_mapping.mpb @@ -0,0 +1,7 @@ +// -*- MPC -*- +// $Id$ + +feature(stl_mapping) : taoidldefaults { + requires += stl_mapping + idlflags += -Gstl +} diff --git a/modules/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp b/modules/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp index fc8ba0c05b2..57f8ada35bb 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_arg_traits.cpp @@ -615,6 +615,7 @@ be_visitor_arg_traits::visit_sequence (be_sequence *node) TAO_OutStream *os = this->ctx_->stream (); be_typedef *alias = this->ctx_->alias (); + AST_Type *bt = node->base_type (); *os << be_nl << be_nl << "// TAO_IDL - Generated from" << be_nl << "// " << __FILE__ << ":" << __LINE__; @@ -624,17 +625,29 @@ be_visitor_arg_traits::visit_sequence (be_sequence *node) // This should be generated even for imported nodes. The ifdef // guard prevents multiple declarations. - os->gen_ifdef_macro (alias->flat_name (), guard_suffix.c_str (), false); + os->gen_ifdef_macro (alias->flat_name (), + guard_suffix.c_str (), + false); + + bool bounded = (node->max_size ()->ev ()->u.ulval != 0); + UTL_ScopedName *sn = + (bounded ? alias->name () : bt->name ()); *os << be_nl << be_nl << "template<>" << be_nl << "class " << this->S_ << "Arg_Traits<" - << alias->name () << ">" << be_idt_nl + << (bounded ? "" : "std::vector<") << sn + << (bounded ? "" : "> ") << ">" << be_idt_nl << ": public" << be_idt << be_idt_nl - << "Var_Size_" << this->S_ << "Arg_Traits_T<" << be_idt << be_idt_nl - << alias->name () << "," << be_nl - << this->insert_policy() << " <" << alias->name () << ">" << be_uidt_nl + << (bounded ? "Var_Size_" : "Vector_") + << this->S_ << "Arg_Traits_T<" + << be_idt << be_idt_nl + << (bounded ? "" : "std::vector<") << sn + << (bounded ? "" : ">") << "," << be_nl + << this->insert_policy () << "<" + << (bounded ? "" : "std::vector<") << sn + << (bounded ? "" : "> ") << ">" << be_uidt_nl << ">" << be_uidt << be_uidt << be_uidt << be_uidt_nl << "{" << be_nl << "};"; @@ -1092,26 +1105,7 @@ be_visitor_arg_traits::visit_typedef (be_typedef *node) this->generated (bt, false); } - if (ACE_OS::strcmp (node->full_name (), "CORBA::LongSeq") == 0) - { - TAO_OutStream *os = this->ctx_->stream (); - - *os << be_nl << be_nl - << "template<>" << be_nl - << "class " - << this->S_ << "Arg_Traits<" - << "Param_Test::UB_Long_Seq" << ">" << be_idt_nl - << ": public" << be_idt << be_idt_nl - << "Basic_" << this->S_ << "Arg_Traits_T<" - << be_idt << be_idt_nl - << "Param_Test::UB_Long_Seq" << "," << be_nl - << this->insert_policy() << " <" - << "Param_Test::UB_Long_Seq" << ">" << be_uidt_nl - << ">" << be_uidt << be_uidt << be_uidt << be_uidt_nl - << "{" << be_nl - << "};"; - } - else if (!bt || (bt->accept (this) == -1)) + if (!bt || (bt->accept (this) == -1)) { ACE_ERROR_RETURN ((LM_ERROR, "(%N:%l) be_visitor_arg_traits::" diff --git a/modules/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp b/modules/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp index b066a5ad80a..a4a00079b23 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_argument/arglist.cpp @@ -299,16 +299,27 @@ int be_visitor_args_arglist::visit_sequence (be_sequence *node) if (be_global->alt_mapping ()) { + /// Temporarily remove and store the context's 'alias' + /// member, if any, so we can work with the sequence's + /// element type, and restore the alias value when we're done. + be_typedef *td = this->ctx_->alias (); + this->ctx_->alias (0); + + const char *elem_name = + this->type_name (node->base_type ()); + switch (this->direction ()) { case AST_Argument::dir_IN: - *os << "const std::vector<" << this->type_name (node) << "> &"; + *os << "const std::vector<" << elem_name << "> &"; break; case AST_Argument::dir_INOUT: case AST_Argument::dir_OUT: - *os << "std::vector<" << this->type_name (node) << "> &"; + *os << "std::vector<" << elem_name << "> &"; break; } + + this->ctx_->alias (td); } else { @@ -333,8 +344,9 @@ int be_visitor_args_arglist::visit_string (be_string *node) { TAO_OutStream *os = this->ctx_->stream (); ACE_CDR::ULong bound = node->max_size ()->ev ()->u.ulval; + bool wide = (node->width () != (long) sizeof (char)); - if (node->width () == (long) sizeof (char) && bound == 0) + if (!wide && bound == 0 && be_global->alt_mapping ()) { switch (this->direction ()) { diff --git a/modules/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp b/modules/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp index 7cabfbea573..74090920d4a 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp @@ -62,7 +62,7 @@ be_visitor_args::type_name (be_type *node, } ACE_OS::sprintf (namebuf, - "::%s", + "%s", bt->full_name ()); if (suffix) diff --git a/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp b/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp index f627a808a51..99cef948b27 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp @@ -450,9 +450,16 @@ be_visitor_operation::gen_arg_template_param_name (AST_Decl *scope, { alias = AST_Typedef::narrow_from_decl (bt); - if (ACE_OS::strcmp (alias->full_name (), "CORBA::LongSeq") == 0) + AST_Type *pbt = alias->primitive_base_type (); + + if (pbt->node_type () == AST_Decl::NT_sequence) { - *os << "Param_Test::UB_Long_Seq"; + AST_Sequence *seq = + AST_Sequence::narrow_from_decl (pbt); + + AST_Type *elem_type = seq->base_type (); + + *os << "std::vector<" << elem_type->name () << ">"; return; } @@ -463,7 +470,8 @@ be_visitor_operation::gen_arg_template_param_name (AST_Decl *scope, if (nt == AST_Decl::NT_string || nt == AST_Decl::NT_wstring) { - AST_String *s = AST_String::narrow_from_decl (bt->unaliased_type ()); + AST_String *s = + AST_String::narrow_from_decl (bt->unaliased_type ()); bound = s->max_size ()->ev ()->u.ulval; // If the (w)string is unbounded, code is generated below by the @@ -503,7 +511,8 @@ be_visitor_operation::gen_arg_template_param_name (AST_Decl *scope, // type, in order to disambiguate the template parameter. if (nt == AST_Decl::NT_pre_defined) { - AST_PredefinedType *pdt = AST_PredefinedType::narrow_from_decl (ut); + AST_PredefinedType *pdt = + AST_PredefinedType::narrow_from_decl (ut); switch (pdt->pt ()) { diff --git a/modules/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp b/modules/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp index a70d69417e5..f6efe5f215c 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_operation/operation_ch.cpp @@ -53,12 +53,6 @@ be_visitor_operation_ch::visit_operation (be_operation *node) -1); } - if (ACE_OS::strcmp (bt->full_name (), "CORBA::LongSeq") == 0) - { - *os << "typedef std::vector< ::CORBA::Long> UB_Long_Seq;" - << be_nl << be_nl; - } - // Every operation is declared virtual in the client code. *os << "virtual "; diff --git a/modules/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp b/modules/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp index 6b3697c9699..17c5fbd0784 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp @@ -136,9 +136,25 @@ be_visitor_operation_rettype::visit_predefined_type (be_predefined_type *node) int be_visitor_operation_rettype::visit_sequence (be_sequence *node) { - // We should never directly be here because anonymous sequence return types - // are not allowed. - *os << "::" << this->type_name (node) << " *"; + // We should never directly be here because anonymous + // sequence return types are not allowed. + if (be_global->alt_mapping ()) + { + /// Temporarily remove and store the context's 'alias' + /// member, if any, so we can work with the sequence's + /// element type, and restore the alias value when we're done. + be_typedef *td = this->ctx_->alias (); + this->ctx_->alias (0); + + *os << "std::vector<" << this->type_name (node->base_type ()) + << ">"; + + this->ctx_->alias (td); + } + else + { + *os << "::" << this->type_name (node) << " *"; + } return 0; } @@ -147,21 +163,19 @@ int be_visitor_operation_rettype::visit_string (be_string *node) { ACE_CDR::ULong bound = node->max_size ()->ev ()->u.ulval; + bool wide = (node->width () != (long) sizeof (char)); - if (node->width () == (long) sizeof (char)) + if (wide) { - if (bound == 0) - { - *os << "std::string"; - } - else - { - *os << "char *"; - } + *os << "::CORBA::WChar *"; + } + else if (bound == 0 && be_global->alt_mapping ()) + { + *os << "std::string"; } else { - *os << "::CORBA::WChar *"; + *os << "char *"; } return 0; @@ -185,13 +199,6 @@ be_visitor_operation_rettype::visit_structure (be_structure *node) int be_visitor_operation_rettype::visit_typedef (be_typedef *node) { - if (ACE_OS::strcmp (node->full_name (), "CORBA::LongSeq") == 0) - { - *os << "Param_Test::UB_Long_Seq"; - - return 0; - } - // Set the alias node. this->ctx_->alias (node); diff --git a/modules/TAO/tao/AnyTypeCode/Vector_AnyOp_T.h b/modules/TAO/tao/AnyTypeCode/Vector_AnyOp_T.h index ebda537860a..20b44708ac0 100644 --- a/modules/TAO/tao/AnyTypeCode/Vector_AnyOp_T.h +++ b/modules/TAO/tao/AnyTypeCode/Vector_AnyOp_T.h @@ -48,7 +48,7 @@ namespace TAO void insert_objref_vector ( CORBA::Any &, - const std::vector<T::_ptr_type> &) + const std::vector<typename T::_ptr_type> &) { } @@ -57,7 +57,7 @@ namespace TAO void insert_objref_vector ( CORBA::Any &, - std::vector<T::_ptr_type> *) + std::vector<typename T::_ptr_type> *) { } @@ -65,7 +65,7 @@ namespace TAO bool extract_objref_vector ( const CORBA::Any &, - std::vector<T::_ptr_type> &) + std::vector<typename T::_ptr_type> &) { return true; } @@ -75,7 +75,7 @@ namespace TAO void insert_array_vector ( CORBA::Any &, - const std::vector<T_forany::_slice_type *> &) + const std::vector<typename T_forany::_slice_type *> &) { } @@ -84,7 +84,7 @@ namespace TAO void insert_array_vector ( CORBA::Any &, - std::vector<T_forany::_slice_type *> *) + std::vector<typename T_forany::_slice_type *> *) { } @@ -92,7 +92,7 @@ namespace TAO bool extract_array_vector ( const CORBA::Any &, - std::vector<T_forany::_slice_type *> &) + std::vector<typename T_forany::_slice_type *> &) { return true; } diff --git a/modules/TAO/tao/PortableServer/Vector_SArgument_T.cpp b/modules/TAO/tao/PortableServer/Vector_SArgument_T.cpp new file mode 100644 index 00000000000..2e1aa182ce4 --- /dev/null +++ b/modules/TAO/tao/PortableServer/Vector_SArgument_T.cpp @@ -0,0 +1,120 @@ +// $Id$ + +#ifndef TAO_VECTOR_SARGUMENT_T_CPP +#define TAO_VECTOR_SARGUMENT_T_CPP + +#include "tao/PortableServer/Vector_SArgument_T.h" + +#if !defined (__ACE_INLINE__) +#include "tao/PortableServer/Vector_SArgument_T.inl" +#endif /* __ACE_INLINE__ */ + + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::In_Vector_SArgument_T<S,Insert_Policy>::demarshal (TAO_InputCDR &cdr) +{ + return cdr >> this->x_; +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::In_Vector_SArgument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, this->x_); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +// =========================================================== + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr) +{ + return cdr << this->x_; +} + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::demarshal (TAO_InputCDR & cdr) +{ + return cdr >> this->x_; +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, this->x_); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +// ============================================================== + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Out_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr) +{ + if (0 == this->x_.ptr()) + throw ::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE); + + return cdr << this->x_.in (); +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Out_Vector_SArgument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any) const +{ + Insert_Policy::any_insert (any, this->x_.in ()); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +// ============================================================ + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr) +{ + return cdr << this->x_.in (); +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any) const +{ + Insert_Policy::any_insert (any, this->x_.in ()); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +TAO_END_VERSIONED_NAMESPACE_DECL + +#endif /* TAO_VECTOR_SARGUMENT_T_CPP */ diff --git a/modules/TAO/tao/PortableServer/Vector_SArgument_T.h b/modules/TAO/tao/PortableServer/Vector_SArgument_T.h new file mode 100644 index 00000000000..c380c623a22 --- /dev/null +++ b/modules/TAO/tao/PortableServer/Vector_SArgument_T.h @@ -0,0 +1,171 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Vector_SArgument_T.h + * + * $Id$ + * + * @author Jeff Parsons + */ +//============================================================================= + +#ifndef TAO_VECTOR_SARGUMENT_T_H +#define TAO_VECTOR_SARGUMENT_T_H + +#include /**/ "ace/pre.h" +#include "tao/Argument.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + /** + * @class In_Vector_SArgument_T + * + * @brief Template class for IN skeleton argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class In_Vector_SArgument_T : public InArgument + { + public: + + virtual CORBA::Boolean demarshal (TAO_InputCDR &); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S const & arg (void) const; + + private: + S x_; + }; + + /** + * @class Inout_Vector_SArgument_T + * + * @brief Template class for INOUT skeleton arg of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Inout_Vector_SArgument_T : public InoutArgument + { + public: + Inout_Vector_SArgument_T (void); + + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); + virtual CORBA::Boolean demarshal (TAO_InputCDR &); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S & arg (void); + + private: + S x_; + }; + + /** + * @class Out_Vector_SArgument_T + * + * @brief Template class for OUT skeleton argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Out_Vector_SArgument_T : public OutArgument + { + public: + Out_Vector_SArgument_T (void); + + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S *& arg (void); + + private: + typename S::_var_type x_; + }; + + /** + * @class Ret_Vector_SArgument_T + * + * @brief Template class for return skeleton value of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Ret_Vector_SArgument_T : public RetArgument + { + public: + Ret_Vector_SArgument_T (void); + + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S *& arg (void); + + private: + typename S::_var_type x_; + }; + + /** + * @struct Vector_SArg_Traits_T + * + * @brief Template class for skeleton argument traits of + * sequence IDL types, when the STL mapping is used by + * the IDL compiler. The ret_type and out_type typedefs + * are different from Vector_SArg_Traits_T. + * + */ + template<typename T, + class Insert_Policy> + struct Vector_SArg_Traits_T + { + typedef T ret_type; + typedef const T & in_type; + typedef T & inout_type; + typedef typename T & out_type; + + typedef In_Vector_SArgument_T<T,Insert_Policy> in_arg_val; + typedef Inout_Vector_SArgument_T<T,Insert_Policy> inout_arg_val; + typedef Out_Vector_SArgument_T<T,Insert_Policy> out_arg_val; + typedef Ret_Vector_SArgument_T<T,Insert_Policy> ret_val; + + // Typedefs corresponding to return value of arg() method in both + // the client and server side argument class templates. + typedef in_type in_arg_type; + typedef inout_type inout_arg_type; + typedef ret_type & out_arg_type; + typedef ret_type & ret_arg_type; + }; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#if defined (__ACE_INLINE__) +#include "tao/PortableServer/Vector_SArgument_T.inl" +#endif /* __ACE_INLINE__ */ + +#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) +#include "tao/PortableServer/Vector_SArgument_T.cpp" +#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ + +#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) +#pragma implementation ("Vector_SArgument_T.cpp") +#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ + +#include /**/ "ace/post.h" + +#endif /* TAO_VECTOR_SARGUMENT_T_H */ diff --git a/modules/TAO/tao/PortableServer/Vector_SArgument_T.inl b/modules/TAO/tao/PortableServer/Vector_SArgument_T.inl new file mode 100644 index 00000000000..9ef9986f90b --- /dev/null +++ b/modules/TAO/tao/PortableServer/Vector_SArgument_T.inl @@ -0,0 +1,67 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template<typename S, + class Insert_Policy> +S const & +TAO::In_Vector_SArgument_T<S,Insert_Policy>::arg (void) const +{ + return this->x_; +} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::Inout_Vector_SArgument_T (void) +{ +} + +template<typename S, + class Insert_Policy> +S & +TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::arg (void) +{ + return this->x_; +} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Out_Vector_SArgument_T<S,Insert_Policy>::Out_Vector_SArgument_T (void) +{ +} + +template<typename S, + class Insert_Policy> +S *& +TAO::Out_Vector_SArgument_T<S,Insert_Policy>::arg (void) +{ + return this->x_.out (); +} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::Ret_Vector_SArgument_T (void) +{ +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S *& +TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::arg (void) +{ + return this->x_.out (); +} + +TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/modules/TAO/tao/Vector_Argument_T.cpp b/modules/TAO/tao/Vector_Argument_T.cpp new file mode 100644 index 00000000000..95e9bb3599d --- /dev/null +++ b/modules/TAO/tao/Vector_Argument_T.cpp @@ -0,0 +1,159 @@ +// $Id$ + +#ifndef TAO_VECTOR_ARGUMENT_T_CPP +#define TAO_VECTOR_ARGUMENT_T_CPP + +#include "tao/Vector_Argument_T.h" + +#if !defined (__ACE_INLINE__) +#include "tao/Vector_Argument_T.inl" +#endif /* __ACE_INLINE__ */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::In_Vector_Argument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr) +{ + return cdr << *this->x_; +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::In_Vector_Argument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, *this->x_); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +template<typename S, + class Insert_Policy> +TAO::In_Vector_Clonable_Argument_T<S,Insert_Policy>::~In_Vector_Clonable_Argument_T (void) +{ + if (this->is_clone_) + { + S* tmp = const_cast<S*> (this->x_); + delete tmp; + } +} + +template<typename S, + class Insert_Policy> +TAO::Argument* +TAO::In_Vector_Clonable_Argument_T<S,Insert_Policy>::clone (void) +{ + S* clone_x = new S (*(this->x_)); + In_Vector_Clonable_Argument_T<S,Insert_Policy>* clone_arg + = new In_Vector_Clonable_Argument_T<S,Insert_Policy> (*clone_x); + clone_arg->is_clone_ = true; + return clone_arg; +} + +// =========================================================== + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Inout_Vector_Argument_T<S,Insert_Policy>::marshal ( + TAO_OutputCDR &cdr + ) +{ + return cdr << *this->x_; +} + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Inout_Vector_Argument_T<S,Insert_Policy>::demarshal ( + TAO_InputCDR & cdr + ) +{ + return cdr >> *this->x_; +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Inout_Vector_Argument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, *this->x_); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +// ============================================================== + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Out_Vector_Argument_T<S,Insert_Policy>::demarshal ( + TAO_InputCDR & cdr + ) +{ +#if defined (ACE_HAS_NEW_NOTHROW) + this->x_ = new (ACE_nothrow) S; +#else + this->x_ = new S; +#endif /* ACE_HAS_NEW_NOTHROW */ + return cdr >> *this->x_; +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Out_Vector_Argument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, *this->x_); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +// ============================================================ + +template<typename S, + class Insert_Policy> +CORBA::Boolean +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::demarshal ( + TAO_InputCDR & cdr + ) +{ + S * tmp = 0; + ACE_NEW_RETURN (tmp, + S (), + 0); + this->x_ = tmp; + return cdr >> this->x_.inout (); +} + +#if TAO_HAS_INTERCEPTORS == 1 + +template<typename S, + class Insert_Policy> +void +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::interceptor_value ( + CORBA::Any *any + ) const +{ + Insert_Policy::any_insert (any, this->x_.in ()); +} + +#endif /* TAO_HAS_INTERCEPTORS */ + +TAO_END_VERSIONED_NAMESPACE_DECL + +#endif /* TAO_VECTOR_ARGUMENT_T_CPP */ diff --git a/modules/TAO/tao/Vector_Argument_T.h b/modules/TAO/tao/Vector_Argument_T.h new file mode 100644 index 00000000000..da279981bdb --- /dev/null +++ b/modules/TAO/tao/Vector_Argument_T.h @@ -0,0 +1,192 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Vector_Argument_T.h + * + * $Id$ + * + * @authors Jeff Parsons + */ +//============================================================================= + +#ifndef TAO_VECTOR_ARGUMENT_T_H +#define TAO_VECTOR_ARGUMENT_T_H + +#include /**/ "ace/pre.h" + +#include "tao/Argument.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + /** + * @class In_Vector_Argument_T + * + * @brief Template class for IN stub argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class In_Vector_Argument_T : public InArgument + { + public: + In_Vector_Argument_T (S const & x); + + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S const & arg (void) const; + + protected: + const S * x_; + }; + + /** + * @class In_Vector_Clonable_Argument_T + * + * @brief Template class for IN stub argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class In_Vector_Clonable_Argument_T : + public In_Vector_Argument_T<S, Insert_Policy> + { + public: + In_Vector_Clonable_Argument_T (S const & x); + virtual ~In_Vector_Clonable_Argument_T (void); + + virtual Argument* clone (void); + + private: + bool is_clone_; + }; + + /** + * @class Inout_Vector_Argument_T + * + * @brief Template class for INOUT stub argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Inout_Vector_Argument_T : public InoutArgument + { + public: + Inout_Vector_Argument_T (S & x); + + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); + virtual CORBA::Boolean demarshal (TAO_InputCDR &); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S & arg (void); + + private: + S * x_; + }; + + /** + * @class Out_Vector_Argument_T + * + * @brief Template class for OUT stub argument of + * unbounded sequence IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Out_Vector_Argument_T : public OutArgument + { + public: + Out_Vector_Argument_T (typename S::_out_type x); + + virtual CORBA::Boolean demarshal (TAO_InputCDR &); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S *& arg (void); + + private: + S *& x_; + }; + + /** + * @class Ret_Vector_Argument_T + * + * @brief Template class for return stub value of fixed size IDL types. + * + */ + template<typename S, + class Insert_Policy> + class Ret_Vector_Argument_T : public RetArgument + { + public: + Ret_Vector_Argument_T (void); + + virtual CORBA::Boolean demarshal (TAO_InputCDR &); +#if TAO_HAS_INTERCEPTORS == 1 + virtual void interceptor_value (CORBA::Any *any) const; +#endif /* TAO_HAS_INTERCEPTORS == 1 */ + S *& arg (void); + + S * excp (void); + S * retn (void); + + protected: + typename S::_var_type x_; + }; + + /** + * @struct Vector_Arg_Traits_T + * + * @brief Template class for stub argument traits of + * sequence IDL types, when the STL mapping is used by + * the IDL compiler. The ret_type and out_type typedefs + * are different from Vector_Arg_Traits_T. + * + */ + template<typename T, + class Insert_Policy> + struct Vector_Arg_Traits_T + { + typedef T ret_type; + typedef T const & in_type; + typedef T & inout_type; + typedef typename T & out_type; + + typedef In_Vector_Argument_T<T, Insert_Policy> in_arg_val; + typedef In_Vector_Clonable_Argument_T<T, Insert_Policy> + in_clonable_arg_val; + typedef Inout_Vector_Argument_T<T, Insert_Policy> inout_arg_val; + typedef Out_Vector_Argument_T<T, Insert_Policy> out_arg_val; + typedef Ret_Vector_Argument_T<T, Insert_Policy> ret_val; + }; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#if defined (__ACE_INLINE__) +#include "tao/Vector_Argument_T.inl" +#endif /* __ACE_INLINE__ */ + +#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) +#include "tao/Vector_Argument_T.cpp" +#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ + +#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) +#pragma implementation ("Vector_Argument_T.cpp") +#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ + +#include /**/ "ace/post.h" + +#endif /* TAO_VECTOR_ARGUMENT_T_H */ diff --git a/modules/TAO/tao/Vector_Argument_T.inl b/modules/TAO/tao/Vector_Argument_T.inl new file mode 100644 index 00000000000..c1b9491f1b8 --- /dev/null +++ b/modules/TAO/tao/Vector_Argument_T.inl @@ -0,0 +1,107 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::In_Vector_Argument_T<S,Insert_Policy>::In_Vector_Argument_T (S const & x) + : x_ (&x) +{ +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +const S & +TAO::In_Vector_Argument_T<S,Insert_Policy>::arg (void) const +{ + return *this->x_; +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::In_Vector_Clonable_Argument_T<S,Insert_Policy>::In_Vector_Clonable_Argument_T (S const & x) + : In_Vector_Argument_T<S,Insert_Policy> (x), + is_clone_ (false) +{} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Inout_Vector_Argument_T<S,Insert_Policy>::Inout_Vector_Argument_T (S & x) + : x_ (&x) +{ +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S & +TAO::Inout_Vector_Argument_T<S,Insert_Policy>::arg (void) +{ + return *this->x_; +} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Out_Vector_Argument_T<S,Insert_Policy>::Out_Vector_Argument_T ( + typename S::_out_type x + ) + : x_ (x.ptr ()) +{} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S *& +TAO::Out_Vector_Argument_T<S,Insert_Policy>::arg (void) +{ + return this->x_; +} + +// ========================================================================== + +template<typename S, + class Insert_Policy> +ACE_INLINE +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::Ret_Vector_Argument_T (void) +{ +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S *& +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::arg (void) +{ + return this->x_.out (); +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S * +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::excp (void) +{ + return this->x_.ptr (); +} + +template<typename S, + class Insert_Policy> +ACE_INLINE +S * +TAO::Ret_Vector_Argument_T<S,Insert_Policy>::retn (void) +{ + return this->x_._retn (); +} + +TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/modules/TAO/tao/Vector_CDR_T.h b/modules/TAO/tao/Vector_CDR_T.h index a5d2318c1ee..3a3b84adcd9 100644 --- a/modules/TAO/tao/Vector_CDR_T.h +++ b/modules/TAO/tao/Vector_CDR_T.h @@ -82,7 +82,7 @@ namespace TAO bool marshal_objref_vector ( TAO_OutputCDR &strm, - const std::vector<T::_ptr_type> &source) + const std::vector<typename T::_ptr_type> &source) { ::CORBA::ULong const length = source.size (); @@ -97,7 +97,7 @@ namespace TAO { if (! (TAO::Objref_Traits<T>::marshal (*i, strm))) { - return false' + return false; } } @@ -108,7 +108,7 @@ namespace TAO bool demarshal_objref_vector ( TAO_InputCDR &strm, - std::vector<T::_ptr_type> &target) + std::vector<typename T::_ptr_type> &target) { ::CORBA::ULong new_length = 0; @@ -144,7 +144,7 @@ namespace TAO bool marshal_array_vector ( TAO_OutputCDR &strm, - const std::vector<T_forany::_slice_type *> &source) + const std::vector<typename T_forany::_slice_type *> &source) { typedef TAO_FixedArray_Var_T <T_forany::_array_type, T_forany::_slice_type, @@ -177,7 +177,7 @@ namespace TAO bool demarshal_array_vector ( TAO_InputCDR &strm, - const std::vector<T_forany::_slice_type *> &source) + const std::vector<typename T_forany::_slice_type *> &source) { typedef TAO::Array_Traits<T_forany> array_traits; ::CORBA::ULong new_length = 0; diff --git a/modules/TAO/tao/tao.mpc b/modules/TAO/tao/tao.mpc index 76049060437..aba44101fd5 100644 --- a/modules/TAO/tao/tao.mpc +++ b/modules/TAO/tao/tao.mpc @@ -619,6 +619,7 @@ project(TAO) : acelib, install, tao_output, taodefaults, pidl, extra_core, taoid varbase.h VarOut_T.h Var_Size_Argument_T.h + Vector_Argument_T.h Vector_CDR_T.h Version.h Versioned_Namespace.h diff --git a/modules/TAO/tests/Param_Test/Param_Test.mpc b/modules/TAO/tests/Param_Test/Param_Test.mpc index 41280d6076e..c2c9d50fdb4 100644 --- a/modules/TAO/tests/Param_Test/Param_Test.mpc +++ b/modules/TAO/tests/Param_Test/Param_Test.mpc @@ -3,7 +3,7 @@ project(*idl): taoidldefaults { IDL_Files { - idlflags -= -Sa -St + idlflags -= -Sa -St -Gstl param_test.idl } custom_only = 1 diff --git a/modules/TAO/tests/Param_Test/param_testC.cpp b/modules/TAO/tests/Param_Test/param_testC.cpp index a9886583de5..c83469f9e74 100644 --- a/modules/TAO/tests/Param_Test/param_testC.cpp +++ b/modules/TAO/tests/Param_Test/param_testC.cpp @@ -27,7 +27,7 @@ **/ // TAO_IDL - Generated from -// .\be\be_codegen.cpp:378 +// .\be\be_codegen.cpp:381 #include "param_testC.h" @@ -54,6 +54,8 @@ #include "tao/AnyTypeCode/Any_Dual_Impl_T.h" #include "tao/AnyTypeCode/Any_Array_Impl_T.h" #include "tao/AnyTypeCode/Any_Basic_Impl_T.h" +#include "tao/Vector_CDR_T.h" +#include "tao/AnyTypeCode/Vector_AnyOp_T.h" #include "tao/Basic_Arguments.h" #include "tao/BD_String_Argument_T.h" #include "tao/AnyTypeCode/Any.h" @@ -80,28 +82,36 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { + // TAO_IDL - Generated from + // .\be\be_visitor_arg_traits.cpp:621 + +#if !defined (_CORBA_LONGSEQ__ARG_TRAITS_) +#define _CORBA_LONGSEQ__ARG_TRAITS_ + template<> - class Arg_Traits<Param_Test::UB_Long_Seq> + class Arg_Traits<std::vector<CORBA::Long> > : public - Basic_Arg_Traits_T< - Param_Test::UB_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::UB_Long_Seq> + Vector_Arg_Traits_T< + std::vector<CORBA::Long>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Long> > > { }; + +#endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_SHORTSEQ__ARG_TRAITS_) #define _CORBA_SHORTSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::ShortSeq> + class Arg_Traits<std::vector<CORBA::Short> > : public - Var_Size_Arg_Traits_T< - CORBA::ShortSeq, - TAO::Any_Insert_Policy_Stream <CORBA::ShortSeq> + Vector_Arg_Traits_T< + std::vector<CORBA::Short>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > > { }; @@ -109,17 +119,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_STRINGSEQ__ARG_TRAITS_) #define _CORBA_STRINGSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::StringSeq> + class Arg_Traits<std::vector<char *> > : public - Var_Size_Arg_Traits_T< - CORBA::StringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::StringSeq> + Vector_Arg_Traits_T< + std::vector<char *>, + TAO::Any_Insert_Policy_Stream<std::vector<char *> > > { }; @@ -127,17 +137,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_WSTRINGSEQ__ARG_TRAITS_) #define _CORBA_WSTRINGSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::WStringSeq> + class Arg_Traits<std::vector<CORBA::WChar *> > : public - Var_Size_Arg_Traits_T< - CORBA::WStringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::WStringSeq> + Vector_Arg_Traits_T< + std::vector<CORBA::WChar *>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > > { }; @@ -145,17 +155,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_ANYSEQ__ARG_TRAITS_) #define _CORBA_ANYSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::AnySeq> + class Arg_Traits<std::vector<CORBA::Any> > : public - Var_Size_Arg_Traits_T< - CORBA::AnySeq, - TAO::Any_Insert_Policy_Stream <CORBA::AnySeq> + Vector_Arg_Traits_T< + std::vector<CORBA::Any>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > > { }; @@ -184,7 +194,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_COFFEE_DESC__ARG_TRAITS_) #define _COFFEE_DESC__ARG_TRAITS_ @@ -242,7 +252,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_ @@ -260,17 +270,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_PATHSPEC__ARG_TRAITS_) #define _PARAM_TEST_PATHSPEC__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::PathSpec> + class Arg_Traits<std::vector<Param_Test::Step> > : public - Var_Size_Arg_Traits_T< - Param_Test::PathSpec, - TAO::Any_Insert_Policy_Stream <Param_Test::PathSpec> + Vector_Arg_Traits_T< + std::vector<Param_Test::Step>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > > { }; @@ -278,7 +288,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_ @@ -288,7 +298,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Short_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> > { }; @@ -296,7 +306,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_ @@ -306,7 +316,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Long_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> > { }; @@ -314,7 +324,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_ @@ -324,7 +334,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> > { }; @@ -332,7 +342,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_ @@ -342,7 +352,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_WStrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> > { }; @@ -350,17 +360,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_STRUCTSEQ__ARG_TRAITS_) #define _PARAM_TEST_STRUCTSEQ__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::StructSeq> + class Arg_Traits<std::vector<Param_Test::Fixed_Struct> > : public - Var_Size_Arg_Traits_T< - Param_Test::StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::StructSeq> + Vector_Arg_Traits_T< + std::vector<Param_Test::Fixed_Struct>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > > { }; @@ -368,7 +378,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_ @@ -378,7 +388,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StructSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> > { }; @@ -386,17 +396,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_COFFEE_MIX__ARG_TRAITS_) #define _PARAM_TEST_COFFEE_MIX__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::Coffee_Mix> + class Arg_Traits<std::vector<Coffee> > : public - Var_Size_Arg_Traits_T< - Param_Test::Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Coffee_Mix> + Vector_Arg_Traits_T< + std::vector<Coffee>, + TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > > { }; @@ -404,7 +414,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_ @@ -414,7 +424,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Coffee_Mix> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> > { }; @@ -422,7 +432,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_VAR_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_VAR_STRUCT__ARG_TRAITS_ @@ -440,7 +450,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_ @@ -458,7 +468,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_ @@ -508,17 +518,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_ARRAYSEQ__ARG_TRAITS_) #define _PARAM_TEST_ARRAYSEQ__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::ArraySeq> + class Arg_Traits<std::vector<Param_Test::Fixed_Array> > : public - Var_Size_Arg_Traits_T< - Param_Test::ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::ArraySeq> + Vector_Arg_Traits_T< + std::vector<Param_Test::Fixed_Array>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > > { }; @@ -526,7 +536,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_ @@ -536,7 +546,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_ArraySeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> > { }; @@ -544,7 +554,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_BIG_UNION__ARG_TRAITS_) #define _PARAM_TEST_BIG_UNION__ARG_TRAITS_ @@ -562,7 +572,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_SMALL_UNION__ARG_TRAITS_) #define _PARAM_TEST_SMALL_UNION__ARG_TRAITS_ @@ -580,7 +590,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_ @@ -598,7 +608,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_ @@ -758,7 +768,7 @@ Coffee::description (void) void Coffee::description ( - const ::Coffee::Desc & description) + const Coffee::Desc & description) { if (!this->is_evaluated ()) { @@ -951,9 +961,9 @@ TAO::Collocation_Proxy_Broker * ::CORBA::Short Param_Test::test_short ( - ::CORBA::Short s1, - ::CORBA::Short & s2, - ::CORBA::Short_out s3) + CORBA::Short s1, + CORBA::Short & s2, + CORBA::Short_out s3) { if (!this->is_evaluated ()) { @@ -997,9 +1007,9 @@ Param_Test::test_short ( ::CORBA::ULongLong Param_Test::test_ulonglong ( - ::CORBA::ULongLong s1, - ::CORBA::ULongLong & s2, - ::CORBA::ULongLong_out s3) + CORBA::ULongLong s1, + CORBA::ULongLong & s2, + CORBA::ULongLong_out s3) { if (!this->is_evaluated ()) { @@ -1368,9 +1378,9 @@ Param_Test::Fixed_Struct::_tao_any_destructor ( ::Param_Test::Fixed_Struct Param_Test::test_fixed_struct ( - const ::Param_Test::Fixed_Struct & s1, - ::Param_Test::Fixed_Struct & s2, - ::Param_Test::Fixed_Struct_out s3) + const Param_Test::Fixed_Struct & s1, + Param_Test::Fixed_Struct & s2, + Param_Test::Fixed_Struct_out s3) { if (!this->is_evaluated ()) { @@ -1598,11 +1608,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::PathSpec * +std::vector<Param_Test::Step> Param_Test::test_unbounded_struct_sequence ( - const ::Param_Test::PathSpec & s1, - ::Param_Test::PathSpec & s2, - ::Param_Test::PathSpec_out s3) + const std::vector<Param_Test::Step> & s1, + std::vector<Param_Test::Step> & s2, + std::vector<Param_Test::Step> & s3) { if (!this->is_evaluated ()) { @@ -1614,10 +1624,10 @@ Param_Test::test_unbounded_struct_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::PathSpec>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::PathSpec>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::PathSpec>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::PathSpec>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Param_Test::Step>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Param_Test::Step>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Param_Test::Step>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Param_Test::Step>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -1644,11 +1654,11 @@ Param_Test::test_unbounded_struct_sequence ( // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::CORBA::ShortSeq * +std::vector<CORBA::Short> Param_Test::test_short_sequence ( - const ::CORBA::ShortSeq & s1, - ::CORBA::ShortSeq & s2, - ::CORBA::ShortSeq_out s3) + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3) { if (!this->is_evaluated ()) { @@ -1660,10 +1670,10 @@ Param_Test::test_short_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::CORBA::ShortSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::ShortSeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::ShortSeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::ShortSeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<CORBA::Short>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::Short>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<CORBA::Short>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<CORBA::Short>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -1784,11 +1794,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_Short_Seq * +std::vector<CORBA::Short> Param_Test::test_bounded_short_sequence ( - const ::Param_Test::Bounded_Short_Seq & s1, - ::Param_Test::Bounded_Short_Seq & s2, - ::Param_Test::Bounded_Short_Seq_out s3) + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3) { if (!this->is_evaluated ()) { @@ -1800,10 +1810,10 @@ Param_Test::test_bounded_short_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_Short_Seq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_Short_Seq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_Short_Seq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_Short_Seq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<CORBA::Short>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::Short>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<CORBA::Short>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<CORBA::Short>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -1830,11 +1840,11 @@ Param_Test::test_bounded_short_sequence ( // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -Param_Test::UB_Long_Seq +std::vector<CORBA::Long> Param_Test::test_long_sequence ( - const Param_Test::UB_Long_Seq & s1, - Param_Test::UB_Long_Seq & s2, - Param_Test::UB_Long_Seq & s3) + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3) { if (!this->is_evaluated ()) { @@ -1846,10 +1856,10 @@ Param_Test::test_long_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< Param_Test::UB_Long_Seq>::ret_val _tao_retval; - TAO::Arg_Traits< Param_Test::UB_Long_Seq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< Param_Test::UB_Long_Seq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< Param_Test::UB_Long_Seq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<CORBA::Long>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::Long>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<CORBA::Long>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<CORBA::Long>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -1970,11 +1980,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_Long_Seq * +std::vector<CORBA::Long> Param_Test::test_bounded_long_sequence ( - const ::Param_Test::Bounded_Long_Seq & s1, - ::Param_Test::Bounded_Long_Seq & s2, - ::Param_Test::Bounded_Long_Seq_out s3) + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3) { if (!this->is_evaluated ()) { @@ -1986,10 +1996,10 @@ Param_Test::test_bounded_long_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_Long_Seq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_Long_Seq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_Long_Seq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_Long_Seq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<CORBA::Long>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::Long>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<CORBA::Long>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<CORBA::Long>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2016,11 +2026,11 @@ Param_Test::test_bounded_long_sequence ( // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::CORBA::StringSeq * +std::vector<char *> Param_Test::test_strseq ( - const ::CORBA::StringSeq & s1, - ::CORBA::StringSeq & s2, - ::CORBA::StringSeq_out s3) + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3) { if (!this->is_evaluated ()) { @@ -2032,10 +2042,10 @@ Param_Test::test_strseq ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::CORBA::StringSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::StringSeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::StringSeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::StringSeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<char *>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<char *>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<char *>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<char *>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2150,11 +2160,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_StrSeq * +std::vector<char *> Param_Test::test_bounded_strseq ( - const ::Param_Test::Bounded_StrSeq & s1, - ::Param_Test::Bounded_StrSeq & s2, - ::Param_Test::Bounded_StrSeq_out s3) + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3) { if (!this->is_evaluated ()) { @@ -2166,10 +2176,10 @@ Param_Test::test_bounded_strseq ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_StrSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_StrSeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_StrSeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_StrSeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<char *>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<char *>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<char *>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<char *>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2196,11 +2206,11 @@ Param_Test::test_bounded_strseq ( // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::CORBA::WStringSeq * +std::vector<CORBA::WChar *> Param_Test::test_wstrseq ( - const ::CORBA::WStringSeq & ws1, - ::CORBA::WStringSeq & ws2, - ::CORBA::WStringSeq_out ws3) + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3) { if (!this->is_evaluated ()) { @@ -2212,10 +2222,10 @@ Param_Test::test_wstrseq ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::CORBA::WStringSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::WStringSeq>::in_arg_val _tao_ws1 (ws1); - TAO::Arg_Traits< ::CORBA::WStringSeq>::inout_arg_val _tao_ws2 (ws2); - TAO::Arg_Traits< ::CORBA::WStringSeq>::out_arg_val _tao_ws3 (ws3); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::in_arg_val _tao_ws1 (ws1); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::inout_arg_val _tao_ws2 (ws2); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::out_arg_val _tao_ws3 (ws3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2330,11 +2340,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_WStrSeq * +std::vector<CORBA::WChar *> Param_Test::test_bounded_wstrseq ( - const ::Param_Test::Bounded_WStrSeq & ws1, - ::Param_Test::Bounded_WStrSeq & ws2, - ::Param_Test::Bounded_WStrSeq_out ws3) + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3) { if (!this->is_evaluated ()) { @@ -2346,10 +2356,10 @@ Param_Test::test_bounded_wstrseq ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_WStrSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_WStrSeq>::in_arg_val _tao_ws1 (ws1); - TAO::Arg_Traits< ::Param_Test::Bounded_WStrSeq>::inout_arg_val _tao_ws2 (ws2); - TAO::Arg_Traits< ::Param_Test::Bounded_WStrSeq>::out_arg_val _tao_ws3 (ws3); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::in_arg_val _tao_ws1 (ws1); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::inout_arg_val _tao_ws2 (ws2); + TAO::Arg_Traits< std::vector<CORBA::WChar *>>::out_arg_val _tao_ws3 (ws3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2478,11 +2488,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::StructSeq * +std::vector<Param_Test::Fixed_Struct> Param_Test::test_struct_sequence ( - const ::Param_Test::StructSeq & s1, - ::Param_Test::StructSeq & s2, - ::Param_Test::StructSeq_out s3) + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3) { if (!this->is_evaluated ()) { @@ -2494,10 +2504,10 @@ Param_Test::test_struct_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::StructSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::StructSeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::StructSeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::StructSeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2618,11 +2628,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_StructSeq * +std::vector<Param_Test::Fixed_Struct> Param_Test::test_bounded_struct_sequence ( - const ::Param_Test::Bounded_StructSeq & s1, - ::Param_Test::Bounded_StructSeq & s2, - ::Param_Test::Bounded_StructSeq_out s3) + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3) { if (!this->is_evaluated ()) { @@ -2634,10 +2644,10 @@ Param_Test::test_bounded_struct_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_StructSeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_StructSeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_StructSeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_StructSeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2769,11 +2779,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Coffee_Mix * +std::vector<Coffee> Param_Test::test_coffe_mix ( - const ::Param_Test::Coffee_Mix & s1, - ::Param_Test::Coffee_Mix & s2, - ::Param_Test::Coffee_Mix_out s3) + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3) { if (!this->is_evaluated ()) { @@ -2785,10 +2795,10 @@ Param_Test::test_coffe_mix ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Coffee_Mix>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Coffee_Mix>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Coffee_Mix>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Coffee_Mix>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Coffee>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Coffee>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Coffee>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Coffee>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2911,11 +2921,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_Coffee_Mix * +std::vector<Coffee> Param_Test::test_bounded_coffe_mix ( - const ::Param_Test::Bounded_Coffee_Mix & s1, - ::Param_Test::Bounded_Coffee_Mix & s2, - ::Param_Test::Bounded_Coffee_Mix_out s3) + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3) { if (!this->is_evaluated ()) { @@ -2927,10 +2937,10 @@ Param_Test::test_bounded_coffe_mix ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_Coffee_Mix>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_Coffee_Mix>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_Coffee_Mix>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_Coffee_Mix>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Coffee>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Coffee>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Coffee>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Coffee>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -2957,11 +2967,11 @@ Param_Test::test_bounded_coffe_mix ( // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::CORBA::AnySeq * +std::vector<CORBA::Any> Param_Test::test_anyseq ( - const ::CORBA::AnySeq & s1, - ::CORBA::AnySeq & s2, - ::CORBA::AnySeq_out s3) + const std::vector<CORBA::Any> & s1, + std::vector<CORBA::Any> & s2, + std::vector<CORBA::Any> & s3) { if (!this->is_evaluated ()) { @@ -2973,10 +2983,10 @@ Param_Test::test_anyseq ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::CORBA::AnySeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::AnySeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::AnySeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::AnySeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<CORBA::Any>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<CORBA::Any>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<CORBA::Any>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<CORBA::Any>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -3071,9 +3081,9 @@ Param_Test::Var_Struct::_tao_any_destructor ( ::Param_Test::Var_Struct * Param_Test::test_var_struct ( - const ::Param_Test::Var_Struct & s1, - ::Param_Test::Var_Struct & s2, - ::Param_Test::Var_Struct_out s3) + const Param_Test::Var_Struct & s1, + Param_Test::Var_Struct & s2, + Param_Test::Var_Struct_out s3) { if (!this->is_evaluated ()) { @@ -3158,9 +3168,9 @@ Param_Test::Nested_Struct::_tao_any_destructor ( ::Param_Test::Nested_Struct * Param_Test::test_nested_struct ( - const ::Param_Test::Nested_Struct & s1, - ::Param_Test::Nested_Struct & s2, - ::Param_Test::Nested_Struct_out s3) + const Param_Test::Nested_Struct & s1, + Param_Test::Nested_Struct & s2, + Param_Test::Nested_Struct_out s3) { if (!this->is_evaluated ()) { @@ -3241,9 +3251,9 @@ Param_Test::make_coffee (void) ::Coffee_ptr Param_Test::test_objref ( - ::Coffee_ptr o1, - ::Coffee_ptr & o2, - ::Coffee_out o3) + Coffee_ptr o1, + Coffee_ptr & o2, + Coffee_out o3) { if (!this->is_evaluated ()) { @@ -3287,9 +3297,9 @@ Param_Test::test_objref ( ::CORBA::TypeCode_ptr Param_Test::test_typecode ( - ::CORBA::TypeCode_ptr t1, - ::CORBA::TypeCode_ptr & t2, - ::CORBA::TypeCode_out t3) + CORBA::TypeCode_ptr t1, + CORBA::TypeCode_ptr & t2, + CORBA::TypeCode_out t3) { if (!this->is_evaluated ()) { @@ -3333,9 +3343,9 @@ Param_Test::test_typecode ( ::CORBA::Any * Param_Test::test_any ( - const ::CORBA::Any & a1, - ::CORBA::Any & a2, - ::CORBA::Any_out a3) + const CORBA::Any & a1, + CORBA::Any & a2, + CORBA::Any_out a3) { if (!this->is_evaluated ()) { @@ -3421,9 +3431,9 @@ Param_Test::Objref_Struct::_tao_any_destructor ( ::Param_Test::Objref_Struct * Param_Test::test_objref_struct ( - const ::Param_Test::Objref_Struct & t1, - ::Param_Test::Objref_Struct & t2, - ::Param_Test::Objref_Struct_out t3) + const Param_Test::Objref_Struct & t1, + Param_Test::Objref_Struct & t2, + Param_Test::Objref_Struct_out t3) { if (!this->is_evaluated ()) { @@ -3569,9 +3579,9 @@ static TAO::TypeCode::Alias<char const *, ::Param_Test::Fixed_Array_slice * Param_Test::test_fixed_array ( - const ::Param_Test::Fixed_Array l1, - ::Param_Test::Fixed_Array l2, - ::Param_Test::Fixed_Array_out l3) + const Param_Test::Fixed_Array l1, + Param_Test::Fixed_Array l2, + Param_Test::Fixed_Array_out l3) { if (!this->is_evaluated ()) { @@ -3717,9 +3727,9 @@ static TAO::TypeCode::Alias<char const *, ::Param_Test::Var_Array_slice * Param_Test::test_var_array ( - const ::Param_Test::Var_Array v1, - ::Param_Test::Var_Array v2, - ::Param_Test::Var_Array_out v3) + const Param_Test::Var_Array v1, + Param_Test::Var_Array v2, + Param_Test::Var_Array_out v3) { if (!this->is_evaluated ()) { @@ -3869,11 +3879,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::ArraySeq * +std::vector<Param_Test::Fixed_Array> Param_Test::test_array_sequence ( - const ::Param_Test::ArraySeq & s1, - ::Param_Test::ArraySeq & s2, - ::Param_Test::ArraySeq_out s3) + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3) { if (!this->is_evaluated ()) { @@ -3885,10 +3895,10 @@ Param_Test::test_array_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::ArraySeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::ArraySeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::ArraySeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::ArraySeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -4013,11 +4023,11 @@ static TAO::TypeCode::Alias<char const *, // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 -::Param_Test::Bounded_ArraySeq * +std::vector<Param_Test::Fixed_Array> Param_Test::test_bounded_array_sequence ( - const ::Param_Test::Bounded_ArraySeq & s1, - ::Param_Test::Bounded_ArraySeq & s2, - ::Param_Test::Bounded_ArraySeq_out s3) + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3) { if (!this->is_evaluated ()) { @@ -4029,10 +4039,10 @@ Param_Test::test_bounded_array_sequence ( Param_Test_setup_collocation (); } - TAO::Arg_Traits< ::Param_Test::Bounded_ArraySeq>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Bounded_ArraySeq>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Bounded_ArraySeq>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Bounded_ArraySeq>::out_arg_val _tao_s3 (s3); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_val _tao_retval; + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_val _tao_s1 (s1); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_val _tao_s2 (s2); + TAO::Arg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_val _tao_s3 (s3); TAO::Argument *_the_tao_operation_signature [] = { @@ -4327,9 +4337,9 @@ _tao_tc_Param_Test_BadBoy ( ::CORBA::ULong Param_Test::test_exception ( - ::CORBA::ULong s1, - ::CORBA::ULong & s2, - ::CORBA::ULong_out s3) + CORBA::ULong s1, + CORBA::ULong & s2, + CORBA::ULong_out s3) { if (!this->is_evaluated ()) { @@ -4848,9 +4858,9 @@ static TAO::TypeCode::Union<char const *, ::Param_Test::Big_Union * Param_Test::test_big_union ( - const ::Param_Test::Big_Union & u1, - ::Param_Test::Big_Union & u2, - ::Param_Test::Big_Union_out u3) + const Param_Test::Big_Union & u1, + Param_Test::Big_Union & u2, + Param_Test::Big_Union_out u3) { if (!this->is_evaluated ()) { @@ -5024,9 +5034,9 @@ static TAO::TypeCode::Union<char const *, ::Param_Test::Small_Union Param_Test::test_small_union ( - const ::Param_Test::Small_Union & u1, - ::Param_Test::Small_Union & u2, - ::Param_Test::Small_Union_out u3) + const Param_Test::Small_Union & u1, + Param_Test::Small_Union & u2, + Param_Test::Small_Union_out u3) { if (!this->is_evaluated ()) { @@ -5155,9 +5165,9 @@ Param_Test::level8::_tao_any_destructor ( ::CORBA::Any * Param_Test::test_complex_any ( - const ::CORBA::Any & ca1, - ::CORBA::Any & ca2, - ::CORBA::Any_out ca3) + const CORBA::Any & ca1, + CORBA::Any & ca2, + CORBA::Any_out ca3) { if (!this->is_evaluated ()) { @@ -5326,9 +5336,9 @@ Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::~_tao_seq_P ::Param_Test::Recursive_Struct * Param_Test::test_recursive_struct ( - const ::Param_Test::Recursive_Struct & rs1, - ::Param_Test::Recursive_Struct & rs2, - ::Param_Test::Recursive_Struct_out rs3) + const Param_Test::Recursive_Struct & rs1, + Param_Test::Recursive_Struct & rs2, + Param_Test::Recursive_Struct_out rs3) { if (!this->is_evaluated ()) { @@ -5833,9 +5843,9 @@ static TAO::TypeCode::Recursive_Type< ::Param_Test::Recursive_Union * Param_Test::test_recursive_union ( - const ::Param_Test::Recursive_Union & ru1, - ::Param_Test::Recursive_Union & ru2, - ::Param_Test::Recursive_Union_out ru3) + const Param_Test::Recursive_Union & ru1, + Param_Test::Recursive_Union & ru2, + Param_Test::Recursive_Union_out ru3) { if (!this->is_evaluated ()) { @@ -5995,9 +6005,9 @@ static TAO::TypeCode::Alias<char const *, ::Param_Test::Multdim_Array_slice * Param_Test::test_multdim_array ( - const ::Param_Test::Multdim_Array m1, - ::Param_Test::Multdim_Array m2, - ::Param_Test::Multdim_Array_out m3) + const Param_Test::Multdim_Array m1, + Param_Test::Multdim_Array m2, + Param_Test::Multdim_Array_out m3) { if (!this->is_evaluated ()) { @@ -6588,613 +6598,271 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::PathSpec &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::PathSpec *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::PathSpec>::insert_copy ( - _tao_any, - Param_Test::PathSpec::_tao_any_destructor, - Param_Test::_tc_PathSpec, - _tao_elem - ); -} - -// Non-copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::PathSpec *_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Param_Test::Step> &_tao_elem { - TAO::Any_Dual_Impl_T<Param_Test::PathSpec>::insert ( - _tao_any, - Param_Test::PathSpec::_tao_any_destructor, - Param_Test::_tc_PathSpec, - _tao_elem - ); + TAO::insert_value_vector<Param_Test::Step> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::PathSpec *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::PathSpec *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::PathSpec *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Param_Test::Step> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::PathSpec>::extract ( - _tao_any, - Param_Test::PathSpec::_tao_any_destructor, - Param_Test::_tc_PathSpec, - _tao_elem - ); + TAO::extract_value_vector<Param_Test::Step> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Short_Seq &_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<CORBA::Short> &_tao_elem { - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_Short_Seq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Short_Seq>::insert_copy ( - _tao_any, - Param_Test::Bounded_Short_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Short_Seq, - _tao_elem - ); + TAO::insert_value_vector<CORBA::Short> ( + _tao_any, + _tao_elem); } -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_Short_Seq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Short_Seq>::insert ( - _tao_any, - Param_Test::Bounded_Short_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Short_Seq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_Short_Seq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_Short_Seq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Short_Seq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<CORBA::Short> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Short_Seq>::extract ( - _tao_any, - Param_Test::Bounded_Short_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Short_Seq, - _tao_elem - ); + TAO::extract_value_vector<CORBA::Short> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Long_Seq &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_Long_Seq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Long_Seq>::insert_copy ( - _tao_any, - Param_Test::Bounded_Long_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Long_Seq, - _tao_elem - ); -} - -// Non-copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_Long_Seq *_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<CORBA::Long> &_tao_elem { - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Long_Seq>::insert ( - _tao_any, - Param_Test::Bounded_Long_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Long_Seq, - _tao_elem - ); + TAO::insert_value_vector<CORBA::Long> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_Long_Seq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_Long_Seq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Long_Seq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<CORBA::Long> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Long_Seq>::extract ( - _tao_any, - Param_Test::Bounded_Long_Seq::_tao_any_destructor, - Param_Test::_tc_Bounded_Long_Seq, - _tao_elem - ); + TAO::extract_value_vector<CORBA::Long> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_StrSeq &_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<char *> &_tao_elem { - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_StrSeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StrSeq>::insert_copy ( - _tao_any, - Param_Test::Bounded_StrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StrSeq, - _tao_elem - ); + TAO::insert_value_vector<char *> ( + _tao_any, + _tao_elem); } -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_StrSeq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StrSeq>::insert ( - _tao_any, - Param_Test::Bounded_StrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StrSeq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_StrSeq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_StrSeq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_StrSeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<char *> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StrSeq>::extract ( - _tao_any, - Param_Test::Bounded_StrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StrSeq, - _tao_elem - ); + TAO::extract_value_vector<char *> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_WStrSeq &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_WStrSeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_WStrSeq>::insert_copy ( - _tao_any, - Param_Test::Bounded_WStrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_WStrSeq, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_WStrSeq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Bounded_WStrSeq>::insert ( - _tao_any, - Param_Test::Bounded_WStrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_WStrSeq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_WStrSeq *&_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<CORBA::WChar *> &_tao_elem { - return _tao_any >>= const_cast< - const Param_Test::Bounded_WStrSeq *&> ( - _tao_elem - ); + TAO::insert_value_vector<CORBA::WChar *> ( + _tao_any, + _tao_elem); } -// Extraction to const pointer. ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_WStrSeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<CORBA::WChar *> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_WStrSeq>::extract ( - _tao_any, - Param_Test::Bounded_WStrSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_WStrSeq, - _tao_elem - ); + TAO::extract_value_vector<CORBA::WChar *> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::StructSeq &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::StructSeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::StructSeq>::insert_copy ( - _tao_any, - Param_Test::StructSeq::_tao_any_destructor, - Param_Test::_tc_StructSeq, - _tao_elem - ); -} - -// Non-copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::StructSeq *_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Param_Test::Fixed_Struct> &_tao_elem { - TAO::Any_Dual_Impl_T<Param_Test::StructSeq>::insert ( - _tao_any, - Param_Test::StructSeq::_tao_any_destructor, - Param_Test::_tc_StructSeq, - _tao_elem - ); + TAO::insert_value_vector<Param_Test::Fixed_Struct> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::StructSeq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::StructSeq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::StructSeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Param_Test::Fixed_Struct> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::StructSeq>::extract ( - _tao_any, - Param_Test::StructSeq::_tao_any_destructor, - Param_Test::_tc_StructSeq, - _tao_elem - ); + TAO::extract_value_vector<Param_Test::Fixed_Struct> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_StructSeq &_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Param_Test::Fixed_Struct> &_tao_elem { - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_StructSeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StructSeq>::insert_copy ( - _tao_any, - Param_Test::Bounded_StructSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StructSeq, - _tao_elem - ); + TAO::insert_value_vector<Param_Test::Fixed_Struct> ( + _tao_any, + _tao_elem); } -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_StructSeq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StructSeq>::insert ( - _tao_any, - Param_Test::Bounded_StructSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StructSeq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_StructSeq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_StructSeq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_StructSeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Param_Test::Fixed_Struct> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_StructSeq>::extract ( - _tao_any, - Param_Test::Bounded_StructSeq::_tao_any_destructor, - Param_Test::_tc_Bounded_StructSeq, - _tao_elem - ); + TAO::extract_value_vector<Param_Test::Fixed_Struct> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Coffee_Mix &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Coffee_Mix *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Coffee_Mix>::insert_copy ( - _tao_any, - Param_Test::Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Coffee_Mix, - _tao_elem - ); -} - -// Non-copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Coffee_Mix *_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Coffee> &_tao_elem { - TAO::Any_Dual_Impl_T<Param_Test::Coffee_Mix>::insert ( - _tao_any, - Param_Test::Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Coffee_Mix, - _tao_elem - ); + TAO::insert_objref_vector<Coffee_ptr> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Coffee_Mix *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Coffee_Mix *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Coffee_Mix *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Coffee> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Coffee_Mix>::extract ( - _tao_any, - Param_Test::Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Coffee_Mix, - _tao_elem - ); + TAO::extract_objref_vector<Coffee_ptr> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Coffee_Mix &_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Coffee> &_tao_elem { - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_Coffee_Mix *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Coffee_Mix>::insert_copy ( - _tao_any, - Param_Test::Bounded_Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Bounded_Coffee_Mix, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_Coffee_Mix *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Coffee_Mix>::insert ( - _tao_any, - Param_Test::Bounded_Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Bounded_Coffee_Mix, - _tao_elem - ); + TAO::insert_objref_vector<Coffee_ptr> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_Coffee_Mix *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_Coffee_Mix *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Coffee_Mix *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Coffee> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_Coffee_Mix>::extract ( - _tao_any, - Param_Test::Bounded_Coffee_Mix::_tao_any_destructor, - Param_Test::_tc_Bounded_Coffee_Mix, - _tao_elem - ); + TAO::extract_objref_vector<Coffee_ptr> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL @@ -7489,137 +7157,61 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::ArraySeq &_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Param_Test::Fixed_Array> &_tao_elem { - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::ArraySeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::ArraySeq>::insert_copy ( - _tao_any, - Param_Test::ArraySeq::_tao_any_destructor, - Param_Test::_tc_ArraySeq, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::ArraySeq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::ArraySeq>::insert ( - _tao_any, - Param_Test::ArraySeq::_tao_any_destructor, - Param_Test::_tc_ArraySeq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::ArraySeq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::ArraySeq *&> ( - _tao_elem - ); + TAO::insert_array_vector<Param_Test::Fixed_Array_forany> ( + _tao_any, + _tao_elem); } -// Extraction to const pointer. ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::ArraySeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Param_Test::Fixed_Array> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::ArraySeq>::extract ( - _tao_any, - Param_Test::ArraySeq::_tao_any_destructor, - Param_Test::_tc_ArraySeq, - _tao_elem - ); + TAO::extract_array_vector<Param_Test::Fixed_Array_forany> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:54 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -// Copying insertion. void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_ArraySeq &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Bounded_ArraySeq *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Bounded_ArraySeq>::insert_copy ( - _tao_any, - Param_Test::Bounded_ArraySeq::_tao_any_destructor, - Param_Test::_tc_Bounded_ArraySeq, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Bounded_ArraySeq *_tao_elem - ) + ::CORBA::Any &_tao_any, + const std::vector<Param_Test::Fixed_Array> &_tao_elem { - TAO::Any_Dual_Impl_T<Param_Test::Bounded_ArraySeq>::insert ( - _tao_any, - Param_Test::Bounded_ArraySeq::_tao_any_destructor, - Param_Test::_tc_Bounded_ArraySeq, - _tao_elem - ); + TAO::insert_array_vector<Param_Test::Fixed_Array_forany> ( + _tao_any, + _tao_elem); } -// Extraction to non-const pointer (deprecated). ::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Bounded_ArraySeq *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_ArraySeq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_ArraySeq *&_tao_elem - ) + const ::CORBA::Any &_tao_any, + std::vector<Param_Test::Fixed_Array> &_tao_elem { return - TAO::Any_Dual_Impl_T<Param_Test::Bounded_ArraySeq>::extract ( - _tao_any, - Param_Test::Bounded_ArraySeq::_tao_any_destructor, - Param_Test::_tc_Bounded_ArraySeq, - _tao_elem - ); + TAO::extract_array_vector<Param_Test::Fixed_Array_forany> ( + _tao_any, + _tao_elem); } + TAO_END_VERSIONED_NAMESPACE_DECL @@ -8354,40 +7946,6 @@ TAO_END_VERSIONED_NAMESPACE_DECL -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &, - const std::string) -{ -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &, - std::string &) -{ - return true; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &, - const Param_Test::UB_Long_Seq) -{ -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &, - Param_Test::UB_Long_Seq &) -{ - return true; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 @@ -8564,1468 +8122,1719 @@ TAO_END_VERSIONED_NAMESPACE_DECL TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::PathSpec &_tao_sequence - ) + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Step &_tao_vector) { - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::PathSpec &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + std::vector<Param_Test::Step &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Step * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_PathSpec_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_PathSpec_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( + ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_Short_Seq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_Short_Seq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + const std:;vector<CORBA::Short &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<CORBA::Short &_tao_vector) + { + ::CORBA::ULong length = 0UL; + CORBA::Short tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_Long_Seq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_Long_Seq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<CORBA::Long &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<CORBA::Long &_tao_vector) + { + ::CORBA::ULong length = 0UL; + CORBA::Long tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_StrSeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_StrSeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<char * &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<char * &_tao_vector) + { + ::CORBA::ULong length = 0UL; + char * * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_StrSeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_WStrSeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_WStrSeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<CORBA::WChar * &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<CORBA::WChar * &_tao_vector) + { + ::CORBA::ULong length = 0UL; + CORBA::WChar * * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_StructSeq_CPP_ -#define _TAO_CDR_OP_Param_Test_StructSeq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_StructSeq_CPP_ + #define _TAO_CDR_OP_Param_Test_StructSeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::StructSeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::StructSeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Fixed_Struct &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Fixed_Struct &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Fixed_Struct tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_StructSeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_StructSeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_StructSeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_StructSeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Fixed_Struct &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Fixed_Struct &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Fixed_Struct tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ -#define _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_StructSeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ + #define _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Coffee_Mix &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Coffee_Mix &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Coffee &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Coffee &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Coffee * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Coffee_Mix_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_Coffee_Mix &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_Coffee_Mix &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Coffee &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Coffee &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Coffee * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + #endif /* _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Var_Struct &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.dbl) && - (strm << _tao_aggregate.dummy1.in ()) && - (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.boole)) && - (strm << _tao_aggregate.dummy2.in ()) && - (strm << _tao_aggregate.shrt) && - (strm << _tao_aggregate.seq); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Var_Struct &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.dbl) && - (strm >> _tao_aggregate.dummy1.out ()) && - (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.boole)) && - (strm >> _tao_aggregate.dummy2.out ()) && - (strm >> _tao_aggregate.shrt) && - (strm >> _tao_aggregate.seq); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Var_Struct &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.dbl) && + (strm << _tao_aggregate.dummy1.in ()) && + (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.boole)) && + (strm << _tao_aggregate.dummy2.in ()) && + (strm << _tao_aggregate.shrt) && + (strm << _tao_aggregate.seq); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Var_Struct &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.dbl) && + (strm >> _tao_aggregate.dummy1.out ()) && + (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.boole)) && + (strm >> _tao_aggregate.dummy2.out ()) && + (strm >> _tao_aggregate.shrt) && + (strm >> _tao_aggregate.seq); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Nested_Struct &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.vs); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Nested_Struct &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.vs); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Nested_Struct &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.vs); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Nested_Struct &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.vs); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Objref_Struct &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.x) && - ::CORBA::Object::marshal ( - _tao_aggregate.y.in (), - strm - ); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Objref_Struct &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.x) && - (strm >> _tao_aggregate.y.out ()); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Fixed_Array_forany &_tao_array - ) -{ - return - strm.write_long_array ( - reinterpret_cast <const ACE_CDR::Long *> (_tao_array.in ()), - 10 - ); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Fixed_Array_forany &_tao_array - ) -{ - return - strm.read_long_array ( - reinterpret_cast <ACE_CDR::Long *> (_tao_array.out ()), - 10 - ); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Objref_Struct &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.x) && + ::CORBA::Object::marshal ( + _tao_aggregate.y.in (), + strm + ); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Objref_Struct &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.x) && + (strm >> _tao_aggregate.y.out ()); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Var_Array_forany &_tao_array - ) -{ - CORBA::Boolean _tao_marshal_flag = true; - - for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) - { - _tao_marshal_flag = (strm << _tao_array [i0].in ()); - } - - return _tao_marshal_flag; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Var_Array_forany &_tao_array - ) -{ - CORBA::Boolean _tao_marshal_flag = true; - - for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) - { - _tao_marshal_flag = (strm >> _tao_array [i0].out ()); - } - - return _tao_marshal_flag; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Fixed_Array_forany &_tao_array + ) + { + return + strm.write_long_array ( + reinterpret_cast <const ACE_CDR::Long *> (_tao_array.in ()), + 10 + ); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Fixed_Array_forany &_tao_array + ) + { + return + strm.read_long_array ( + reinterpret_cast <ACE_CDR::Long *> (_tao_array.out ()), + 10 + ); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ -#define _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::ArraySeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::ArraySeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Var_Array_forany &_tao_array + ) + { + CORBA::Boolean _tao_marshal_flag = true; + + for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) + { + _tao_marshal_flag = (strm << _tao_array [i0].in ()); + } + + return _tao_marshal_flag; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Var_Array_forany &_tao_array + ) + { + CORBA::Boolean _tao_marshal_flag = true; + + for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) + { + _tao_marshal_flag = (strm >> _tao_array [i0].out ()); + } + + return _tao_marshal_flag; + } + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ -#define _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ + #define _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Bounded_ArraySeq &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Bounded_ArraySeq &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Fixed_Array &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Fixed_Array &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Fixed_Array tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/cdr_op_cs.cpp:60 + #endif /* _TAO_CDR_OP_Param_Test_ArraySeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ + #define _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Ooops &_tao_aggregate - ) -{ - // First marshal the repository ID. - if (strm << _tao_aggregate._rep_id ()) - { - // Now marshal the members (if any). - return ( - (strm << _tao_aggregate.reason.in ()) && - (strm << _tao_aggregate.input) - ); - } - else - { - return false; - } -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Ooops &_tao_aggregate - ) -{ - // Demarshal the members. - return ( - (strm >> _tao_aggregate.reason.out ()) && - (strm >> _tao_aggregate.input) - ); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Fixed_Array &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Fixed_Array &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Fixed_Array tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/cdr_op_cs.cpp:60 + #endif /* _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_exception/cdr_op_cs.cpp:60 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::BadBoy &_tao_aggregate - ) -{ - // Marshal the repository ID. - return (strm << _tao_aggregate._rep_id ()); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &, - Param_Test::BadBoy& - ) -{ - return true; -} - + + + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Ooops &_tao_aggregate + ) + { + // First marshal the repository ID. + if (strm << _tao_aggregate._rep_id ()) + { + // Now marshal the members (if any). + return ( + (strm << _tao_aggregate.reason.in ()) && + (strm << _tao_aggregate.input) + ); + } + else + { + return false; + } + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Ooops &_tao_aggregate + ) + { + // Demarshal the members. + return ( + (strm >> _tao_aggregate.reason.out ()) && + (strm >> _tao_aggregate.input) + ); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_exception/cdr_op_cs.cpp:60 TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Big_Union::_another_array_forany &_tao_array - ) -{ - return - strm.write_short_array ( - reinterpret_cast <const ACE_CDR::Short *> (_tao_array.in ()), - 32 - ); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Big_Union::_another_array_forany &_tao_array - ) -{ - return - strm.read_short_array ( - reinterpret_cast <ACE_CDR::Short *> (_tao_array.out ()), - 32 - ); -} - + + + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::BadBoy &_tao_aggregate + ) + { + // Marshal the repository ID. + return (strm << _tao_aggregate._rep_id ()); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &, + Param_Test::BadBoy& + ) + { + return true; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Big_Union &_tao_union - ) -{ - if ( !(strm << _tao_union._d ()) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_union._d ()) - { - case 0: - { - Param_Test::Fixed_Array_forany _tao_union_tmp ( - _tao_union.the_array () - ); - result = strm << _tao_union_tmp; - } - break; - case 1: - { - result = - TAO::Objref_Traits<Coffee>::marshal ( - _tao_union.the_interface (), - strm - ); - } - break; - case 2: - { - result = strm << _tao_union.the_long (); - } - break; - case 3: - { - Param_Test::Big_Union::_another_array_forany _tao_union_tmp ( - _tao_union.another_array () - ); - result = strm << _tao_union_tmp; - } - break; - case 4: - { - result = strm << _tao_union.the_string (); - } - break; - case 5: - { - result = strm << _tao_union.the_sequence (); - } - break; - case 6: - { - result = strm << _tao_union.the_any (); - } - break; - case 7: - { - result = strm << ::ACE_OutputCDR::from_octet (_tao_union.the_octet ()); - } - break; - case 8: - { - result = strm << ::ACE_OutputCDR::from_char (_tao_union.the_char ()); - } - break; - case 9: - { - result = strm << ::ACE_OutputCDR::from_boolean (_tao_union.the_boolean ()); - } - break; - case 10: - { - result = strm << _tao_union.the_var_struct (); - } - break; - case 11: - { - result = strm << _tao_union.the_fixed_struct (); - } - break; - default: - break; - } - - return result; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Big_Union &_tao_union - ) -{ - CORBA::Short _tao_discriminant; - if ( !(strm >> _tao_discriminant) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_discriminant) - { - case 0: - { - Param_Test::Fixed_Array _tao_union_tmp; - Param_Test::Fixed_Array_forany _tao_union_helper ( - _tao_union_tmp - ); - result = strm >> _tao_union_helper; - - if (result) - { - _tao_union.the_array (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 1: - { - Coffee_var _tao_union_tmp; - result = strm >> _tao_union_tmp.inout (); - - if (result) - { - _tao_union.the_interface (_tao_union_tmp.in ()); - _tao_union._d (_tao_discriminant); - } - } - break; - case 2: - { - CORBA::Long _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_long (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 3: - { - Param_Test::Big_Union::_another_array _tao_union_tmp; - Param_Test::Big_Union::_another_array_forany _tao_union_helper ( - _tao_union_tmp - ); - result = strm >> _tao_union_helper; - - if (result) - { - _tao_union.another_array (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 4: - { - ::CORBA::String_var _tao_union_tmp; - result = strm >> _tao_union_tmp.out (); - - if (result) - { - _tao_union.the_string (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 5: - { - CORBA::ShortSeq _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_sequence (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 6: - { - CORBA::Any _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_any (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 7: - { - ::CORBA::Octet _tao_union_tmp; - ::ACE_InputCDR::to_octet _tao_union_helper (_tao_union_tmp); - result = strm >> _tao_union_helper; - - if (result) - { - _tao_union.the_octet (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 8: - { - ::CORBA::Char _tao_union_tmp; - ::ACE_InputCDR::to_char _tao_union_helper (_tao_union_tmp); - result = strm >> _tao_union_helper; - - if (result) - { - _tao_union.the_char (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 9: - { - ::CORBA::Boolean _tao_union_tmp; - ::ACE_InputCDR::to_boolean _tao_union_helper (_tao_union_tmp); - result = strm >> _tao_union_helper; - - if (result) - { - _tao_union.the_boolean (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 10: - { - Param_Test::Var_Struct _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_var_struct (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 11: - { - Param_Test::Fixed_Struct _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_fixed_struct (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - default: - _tao_union._d (_tao_discriminant); - break; - } - - return result; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Big_Union::_another_array_forany &_tao_array + ) + { + return + strm.write_short_array ( + reinterpret_cast <const ACE_CDR::Short *> (_tao_array.in ()), + 32 + ); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Big_Union::_another_array_forany &_tao_array + ) + { + return + strm.read_short_array ( + reinterpret_cast <ACE_CDR::Short *> (_tao_array.out ()), + 32 + ); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_enum/cdr_op_cs.cpp:51 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< (TAO_OutputCDR &strm, Param_Test::Small_Union_Switch _tao_enumerator) -{ - return strm << static_cast< ::CORBA::ULong> (_tao_enumerator); -} - -::CORBA::Boolean operator>> (TAO_InputCDR &strm, Param_Test::Small_Union_Switch & _tao_enumerator) -{ - ::CORBA::ULong _tao_temp = 0; - ::CORBA::Boolean const _tao_success = strm >> _tao_temp; - - if (_tao_success) - { - _tao_enumerator = static_cast<Param_Test::Small_Union_Switch> (_tao_temp); - } - - return _tao_success; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Big_Union &_tao_union + ) + { + if ( !(strm << _tao_union._d ()) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_union._d ()) + { + case 0: + { + Param_Test::Fixed_Array_forany _tao_union_tmp ( + _tao_union.the_array () + ); + result = strm << _tao_union_tmp; + } + break; + case 1: + { + result = + TAO::Objref_Traits<Coffee>::marshal ( + _tao_union.the_interface (), + strm + ); + } + break; + case 2: + { + result = strm << _tao_union.the_long (); + } + break; + case 3: + { + Param_Test::Big_Union::_another_array_forany _tao_union_tmp ( + _tao_union.another_array () + ); + result = strm << _tao_union_tmp; + } + break; + case 4: + { + result = strm << _tao_union.the_string (); + } + break; + case 5: + { + result = strm << _tao_union.the_sequence (); + } + break; + case 6: + { + result = strm << _tao_union.the_any (); + } + break; + case 7: + { + result = strm << ::ACE_OutputCDR::from_octet (_tao_union.the_octet ()); + } + break; + case 8: + { + result = strm << ::ACE_OutputCDR::from_char (_tao_union.the_char ()); + } + break; + case 9: + { + result = strm << ::ACE_OutputCDR::from_boolean (_tao_union.the_boolean ()); + } + break; + case 10: + { + result = strm << _tao_union.the_var_struct (); + } + break; + case 11: + { + result = strm << _tao_union.the_fixed_struct (); + } + break; + default: + break; + } + + return result; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Big_Union &_tao_union + ) + { + CORBA::Short _tao_discriminant; + if ( !(strm >> _tao_discriminant) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_discriminant) + { + case 0: + { + Param_Test::Fixed_Array _tao_union_tmp; + Param_Test::Fixed_Array_forany _tao_union_helper ( + _tao_union_tmp + ); + result = strm >> _tao_union_helper; + + if (result) + { + _tao_union.the_array (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 1: + { + Coffee_var _tao_union_tmp; + result = strm >> _tao_union_tmp.inout (); + + if (result) + { + _tao_union.the_interface (_tao_union_tmp.in ()); + _tao_union._d (_tao_discriminant); + } + } + break; + case 2: + { + CORBA::Long _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_long (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 3: + { + Param_Test::Big_Union::_another_array _tao_union_tmp; + Param_Test::Big_Union::_another_array_forany _tao_union_helper ( + _tao_union_tmp + ); + result = strm >> _tao_union_helper; + + if (result) + { + _tao_union.another_array (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 4: + { + ::CORBA::String_var _tao_union_tmp; + result = strm >> _tao_union_tmp.out (); + + if (result) + { + _tao_union.the_string (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 5: + { + CORBA::ShortSeq _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_sequence (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 6: + { + CORBA::Any _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_any (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 7: + { + ::CORBA::Octet _tao_union_tmp; + ::ACE_InputCDR::to_octet _tao_union_helper (_tao_union_tmp); + result = strm >> _tao_union_helper; + + if (result) + { + _tao_union.the_octet (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 8: + { + ::CORBA::Char _tao_union_tmp; + ::ACE_InputCDR::to_char _tao_union_helper (_tao_union_tmp); + result = strm >> _tao_union_helper; + + if (result) + { + _tao_union.the_char (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 9: + { + ::CORBA::Boolean _tao_union_tmp; + ::ACE_InputCDR::to_boolean _tao_union_helper (_tao_union_tmp); + result = strm >> _tao_union_helper; + + if (result) + { + _tao_union.the_boolean (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 10: + { + Param_Test::Var_Struct _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_var_struct (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 11: + { + Param_Test::Fixed_Struct _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_fixed_struct (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + default: + _tao_union._d (_tao_discriminant); + break; + } + + return result; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_enum/cdr_op_cs.cpp:51 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Small_Union &_tao_union - ) -{ - if ( !(strm << _tao_union._d ()) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_union._d ()) - { - case Param_Test::A_LONG: - { - result = strm << _tao_union.the_long (); - } - break; - case Param_Test::A_SHORT: - { - result = strm << _tao_union.the_short (); - } - break; - } - - return result; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Small_Union &_tao_union - ) -{ - Param_Test::Small_Union_Switch _tao_discriminant; - if ( !(strm >> _tao_discriminant) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_discriminant) - { - case Param_Test::A_LONG: - { - CORBA::Long _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_long (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case Param_Test::A_SHORT: - { - CORBA::Short _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.the_short (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - } - - return result; -} - + ::CORBA::Boolean operator<< (TAO_OutputCDR &strm, Param_Test::Small_Union_Switch _tao_enumerator) + { + return strm << static_cast< ::CORBA::ULong> (_tao_enumerator); + } + + ::CORBA::Boolean operator>> (TAO_InputCDR &strm, Param_Test::Small_Union_Switch & _tao_enumerator) + { + ::CORBA::ULong _tao_temp = 0; + ::CORBA::Boolean const _tao_success = strm >> _tao_temp; + + if (_tao_success) + { + _tao_enumerator = static_cast<Param_Test::Small_Union_Switch> (_tao_temp); + } + + return _tao_success; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::level4 &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.level5_string.in ()) && - (strm << _tao_aggregate.level5_any); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::level4 &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.level5_string.out ()) && - (strm >> _tao_aggregate.level5_any); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Small_Union &_tao_union + ) + { + if ( !(strm << _tao_union._d ()) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_union._d ()) + { + case Param_Test::A_LONG: + { + result = strm << _tao_union.the_long (); + } + break; + case Param_Test::A_SHORT: + { + result = strm << _tao_union.the_short (); + } + break; + } + + return result; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Small_Union &_tao_union + ) + { + Param_Test::Small_Union_Switch _tao_discriminant; + if ( !(strm >> _tao_discriminant) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_discriminant) + { + case Param_Test::A_LONG: + { + CORBA::Long _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_long (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case Param_Test::A_SHORT: + { + CORBA::Short _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.the_short (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + } + + return result; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::level8 &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.level9_string.in ()) && - (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.level9_boolean)) && - (strm << _tao_aggregate.level9_short); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::level8 &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.level9_string.out ()) && - (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.level9_boolean)) && - (strm >> _tao_aggregate.level9_short); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::level4 &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.level5_string.in ()) && + (strm << _tao_aggregate.level5_any); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::level4 &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.level5_string.out ()) && + (strm >> _tao_aggregate.level5_any); + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ -#define _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_ &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_ &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::level8 &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.level9_string.in ()) && + (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.level9_boolean)) && + (strm << _tao_aggregate.level9_short); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::level8 &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.level9_string.out ()) && + (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.level9_boolean)) && + (strm >> _tao_aggregate.level9_short); + } + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ + #define _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Recursive_Struct &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.x) && - (strm << _tao_aggregate.children); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Recursive_Struct &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.x) && - (strm >> _tao_aggregate.children); -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Recursive_Struct &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Recursive_Struct &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Recursive_Struct * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ -#define _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Recursive_Struct &_tao_aggregate + ) + { + return + (strm << _tao_aggregate.x) && + (strm << _tao_aggregate.children); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Recursive_Struct &_tao_aggregate + ) + { + return + (strm >> _tao_aggregate.x) && + (strm >> _tao_aggregate.children); + } + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ + #define _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::nested_rec_union &_tao_union - ) -{ - if ( !(strm << _tao_union._d ()) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_union._d ()) - { - case 0: - { - result = strm << _tao_union.value (); - } - break; - case 1: - { - result = strm << _tao_union.nested_rec_member (); - } - break; - default: - break; - } - - return result; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::nested_rec_union &_tao_union - ) -{ - CORBA::Short _tao_discriminant; - if ( !(strm >> _tao_discriminant) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_discriminant) - { - case 0: - { - CORBA::Long _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.value (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 1: - { - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.nested_rec_member (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - default: - _tao_union._d (_tao_discriminant); - break; - } - - return result; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::nested_rec_union &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::nested_rec_union &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::nested_rec_union * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 -#if !defined _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ -#define _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ - + #endif /* _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ &_tao_sequence - ) -{ - return TAO::marshal_sequence(strm, _tao_sequence); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ &_tao_sequence - ) -{ - return TAO::demarshal_sequence(strm, _tao_sequence); -} - - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::nested_rec_union &_tao_union + ) + { + if ( !(strm << _tao_union._d ()) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_union._d ()) + { + case 0: + { + result = strm << _tao_union.value (); + } + break; + case 1: + { + result = strm << _tao_union.nested_rec_member (); + } + break; + default: + break; + } + + return result; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::nested_rec_union &_tao_union + ) + { + CORBA::Short _tao_discriminant; + if ( !(strm >> _tao_discriminant) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_discriminant) + { + case 0: + { + CORBA::Long _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.value (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 1: + { + Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.nested_rec_member (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + default: + _tao_union._d (_tao_discriminant); + break; + } + + return result; + } + TAO_END_VERSIONED_NAMESPACE_DECL -#endif /* _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:96 + #if !defined _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ + #define _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Recursive_Union &_tao_union - ) -{ - if ( !(strm << _tao_union._d ()) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_union._d ()) - { - case 0: - { - result = strm << _tao_union.rec_member (); - } - break; - case 1: - { - result = strm << _tao_union.nested_member (); - } - break; - default: - break; - } - - return result; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Recursive_Union &_tao_union - ) -{ - CORBA::Short _tao_discriminant; - if ( !(strm >> _tao_discriminant) ) - { - return false; - } - - ::CORBA::Boolean result = true; - - switch (_tao_discriminant) - { - case 0: - { - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.rec_member (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - } - break; - case 1: - { - Param_Test::nested_rec_union _tao_union_tmp; - result = strm >> _tao_union_tmp; - - if (result) - { - _tao_union.nested_member (_tao_union_tmp); - _tao_union._d (_tao_discriminant); - } - - } - break; - default: - _tao_union._d (_tao_discriminant); - break; - } - - return result; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const std:;vector<Param_Test::Recursive_Union &_tao_vector) + { + ::CORBA::ULong length = _tao_vector.size (); + strm << length; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm << _tao_vector[i] + { + return false; + } + } + + return true; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + std::vector<Param_Test::Recursive_Union &_tao_vector) + { + ::CORBA::ULong length = 0UL; + Param_Test::Recursive_Union * tmp; + + for ( ::CORBA::ULong i = 0UL; i < length; ++i) + { + if (! strm >> tmp) + { + return false; + } + + _tao_vector[i] = tmp; + } + + return true; + } + + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 - - + #endif /* _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__CPP_ */ + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_union/cdr_op_cs.cpp:67 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::Multdim_Array_forany &_tao_array - ) -{ - CORBA::Boolean _tao_marshal_flag = true; - - for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) - { - for ( ::CORBA::ULong i1 = 0; i1 < 3 && _tao_marshal_flag; ++i1) - { - Param_Test::Fixed_Array_var tmp_var (Param_Test::Fixed_Array_dup (_tao_array[i0][i1])); - Param_Test::Fixed_Array_forany tmp (tmp_var.inout ()); - _tao_marshal_flag = (strm << tmp); - } - } - - return _tao_marshal_flag; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Multdim_Array_forany &_tao_array - ) -{ - CORBA::Boolean _tao_marshal_flag = true; - - for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) - { - for ( ::CORBA::ULong i1 = 0; i1 < 3 && _tao_marshal_flag; ++i1) - { - Param_Test::Fixed_Array_forany tmp (Param_Test::Fixed_Array_alloc ()); - _tao_marshal_flag = (strm >> tmp); - Param_Test::Fixed_Array_copy (_tao_array[i0][i1], tmp.in ()); - Param_Test::Fixed_Array_free (tmp.inout ()); - } - } - - return _tao_marshal_flag; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Recursive_Union &_tao_union + ) + { + if ( !(strm << _tao_union._d ()) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_union._d ()) + { + case 0: + { + result = strm << _tao_union.rec_member (); + } + break; + case 1: + { + result = strm << _tao_union.nested_member (); + } + break; + default: + break; + } + + return result; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Recursive_Union &_tao_union + ) + { + CORBA::Short _tao_discriminant; + if ( !(strm >> _tao_discriminant) ) + { + return false; + } + + ::CORBA::Boolean result = true; + + switch (_tao_discriminant) + { + case 0: + { + Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.rec_member (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + } + break; + case 1: + { + Param_Test::nested_rec_union _tao_union_tmp; + result = strm >> _tao_union_tmp; + + if (result) + { + _tao_union.nested_member (_tao_union_tmp); + _tao_union._d (_tao_discriminant); + } + + } + break; + default: + _tao_union._d (_tao_discriminant); + break; + } + + return result; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/cdr_op_cs.cpp:63 - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_array/cdr_op_cs.cpp:178 + + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test_ptr _tao_objref) -{ - ::CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test_ptr &_tao_objref) -{ - ::CORBA::Object_var obj; - - if (!(strm >> obj.inout ())) - { - return false; - } - - typedef ::Param_Test RHS_SCOPED_NAME; - - // Narrow to the right type. - _tao_objref = - TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( - obj.in (), - _TAO_Param_Test_Proxy_Broker_Factory_function_pointer - ); - - return true; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test::Multdim_Array_forany &_tao_array + ) + { + CORBA::Boolean _tao_marshal_flag = true; + + for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) + { + for ( ::CORBA::ULong i1 = 0; i1 < 3 && _tao_marshal_flag; ++i1) + { + Param_Test::Fixed_Array_var tmp_var (Param_Test::Fixed_Array_dup (_tao_array[i0][i1])); + Param_Test::Fixed_Array_forany tmp (tmp_var.inout ()); + _tao_marshal_flag = (strm << tmp); + } + } + + return _tao_marshal_flag; + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test::Multdim_Array_forany &_tao_array + ) + { + CORBA::Boolean _tao_marshal_flag = true; + + for ( ::CORBA::ULong i0 = 0; i0 < 5 && _tao_marshal_flag; ++i0) + { + for ( ::CORBA::ULong i1 = 0; i1 < 3 && _tao_marshal_flag; ++i1) + { + Param_Test::Fixed_Array_forany tmp (Param_Test::Fixed_Array_alloc ()); + _tao_marshal_flag = (strm >> tmp); + Param_Test::Fixed_Array_copy (_tao_array[i0][i1], tmp.in ()); + Param_Test::Fixed_Array_free (tmp.inout ()); + } + } + + return _tao_marshal_flag; + } + TAO_END_VERSIONED_NAMESPACE_DECL - - + + + // TAO_IDL - Generated from + // w:\tao\tao_idl\be\be_visitor_interface/cdr_op_cs.cpp:63 + TAO_BEGIN_VERSIONED_NAMESPACE_DECL -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::string &_tao_string) -{ - return strm << _tao_string.c_str (); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::string &_tao_string) -{ - char *buf = 0; - strm >> buf; - _tao_string.assign (buf); - ACE::strdelete (buf); - return true; -} - + ::CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const Param_Test_ptr _tao_objref) + { + ::CORBA::Object_ptr _tao_corba_obj = _tao_objref; + return (strm << _tao_corba_obj); + } + + ::CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + Param_Test_ptr &_tao_objref) + { + ::CORBA::Object_var obj; + + if (!(strm >> obj.inout ())) + { + return false; + } + + typedef ::Param_Test RHS_SCOPED_NAME; + + // Narrow to the right type. + _tao_objref = + TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( + obj.in (), + _TAO_Param_Test_Proxy_Broker_Factory_function_pointer + ); + + return true; + } + TAO_END_VERSIONED_NAMESPACE_DECL -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const Param_Test::UB_Long_Seq &_tao_vector) -{ - ::CORBA::ULong length = _tao_vector.size (); - strm << length; - - for ( ::CORBA::ULong i = 0UL; i < length; ++i) - { - strm << _tao_vector[i]; - } - - return true; -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::UB_Long_Seq &_tao_vector) -{ - ::CORBA::ULong length = 0UL; - ::CORBA::ULong tmp = 0UL; - - for ( ::CORBA::ULong i = 0UL; i < length; ++i) - { - strm >> tmp; - _tao_vector[i] = tmp; - } - - return true; -} - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL + diff --git a/modules/TAO/tests/Param_Test/param_testC.h b/modules/TAO/tests/Param_Test/param_testC.h index e760afdcf76..ce2ccbc1611 100644 --- a/modules/TAO/tests/Param_Test/param_testC.h +++ b/modules/TAO/tests/Param_Test/param_testC.h @@ -226,7 +226,7 @@ public: virtual void description ( - const ::Coffee::Desc & description); + const Coffee::Desc & description); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:209 @@ -325,18 +325,18 @@ public: virtual ::CORBA::Short test_short ( - ::CORBA::Short s1, - ::CORBA::Short & s2, - ::CORBA::Short_out s3); + CORBA::Short s1, + CORBA::Short & s2, + CORBA::Short_out s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 virtual ::CORBA::ULongLong test_ulonglong ( - ::CORBA::ULongLong s1, - ::CORBA::ULongLong & s2, - ::CORBA::ULongLong_out s3); + CORBA::ULongLong s1, + CORBA::ULongLong & s2, + CORBA::ULongLong_out s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 @@ -441,9 +441,9 @@ public: virtual ::Param_Test::Fixed_Struct test_fixed_struct ( - const ::Param_Test::Fixed_Struct & s1, - ::Param_Test::Fixed_Struct & s2, - ::Param_Test::Fixed_Struct_out s3); + const Param_Test::Fixed_Struct & s1, + Param_Test::Fixed_Struct & s2, + Param_Test::Fixed_Struct_out s3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -568,20 +568,20 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::PathSpec * + virtual std::vector<Param_Test::Step> test_unbounded_struct_sequence ( - const ::Param_Test::PathSpec & s1, - ::Param_Test::PathSpec & s2, - ::Param_Test::PathSpec_out s3); + const std::vector<Param_Test::Step> & s1, + std::vector<Param_Test::Step> & s2, + std::vector<Param_Test::Step> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::CORBA::ShortSeq * + virtual std::vector<CORBA::Short> test_short_sequence ( - const ::CORBA::ShortSeq & s1, - ::CORBA::ShortSeq & s2, - ::CORBA::ShortSeq_out s3); + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -635,22 +635,20 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_Short_Seq * + virtual std::vector<CORBA::Short> test_bounded_short_sequence ( - const ::Param_Test::Bounded_Short_Seq & s1, - ::Param_Test::Bounded_Short_Seq & s2, - ::Param_Test::Bounded_Short_Seq_out s3); + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - typedef std::vector< ::CORBA::Long> UB_Long_Seq; - - virtual Param_Test::UB_Long_Seq + virtual std::vector<CORBA::Long> test_long_sequence ( - const Param_Test::UB_Long_Seq & s1, - Param_Test::UB_Long_Seq & s2, - Param_Test::UB_Long_Seq & s3); + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -704,20 +702,20 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_Long_Seq * + virtual std::vector<CORBA::Long> test_bounded_long_sequence ( - const ::Param_Test::Bounded_Long_Seq & s1, - ::Param_Test::Bounded_Long_Seq & s2, - ::Param_Test::Bounded_Long_Seq_out s3); + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::CORBA::StringSeq * + virtual std::vector<char *> test_strseq ( - const ::CORBA::StringSeq & s1, - ::CORBA::StringSeq & s2, - ::CORBA::StringSeq_out s3); + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -768,20 +766,20 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_StrSeq * + virtual std::vector<char *> test_bounded_strseq ( - const ::Param_Test::Bounded_StrSeq & s1, - ::Param_Test::Bounded_StrSeq & s2, - ::Param_Test::Bounded_StrSeq_out s3); + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::CORBA::WStringSeq * + virtual std::vector<CORBA::WChar *> test_wstrseq ( - const ::CORBA::WStringSeq & ws1, - ::CORBA::WStringSeq & ws2, - ::CORBA::WStringSeq_out ws3); + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -832,11 +830,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_WStrSeq * + virtual std::vector<CORBA::WChar *> test_bounded_wstrseq ( - const ::Param_Test::Bounded_WStrSeq & ws1, - ::Param_Test::Bounded_WStrSeq & ws2, - ::Param_Test::Bounded_WStrSeq_out ws3); + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -891,11 +889,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::StructSeq * + virtual std::vector<Param_Test::Fixed_Struct> test_struct_sequence ( - const ::Param_Test::StructSeq & s1, - ::Param_Test::StructSeq & s2, - ::Param_Test::StructSeq_out s3); + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -949,11 +947,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_StructSeq * + virtual std::vector<Param_Test::Fixed_Struct> test_bounded_struct_sequence ( - const ::Param_Test::Bounded_StructSeq & s1, - ::Param_Test::Bounded_StructSeq & s2, - ::Param_Test::Bounded_StructSeq_out s3); + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -1009,11 +1007,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Coffee_Mix * + virtual std::vector<Coffee> test_coffe_mix ( - const ::Param_Test::Coffee_Mix & s1, - ::Param_Test::Coffee_Mix & s2, - ::Param_Test::Coffee_Mix_out s3); + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -1068,20 +1066,20 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_Coffee_Mix * + virtual std::vector<Coffee> test_bounded_coffe_mix ( - const ::Param_Test::Bounded_Coffee_Mix & s1, - ::Param_Test::Bounded_Coffee_Mix & s2, - ::Param_Test::Bounded_Coffee_Mix_out s3); + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::CORBA::AnySeq * + virtual std::vector<CORBA::Any> test_anyseq ( - const ::CORBA::AnySeq & s1, - ::CORBA::AnySeq & s2, - ::CORBA::AnySeq_out s3); + const std::vector<CORBA::Any> & s1, + std::vector<CORBA::Any> & s2, + std::vector<CORBA::Any> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_typedef/typedef_ch.cpp:413 @@ -1139,9 +1137,9 @@ public: virtual ::Param_Test::Var_Struct * test_var_struct ( - const ::Param_Test::Var_Struct & s1, - ::Param_Test::Var_Struct & s2, - ::Param_Test::Var_Struct_out s3); + const Param_Test::Var_Struct & s1, + Param_Test::Var_Struct & s2, + Param_Test::Var_Struct_out s3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -1182,9 +1180,9 @@ public: virtual ::Param_Test::Nested_Struct * test_nested_struct ( - const ::Param_Test::Nested_Struct & s1, - ::Param_Test::Nested_Struct & s2, - ::Param_Test::Nested_Struct_out s3); + const Param_Test::Nested_Struct & s1, + Param_Test::Nested_Struct & s2, + Param_Test::Nested_Struct_out s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 @@ -1197,27 +1195,27 @@ public: virtual ::Coffee_ptr test_objref ( - ::Coffee_ptr o1, - ::Coffee_ptr & o2, - ::Coffee_out o3); + Coffee_ptr o1, + Coffee_ptr & o2, + Coffee_out o3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 virtual ::CORBA::TypeCode_ptr test_typecode ( - ::CORBA::TypeCode_ptr t1, - ::CORBA::TypeCode_ptr & t2, - ::CORBA::TypeCode_out t3); + CORBA::TypeCode_ptr t1, + CORBA::TypeCode_ptr & t2, + CORBA::TypeCode_out t3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 virtual ::CORBA::Any * test_any ( - const ::CORBA::Any & a1, - ::CORBA::Any & a2, - ::CORBA::Any_out a3); + const CORBA::Any & a1, + CORBA::Any & a2, + CORBA::Any_out a3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -1259,9 +1257,9 @@ public: virtual ::Param_Test::Objref_Struct * test_objref_struct ( - const ::Param_Test::Objref_Struct & t1, - ::Param_Test::Objref_Struct & t2, - ::Param_Test::Objref_Struct_out t3); + const Param_Test::Objref_Struct & t1, + Param_Test::Objref_Struct & t2, + Param_Test::Objref_Struct_out t3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 @@ -1326,9 +1324,9 @@ public: virtual ::Param_Test::Fixed_Array_slice * test_fixed_array ( - const ::Param_Test::Fixed_Array l1, - ::Param_Test::Fixed_Array l2, - ::Param_Test::Fixed_Array_out l3); + const Param_Test::Fixed_Array l1, + Param_Test::Fixed_Array l2, + Param_Test::Fixed_Array_out l3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 @@ -1398,9 +1396,9 @@ public: virtual ::Param_Test::Var_Array_slice * test_var_array ( - const ::Param_Test::Var_Array v1, - ::Param_Test::Var_Array v2, - ::Param_Test::Var_Array_out v3); + const Param_Test::Var_Array v1, + Param_Test::Var_Array v2, + Param_Test::Var_Array_out v3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -1457,11 +1455,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::ArraySeq * + virtual std::vector<Param_Test::Fixed_Array> test_array_sequence ( - const ::Param_Test::ArraySeq & s1, - ::Param_Test::ArraySeq & s2, - ::Param_Test::ArraySeq_out s3); + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 @@ -1517,11 +1515,11 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - virtual ::Param_Test::Bounded_ArraySeq * + virtual std::vector<Param_Test::Fixed_Array> test_bounded_array_sequence ( - const ::Param_Test::Bounded_ArraySeq & s1, - ::Param_Test::Bounded_ArraySeq & s2, - ::Param_Test::Bounded_ArraySeq_out s3); + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:53 @@ -1610,9 +1608,9 @@ public: virtual ::CORBA::ULong test_exception ( - ::CORBA::ULong s1, - ::CORBA::ULong & s2, - ::CORBA::ULong_out s3); + CORBA::ULong s1, + CORBA::ULong & s2, + CORBA::ULong_out s3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -1828,9 +1826,9 @@ public: virtual ::Param_Test::Big_Union * test_big_union ( - const ::Param_Test::Big_Union & u1, - ::Param_Test::Big_Union & u2, - ::Param_Test::Big_Union_out u3); + const Param_Test::Big_Union & u1, + Param_Test::Big_Union & u2, + Param_Test::Big_Union_out u3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_enum/enum_ch.cpp:57 @@ -1924,9 +1922,9 @@ public: virtual ::Param_Test::Small_Union test_small_union ( - const ::Param_Test::Small_Union & u1, - ::Param_Test::Small_Union & u2, - ::Param_Test::Small_Union_out u3); + const Param_Test::Small_Union & u1, + Param_Test::Small_Union & u2, + Param_Test::Small_Union_out u3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -2004,9 +2002,9 @@ public: virtual ::CORBA::Any * test_complex_any ( - const ::CORBA::Any & ca1, - ::CORBA::Any & ca2, - ::CORBA::Any_out ca3); + const CORBA::Any & ca1, + CORBA::Any & ca2, + CORBA::Any_out ca3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -2080,9 +2078,9 @@ public: virtual ::Param_Test::Recursive_Struct * test_recursive_struct ( - const ::Param_Test::Recursive_Struct & rs1, - ::Param_Test::Recursive_Struct & rs2, - ::Param_Test::Recursive_Struct_out rs3); + const Param_Test::Recursive_Struct & rs1, + Param_Test::Recursive_Struct & rs2, + Param_Test::Recursive_Struct_out rs3); // TAO_IDL - Generated from // .\be\be_type.cpp:269 @@ -2310,9 +2308,9 @@ public: virtual ::Param_Test::Recursive_Union * test_recursive_union ( - const ::Param_Test::Recursive_Union & ru1, - ::Param_Test::Recursive_Union & ru2, - ::Param_Test::Recursive_Union_out ru3); + const Param_Test::Recursive_Union & ru1, + Param_Test::Recursive_Union & ru2, + Param_Test::Recursive_Union_out ru3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 @@ -2377,9 +2375,9 @@ public: virtual ::Param_Test::Multdim_Array_slice * test_multdim_array ( - const ::Param_Test::Multdim_Array m1, - ::Param_Test::Multdim_Array m2, - ::Param_Test::Multdim_Array_out m3); + const Param_Test::Multdim_Array m1, + Param_Test::Multdim_Array m2, + Param_Test::Multdim_Array_out m3); // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 @@ -2665,127 +2663,109 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::PathSpec &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::PathSpec*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::PathSpec *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::PathSpec *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Param_Test::Step> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Param_Test::Step> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_Short_Seq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_Short_Seq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_Short_Seq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_Short_Seq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<CORBA::Short> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<CORBA::Short> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_Long_Seq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_Long_Seq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_Long_Seq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_Long_Seq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<CORBA::Long> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<CORBA::Long> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_StrSeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_StrSeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_StrSeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_StrSeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<char *> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<char *> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_WStrSeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_WStrSeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_WStrSeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_WStrSeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<CORBA::WChar *> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<CORBA::WChar *> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::StructSeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::StructSeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::StructSeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::StructSeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Param_Test::Fixed_Struct> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Param_Test::Fixed_Struct> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_StructSeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_StructSeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_StructSeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_StructSeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Param_Test::Fixed_Struct> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Param_Test::Fixed_Struct> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Coffee_Mix &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Coffee_Mix*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Coffee_Mix *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Coffee_Mix *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Coffee> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Coffee> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_Coffee_Mix &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_Coffee_Mix*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_Coffee_Mix *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_Coffee_Mix *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Coffee> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Coffee> *&); TAO_END_VERSIONED_NAMESPACE_DECL @@ -2857,29 +2837,25 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::ArraySeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::ArraySeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::ArraySeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::ArraySeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Param_Test::Fixed_Array> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Param_Test::Fixed_Array> *&); TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:53 +// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 TAO_BEGIN_VERSIONED_NAMESPACE_DECL - void operator<<= ( ::CORBA::Any &, const Param_Test::Bounded_ArraySeq &); // copying version - void operator<<= ( ::CORBA::Any &, Param_Test::Bounded_ArraySeq*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Bounded_ArraySeq *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Bounded_ArraySeq *&); + void operator<<= ( ::CORBA::Any &, const std::vector<Param_Test::Fixed_Array> &); // copying version + ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const std::vector<Param_Test::Fixed_Array> *&); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3034,20 +3010,6 @@ TAO_END_VERSIONED_NAMESPACE_DECL -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( ::CORBA::Any &, const std::string); -::CORBA::Boolean operator>>= (const ::CORBA::Any &, std::string &); - -TAO_END_VERSIONED_NAMESPACE_DECL - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( ::CORBA::Any &, const Param_Test::UB_Long_Seq); -::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::UB_Long_Seq &); - -TAO_END_VERSIONED_NAMESPACE_DECL - // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_interface/cdr_op_ch.cpp:55 @@ -3125,7 +3087,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_PathSpec_H_ #define _TAO_CDR_OP_Param_Test_PathSpec_H_ @@ -3135,11 +3097,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::PathSpec &_tao_sequence + const std::vector<Param_Test::Step> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::PathSpec &_tao_sequence + std::vector<Param_Test::Step> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3148,7 +3110,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_PathSpec_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_H_ @@ -3158,11 +3120,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_Short_Seq &_tao_sequence + const std::vector<CORBA::Short> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_Short_Seq &_tao_sequence + std::vector<CORBA::Short> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3171,7 +3133,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_H_ @@ -3181,11 +3143,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_Long_Seq &_tao_sequence + const std::vector<CORBA::Long> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_Long_Seq &_tao_sequence + std::vector<CORBA::Long> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3194,7 +3156,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_StrSeq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_StrSeq_H_ @@ -3204,11 +3166,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_StrSeq &_tao_sequence + const std::vector<char *> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_StrSeq &_tao_sequence + std::vector<char *> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3217,7 +3179,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Bounded_StrSeq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_H_ @@ -3227,11 +3189,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_WStrSeq &_tao_sequence + const std::vector<CORBA::WChar *> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_WStrSeq &_tao_sequence + std::vector<CORBA::WChar *> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3240,7 +3202,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_StructSeq_H_ #define _TAO_CDR_OP_Param_Test_StructSeq_H_ @@ -3250,11 +3212,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::StructSeq &_tao_sequence + const std::vector<Param_Test::Fixed_Struct> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::StructSeq &_tao_sequence + std::vector<Param_Test::Fixed_Struct> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3263,7 +3225,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_StructSeq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_StructSeq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_StructSeq_H_ @@ -3273,11 +3235,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_StructSeq &_tao_sequence + const std::vector<Param_Test::Fixed_Struct> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_StructSeq &_tao_sequence + std::vector<Param_Test::Fixed_Struct> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3286,7 +3248,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Bounded_StructSeq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Coffee_Mix_H_ #define _TAO_CDR_OP_Param_Test_Coffee_Mix_H_ @@ -3296,11 +3258,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Coffee_Mix &_tao_sequence + const std::vector<Coffee> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Coffee_Mix &_tao_sequence + std::vector<Coffee> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3309,7 +3271,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_Coffee_Mix_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_H_ #define _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_H_ @@ -3319,11 +3281,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_Coffee_Mix &_tao_sequence + const std::vector<Coffee> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_Coffee_Mix &_tao_sequence + std::vector<Coffee> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3395,7 +3357,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_ArraySeq_H_ #define _TAO_CDR_OP_Param_Test_ArraySeq_H_ @@ -3405,11 +3367,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::ArraySeq &_tao_sequence + const std::vector<Param_Test::Fixed_Array> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::ArraySeq &_tao_sequence + std::vector<Param_Test::Fixed_Array> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3418,7 +3380,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL #endif /* _TAO_CDR_OP_Param_Test_ArraySeq_H_ */ // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_H_ #define _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_H_ @@ -3428,11 +3390,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Bounded_ArraySeq &_tao_sequence + const std::vector<Param_Test::Fixed_Array> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Bounded_ArraySeq &_tao_sequence + std::vector<Param_Test::Fixed_Array> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3557,7 +3519,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__H_ #define _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__H_ @@ -3567,11 +3529,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_ &_tao_sequence + const std::vector<Param_Test::Recursive_Struct> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_ &_tao_sequence + std::vector<Param_Test::Recursive_Struct> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3593,7 +3555,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__H_ #define _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__H_ @@ -3603,11 +3565,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ &_tao_sequence + const std::vector<Param_Test::nested_rec_union> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ &_tao_sequence + std::vector<Param_Test::nested_rec_union> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3629,7 +3591,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL // TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:71 +// w:\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:67 #if !defined _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__H_ #define _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__H_ @@ -3639,11 +3601,11 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ::CORBA::Boolean operator<< ( TAO_OutputCDR &strm, - const Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ &_tao_sequence + const std::vector<Param_Test::Recursive_Union> &_tao_sequence ); ::CORBA::Boolean operator>> ( TAO_InputCDR &strm, - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ &_tao_sequence + std::vector<Param_Test::Recursive_Union> &_tao_sequence ); TAO_END_VERSIONED_NAMESPACE_DECL @@ -3663,22 +3625,8 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_END_VERSIONED_NAMESPACE_DECL -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< (TAO_OutputCDR &strm, const std::string &_tao_string); -::CORBA::Boolean operator>> (TAO_InputCDR &strm, std::string &_tao_string); - -TAO_END_VERSIONED_NAMESPACE_DECL - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Param_Test::UB_Long_Seq &_tao_vector); -::CORBA::Boolean operator>> (TAO_InputCDR &strm, Param_Test::UB_Long_Seq &_tao_vector); - -TAO_END_VERSIONED_NAMESPACE_DECL - // TAO_IDL - Generated from -// .\be\be_codegen.cpp:1455 +// .\be\be_codegen.cpp:1458 #if defined (__ACE_INLINE__) #include "param_testC.inl" #endif /* defined INLINE */ diff --git a/modules/TAO/tests/Param_Test/param_testS.cpp b/modules/TAO/tests/Param_Test/param_testS.cpp index 45b2f6ca193..cf0d1a616f8 100644 --- a/modules/TAO/tests/Param_Test/param_testS.cpp +++ b/modules/TAO/tests/Param_Test/param_testS.cpp @@ -28,7 +28,7 @@ // TAO_IDL - Generated from -// .\be\be_codegen.cpp:685 +// .\be\be_codegen.cpp:688 #ifndef _TAO_IDL_PARAM_TESTS_CPP_ #define _TAO_IDL_PARAM_TESTS_CPP_ @@ -92,28 +92,36 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { + // TAO_IDL - Generated from + // .\be\be_visitor_arg_traits.cpp:621 + +#if !defined (_CORBA_LONGSEQ__SARG_TRAITS_) +#define _CORBA_LONGSEQ__SARG_TRAITS_ + template<> - class SArg_Traits<Param_Test::UB_Long_Seq> + class SArg_Traits<std::vector<CORBA::Long> > : public - Basic_SArg_Traits_T< - Param_Test::UB_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::UB_Long_Seq> + Vector_SArg_Traits_T< + std::vector<CORBA::Long>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Long> > > { }; + +#endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_SHORTSEQ__SARG_TRAITS_) #define _CORBA_SHORTSEQ__SARG_TRAITS_ template<> - class SArg_Traits<CORBA::ShortSeq> + class SArg_Traits<std::vector<CORBA::Short> > : public - Var_Size_SArg_Traits_T< - CORBA::ShortSeq, - TAO::Any_Insert_Policy_Stream <CORBA::ShortSeq> + Vector_SArg_Traits_T< + std::vector<CORBA::Short>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > > { }; @@ -121,17 +129,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_STRINGSEQ__SARG_TRAITS_) #define _CORBA_STRINGSEQ__SARG_TRAITS_ template<> - class SArg_Traits<CORBA::StringSeq> + class SArg_Traits<std::vector<char *> > : public - Var_Size_SArg_Traits_T< - CORBA::StringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::StringSeq> + Vector_SArg_Traits_T< + std::vector<char *>, + TAO::Any_Insert_Policy_Stream<std::vector<char *> > > { }; @@ -139,17 +147,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_WSTRINGSEQ__SARG_TRAITS_) #define _CORBA_WSTRINGSEQ__SARG_TRAITS_ template<> - class SArg_Traits<CORBA::WStringSeq> + class SArg_Traits<std::vector<CORBA::WChar *> > : public - Var_Size_SArg_Traits_T< - CORBA::WStringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::WStringSeq> + Vector_SArg_Traits_T< + std::vector<CORBA::WChar *>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > > { }; @@ -157,17 +165,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_ANYSEQ__SARG_TRAITS_) #define _CORBA_ANYSEQ__SARG_TRAITS_ template<> - class SArg_Traits<CORBA::AnySeq> + class SArg_Traits<std::vector<CORBA::Any> > : public - Var_Size_SArg_Traits_T< - CORBA::AnySeq, - TAO::Any_Insert_Policy_Stream <CORBA::AnySeq> + Vector_SArg_Traits_T< + std::vector<CORBA::Any>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > > { }; @@ -195,7 +203,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_COFFEE_DESC__SARG_TRAITS_) #define _COFFEE_DESC__SARG_TRAITS_ @@ -253,7 +261,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_FIXED_STRUCT__SARG_TRAITS_) #define _PARAM_TEST_FIXED_STRUCT__SARG_TRAITS_ @@ -271,17 +279,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_PATHSPEC__SARG_TRAITS_) #define _PARAM_TEST_PATHSPEC__SARG_TRAITS_ template<> - class SArg_Traits<Param_Test::PathSpec> + class SArg_Traits<std::vector<Param_Test::Step> > : public - Var_Size_SArg_Traits_T< - Param_Test::PathSpec, - TAO::Any_Insert_Policy_Stream <Param_Test::PathSpec> + Vector_SArg_Traits_T< + std::vector<Param_Test::Step>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > > { }; @@ -289,7 +297,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_SHORT_SEQ__SARG_TRAITS_ @@ -299,7 +307,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Short_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> > { }; @@ -307,7 +315,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_LONG_SEQ__SARG_TRAITS_ @@ -317,7 +325,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Long_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> > { }; @@ -325,7 +333,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRSEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRSEQ__SARG_TRAITS_ @@ -335,7 +343,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> > { }; @@ -343,7 +351,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_WSTRSEQ__SARG_TRAITS_ @@ -353,7 +361,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_WStrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> > { }; @@ -361,17 +369,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_STRUCTSEQ__SARG_TRAITS_) #define _PARAM_TEST_STRUCTSEQ__SARG_TRAITS_ template<> - class SArg_Traits<Param_Test::StructSeq> + class SArg_Traits<std::vector<Param_Test::Fixed_Struct> > : public - Var_Size_SArg_Traits_T< - Param_Test::StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::StructSeq> + Vector_SArg_Traits_T< + std::vector<Param_Test::Fixed_Struct>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > > { }; @@ -379,7 +387,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRUCTSEQ__SARG_TRAITS_ @@ -389,7 +397,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StructSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> > { }; @@ -397,17 +405,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_COFFEE_MIX__SARG_TRAITS_) #define _PARAM_TEST_COFFEE_MIX__SARG_TRAITS_ template<> - class SArg_Traits<Param_Test::Coffee_Mix> + class SArg_Traits<std::vector<Coffee> > : public - Var_Size_SArg_Traits_T< - Param_Test::Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Coffee_Mix> + Vector_SArg_Traits_T< + std::vector<Coffee>, + TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > > { }; @@ -415,7 +423,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_COFFEE_MIX__SARG_TRAITS_ @@ -425,7 +433,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Coffee_Mix> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> > { }; @@ -433,7 +441,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_VAR_STRUCT__SARG_TRAITS_) #define _PARAM_TEST_VAR_STRUCT__SARG_TRAITS_ @@ -451,7 +459,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_NESTED_STRUCT__SARG_TRAITS_) #define _PARAM_TEST_NESTED_STRUCT__SARG_TRAITS_ @@ -469,7 +477,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_OBJREF_STRUCT__SARG_TRAITS_) #define _PARAM_TEST_OBJREF_STRUCT__SARG_TRAITS_ @@ -519,17 +527,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_ARRAYSEQ__SARG_TRAITS_) #define _PARAM_TEST_ARRAYSEQ__SARG_TRAITS_ template<> - class SArg_Traits<Param_Test::ArraySeq> + class SArg_Traits<std::vector<Param_Test::Fixed_Array> > : public - Var_Size_SArg_Traits_T< - Param_Test::ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::ArraySeq> + Vector_SArg_Traits_T< + std::vector<Param_Test::Fixed_Array>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > > { }; @@ -537,7 +545,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__SARG_TRAITS_) #define _PARAM_TEST_BOUNDED_ARRAYSEQ__SARG_TRAITS_ @@ -547,7 +555,7 @@ namespace TAO : public Var_Size_SArg_Traits_T< Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_ArraySeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> > { }; @@ -555,7 +563,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_BIG_UNION__SARG_TRAITS_) #define _PARAM_TEST_BIG_UNION__SARG_TRAITS_ @@ -573,7 +581,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_SMALL_UNION__SARG_TRAITS_) #define _PARAM_TEST_SMALL_UNION__SARG_TRAITS_ @@ -591,7 +599,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_RECURSIVE_STRUCT__SARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_STRUCT__SARG_TRAITS_ @@ -609,7 +617,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_RECURSIVE_UNION__SARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_UNION__SARG_TRAITS_ @@ -657,28 +665,36 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { + // TAO_IDL - Generated from + // .\be\be_visitor_arg_traits.cpp:621 + +#if !defined (_CORBA_LONGSEQ__ARG_TRAITS_) +#define _CORBA_LONGSEQ__ARG_TRAITS_ + template<> - class Arg_Traits<Param_Test::UB_Long_Seq> + class Arg_Traits<std::vector<CORBA::Long> > : public - Basic_Arg_Traits_T< - Param_Test::UB_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::UB_Long_Seq> + Vector_Arg_Traits_T< + std::vector<CORBA::Long>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Long> > > { }; + +#endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_SHORTSEQ__ARG_TRAITS_) #define _CORBA_SHORTSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::ShortSeq> + class Arg_Traits<std::vector<CORBA::Short> > : public - Var_Size_Arg_Traits_T< - CORBA::ShortSeq, - TAO::Any_Insert_Policy_Stream <CORBA::ShortSeq> + Vector_Arg_Traits_T< + std::vector<CORBA::Short>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > > { }; @@ -686,17 +702,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_STRINGSEQ__ARG_TRAITS_) #define _CORBA_STRINGSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::StringSeq> + class Arg_Traits<std::vector<char *> > : public - Var_Size_Arg_Traits_T< - CORBA::StringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::StringSeq> + Vector_Arg_Traits_T< + std::vector<char *>, + TAO::Any_Insert_Policy_Stream<std::vector<char *> > > { }; @@ -704,17 +720,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_WSTRINGSEQ__ARG_TRAITS_) #define _CORBA_WSTRINGSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::WStringSeq> + class Arg_Traits<std::vector<CORBA::WChar *> > : public - Var_Size_Arg_Traits_T< - CORBA::WStringSeq, - TAO::Any_Insert_Policy_Stream <CORBA::WStringSeq> + Vector_Arg_Traits_T< + std::vector<CORBA::WChar *>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > > { }; @@ -722,17 +738,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_CORBA_ANYSEQ__ARG_TRAITS_) #define _CORBA_ANYSEQ__ARG_TRAITS_ template<> - class Arg_Traits<CORBA::AnySeq> + class Arg_Traits<std::vector<CORBA::Any> > : public - Var_Size_Arg_Traits_T< - CORBA::AnySeq, - TAO::Any_Insert_Policy_Stream <CORBA::AnySeq> + Vector_Arg_Traits_T< + std::vector<CORBA::Any>, + TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > > { }; @@ -761,7 +777,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_COFFEE_DESC__ARG_TRAITS_) #define _COFFEE_DESC__ARG_TRAITS_ @@ -815,7 +831,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_ @@ -833,17 +849,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_PATHSPEC__ARG_TRAITS_) #define _PARAM_TEST_PATHSPEC__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::PathSpec> + class Arg_Traits<std::vector<Param_Test::Step> > : public - Var_Size_Arg_Traits_T< - Param_Test::PathSpec, - TAO::Any_Insert_Policy_Stream <Param_Test::PathSpec> + Vector_Arg_Traits_T< + std::vector<Param_Test::Step>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > > { }; @@ -851,7 +867,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_ @@ -861,7 +877,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Short_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> > { }; @@ -869,7 +885,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_ @@ -879,7 +895,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Long_Seq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> > { }; @@ -887,7 +903,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_ @@ -897,7 +913,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> > { }; @@ -905,7 +921,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_ @@ -915,7 +931,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_WStrSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> > { }; @@ -923,17 +939,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_STRUCTSEQ__ARG_TRAITS_) #define _PARAM_TEST_STRUCTSEQ__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::StructSeq> + class Arg_Traits<std::vector<Param_Test::Fixed_Struct> > : public - Var_Size_Arg_Traits_T< - Param_Test::StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::StructSeq> + Vector_Arg_Traits_T< + std::vector<Param_Test::Fixed_Struct>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > > { }; @@ -941,7 +957,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_ @@ -951,7 +967,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_StructSeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> > { }; @@ -959,17 +975,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_COFFEE_MIX__ARG_TRAITS_) #define _PARAM_TEST_COFFEE_MIX__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::Coffee_Mix> + class Arg_Traits<std::vector<Coffee> > : public - Var_Size_Arg_Traits_T< - Param_Test::Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Coffee_Mix> + Vector_Arg_Traits_T< + std::vector<Coffee>, + TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > > { }; @@ -977,7 +993,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_ @@ -987,7 +1003,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_Coffee_Mix> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> > { }; @@ -995,7 +1011,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_VAR_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_VAR_STRUCT__ARG_TRAITS_ @@ -1013,7 +1029,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_ @@ -1031,7 +1047,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_ @@ -1081,17 +1097,17 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_ARRAYSEQ__ARG_TRAITS_) #define _PARAM_TEST_ARRAYSEQ__ARG_TRAITS_ template<> - class Arg_Traits<Param_Test::ArraySeq> + class Arg_Traits<std::vector<Param_Test::Fixed_Array> > : public - Var_Size_Arg_Traits_T< - Param_Test::ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::ArraySeq> + Vector_Arg_Traits_T< + std::vector<Param_Test::Fixed_Array>, + TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > > { }; @@ -1099,7 +1115,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:620 + // .\be\be_visitor_arg_traits.cpp:621 #if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_) #define _PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_ @@ -1109,7 +1125,7 @@ namespace TAO : public Var_Size_Arg_Traits_T< Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream <Param_Test::Bounded_ArraySeq> + TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> > { }; @@ -1117,7 +1133,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_BIG_UNION__ARG_TRAITS_) #define _PARAM_TEST_BIG_UNION__ARG_TRAITS_ @@ -1135,7 +1151,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_SMALL_UNION__ARG_TRAITS_) #define _PARAM_TEST_SMALL_UNION__ARG_TRAITS_ @@ -1153,7 +1169,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:871 + // .\be\be_visitor_arg_traits.cpp:884 #if !defined (_PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_ @@ -1171,7 +1187,7 @@ namespace TAO #endif /* end #if !defined */ // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:979 + // .\be\be_visitor_arg_traits.cpp:992 #if !defined (_PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_) #define _PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_ @@ -2937,25 +2953,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::PathSpec>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::PathSpec> ( + TAO::SArg_Traits< std::vector<Param_Test::Step>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Param_Test::Step>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::PathSpec>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::PathSpec> ( + TAO::SArg_Traits< std::vector<Param_Test::Step>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Param_Test::Step>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::PathSpec>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::PathSpec> ( + TAO::SArg_Traits< std::vector<Param_Test::Step>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Param_Test::Step>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::PathSpec>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::PathSpec> ( + TAO::SArg_Traits< std::vector<Param_Test::Step>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Param_Test::Step>> ( this->operation_details_, this->args_, 3); @@ -2986,10 +3002,10 @@ void POA_Param_Test::test_unbounded_struct_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::PathSpec>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::PathSpec>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::PathSpec>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::PathSpec>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Param_Test::Step>>::ret_val retval; + TAO::SArg_Traits< std::vector<Param_Test::Step>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Param_Test::Step>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Param_Test::Step>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3043,25 +3059,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::CORBA::ShortSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::ShortSeq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::CORBA::ShortSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::ShortSeq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::CORBA::ShortSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::ShortSeq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::CORBA::ShortSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::ShortSeq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 3); @@ -3092,10 +3108,10 @@ void POA_Param_Test::test_short_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::CORBA::ShortSeq>::ret_val retval; - TAO::SArg_Traits< ::CORBA::ShortSeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::ShortSeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::ShortSeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<CORBA::Short>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::Short>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<CORBA::Short>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<CORBA::Short>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3149,25 +3165,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_Short_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_Short_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_Short_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_Short_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Short>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::Short>> ( this->operation_details_, this->args_, 3); @@ -3198,10 +3214,10 @@ void POA_Param_Test::test_bounded_short_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_Short_Seq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<CORBA::Short>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::Short>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<CORBA::Short>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<CORBA::Short>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3255,25 +3271,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< Param_Test::UB_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< Param_Test::UB_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< Param_Test::UB_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< Param_Test::UB_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 3); @@ -3304,10 +3320,10 @@ void POA_Param_Test::test_long_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::ret_val retval; - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::in_arg_val _tao_s1; - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< Param_Test::UB_Long_Seq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<CORBA::Long>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::Long>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<CORBA::Long>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<CORBA::Long>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3361,25 +3377,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_Long_Seq> ( + TAO::SArg_Traits< std::vector<CORBA::Long>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::Long>> ( this->operation_details_, this->args_, 3); @@ -3410,10 +3426,10 @@ void POA_Param_Test::test_bounded_long_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_Long_Seq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<CORBA::Long>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::Long>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<CORBA::Long>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<CORBA::Long>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3467,25 +3483,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::CORBA::StringSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::StringSeq> ( + TAO::SArg_Traits< std::vector<char *>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<char *>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::CORBA::StringSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::StringSeq> ( + TAO::SArg_Traits< std::vector<char *>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<char *>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::CORBA::StringSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::StringSeq> ( + TAO::SArg_Traits< std::vector<char *>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<char *>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::CORBA::StringSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::StringSeq> ( + TAO::SArg_Traits< std::vector<char *>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<char *>> ( this->operation_details_, this->args_, 3); @@ -3516,10 +3532,10 @@ void POA_Param_Test::test_strseq_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::CORBA::StringSeq>::ret_val retval; - TAO::SArg_Traits< ::CORBA::StringSeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::StringSeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::StringSeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<char *>>::ret_val retval; + TAO::SArg_Traits< std::vector<char *>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<char *>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<char *>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3573,25 +3589,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_StrSeq> ( + TAO::SArg_Traits< std::vector<char *>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<char *>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_StrSeq> ( + TAO::SArg_Traits< std::vector<char *>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<char *>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_StrSeq> ( + TAO::SArg_Traits< std::vector<char *>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<char *>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_StrSeq> ( + TAO::SArg_Traits< std::vector<char *>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<char *>> ( this->operation_details_, this->args_, 3); @@ -3622,10 +3638,10 @@ void POA_Param_Test::test_bounded_strseq_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_StrSeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<char *>>::ret_val retval; + TAO::SArg_Traits< std::vector<char *>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<char *>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<char *>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3679,25 +3695,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::CORBA::WStringSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::WStringSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::CORBA::WStringSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::WStringSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::CORBA::WStringSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::WStringSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::CORBA::WStringSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::WStringSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 3); @@ -3728,10 +3744,10 @@ void POA_Param_Test::test_wstrseq_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::CORBA::WStringSeq>::ret_val retval; - TAO::SArg_Traits< ::CORBA::WStringSeq>::in_arg_val _tao_ws1; - TAO::SArg_Traits< ::CORBA::WStringSeq>::inout_arg_val _tao_ws2; - TAO::SArg_Traits< ::CORBA::WStringSeq>::out_arg_val _tao_ws3; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::in_arg_val _tao_ws1; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::inout_arg_val _tao_ws2; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::out_arg_val _tao_ws3; TAO::Argument * const args[] = { @@ -3785,25 +3801,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_WStrSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_WStrSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_WStrSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_WStrSeq> ( + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::WChar *>> ( this->operation_details_, this->args_, 3); @@ -3834,10 +3850,10 @@ void POA_Param_Test::test_bounded_wstrseq_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::in_arg_val _tao_ws1; - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::inout_arg_val _tao_ws2; - TAO::SArg_Traits< ::Param_Test::Bounded_WStrSeq>::out_arg_val _tao_ws3; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::in_arg_val _tao_ws1; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::inout_arg_val _tao_ws2; + TAO::SArg_Traits< std::vector<CORBA::WChar *>>::out_arg_val _tao_ws3; TAO::Argument * const args[] = { @@ -3891,25 +3907,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::StructSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::StructSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::StructSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::StructSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 3); @@ -3940,10 +3956,10 @@ void POA_Param_Test::test_struct_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::StructSeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::StructSeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::StructSeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::StructSeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_val retval; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -3997,25 +4013,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_StructSeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Param_Test::Fixed_Struct>> ( this->operation_details_, this->args_, 3); @@ -4046,10 +4062,10 @@ void POA_Param_Test::test_bounded_struct_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_StructSeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::ret_val retval; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Struct>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -4103,25 +4119,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Coffee>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 3); @@ -4152,10 +4168,10 @@ void POA_Param_Test::test_coffe_mix_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Coffee_Mix>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Coffee>>::ret_val retval; + TAO::SArg_Traits< std::vector<Coffee>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Coffee>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Coffee>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -4209,25 +4225,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Coffee>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_Coffee_Mix> ( + TAO::SArg_Traits< std::vector<Coffee>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Coffee>> ( this->operation_details_, this->args_, 3); @@ -4258,10 +4274,10 @@ void POA_Param_Test::test_bounded_coffe_mix_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_Coffee_Mix>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Coffee>>::ret_val retval; + TAO::SArg_Traits< std::vector<Coffee>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Coffee>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Coffee>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -4315,25 +4331,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::CORBA::AnySeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::AnySeq> ( + TAO::SArg_Traits< std::vector<CORBA::Any>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<CORBA::Any>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::CORBA::AnySeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::AnySeq> ( + TAO::SArg_Traits< std::vector<CORBA::Any>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<CORBA::Any>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::CORBA::AnySeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::AnySeq> ( + TAO::SArg_Traits< std::vector<CORBA::Any>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<CORBA::Any>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::CORBA::AnySeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::AnySeq> ( + TAO::SArg_Traits< std::vector<CORBA::Any>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<CORBA::Any>> ( this->operation_details_, this->args_, 3); @@ -4364,10 +4380,10 @@ void POA_Param_Test::test_anyseq_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::CORBA::AnySeq>::ret_val retval; - TAO::SArg_Traits< ::CORBA::AnySeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::AnySeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::AnySeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<CORBA::Any>>::ret_val retval; + TAO::SArg_Traits< std::vector<CORBA::Any>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<CORBA::Any>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<CORBA::Any>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -5348,25 +5364,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::ArraySeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::ArraySeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::ArraySeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::ArraySeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 3); @@ -5397,10 +5413,10 @@ void POA_Param_Test::test_array_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::ArraySeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::ArraySeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::ArraySeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::ArraySeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_val retval; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { @@ -5454,25 +5470,25 @@ public: virtual void execute (void) { - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Bounded_ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_arg_type retval = + TAO::Portable_Server::get_ret_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_); - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Bounded_ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_type arg_1 = + TAO::Portable_Server::get_in_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 1); - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Bounded_ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_type arg_2 = + TAO::Portable_Server::get_inout_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 2); - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Bounded_ArraySeq> ( + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_type arg_3 = + TAO::Portable_Server::get_out_arg< std::vector<Param_Test::Fixed_Array>> ( this->operation_details_, this->args_, 3); @@ -5503,10 +5519,10 @@ void POA_Param_Test::test_bounded_array_sequence_skel ( static ::CORBA::ULong const nexceptions = 0; #endif /* TAO_HAS_INTERCEPTORS */ - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Bounded_ArraySeq>::out_arg_val _tao_s3; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::ret_val retval; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::in_arg_val _tao_s1; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::inout_arg_val _tao_s2; + TAO::SArg_Traits< std::vector<Param_Test::Fixed_Array>>::out_arg_val _tao_s3; TAO::Argument * const args[] = { diff --git a/modules/TAO/tests/Param_Test/param_testS.h b/modules/TAO/tests/Param_Test/param_testS.h index 69df3e2232e..cbd75a54f36 100644 --- a/modules/TAO/tests/Param_Test/param_testS.h +++ b/modules/TAO/tests/Param_Test/param_testS.h @@ -27,7 +27,7 @@ **/ // TAO_IDL - Generated from -// .\be\be_codegen.cpp:474 +// .\be\be_codegen.cpp:477 #ifndef _TAO_IDL_PARAM_TESTS_H_ #define _TAO_IDL_PARAM_TESTS_H_ @@ -143,7 +143,7 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual void description ( - const ::Coffee::Desc & description) = 0; + const Coffee::Desc & description) = 0; static void _set_description_skel ( TAO_ServerRequest & server_request, @@ -216,9 +216,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::Short test_short ( - ::CORBA::Short s1, - ::CORBA::Short & s2, - ::CORBA::Short_out s3) = 0; + CORBA::Short s1, + CORBA::Short & s2, + CORBA::Short_out s3) = 0; static void test_short_skel ( TAO_ServerRequest & server_request, @@ -230,9 +230,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::ULongLong test_ulonglong ( - ::CORBA::ULongLong s1, - ::CORBA::ULongLong & s2, - ::CORBA::ULongLong_out s3) = 0; + CORBA::ULongLong s1, + CORBA::ULongLong & s2, + CORBA::ULongLong_out s3) = 0; static void test_ulonglong_skel ( TAO_ServerRequest & server_request, @@ -300,9 +300,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Fixed_Struct test_fixed_struct ( - const ::Param_Test::Fixed_Struct & s1, - ::Param_Test::Fixed_Struct & s2, - ::Param_Test::Fixed_Struct_out s3) = 0; + const Param_Test::Fixed_Struct & s1, + Param_Test::Fixed_Struct & s2, + Param_Test::Fixed_Struct_out s3) = 0; static void test_fixed_struct_skel ( TAO_ServerRequest & server_request, @@ -313,10 +313,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::PathSpec * test_unbounded_struct_sequence ( - const ::Param_Test::PathSpec & s1, - ::Param_Test::PathSpec & s2, - ::Param_Test::PathSpec_out s3) = 0; + virtual std::vector<Param_Test::Step> test_unbounded_struct_sequence ( + const std::vector<Param_Test::Step> & s1, + std::vector<Param_Test::Step> & s2, + std::vector<Param_Test::Step> & s3) = 0; static void test_unbounded_struct_sequence_skel ( TAO_ServerRequest & server_request, @@ -327,10 +327,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::CORBA::ShortSeq * test_short_sequence ( - const ::CORBA::ShortSeq & s1, - ::CORBA::ShortSeq & s2, - ::CORBA::ShortSeq_out s3) = 0; + virtual std::vector<CORBA::Short> test_short_sequence ( + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3) = 0; static void test_short_sequence_skel ( TAO_ServerRequest & server_request, @@ -341,10 +341,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_Short_Seq * test_bounded_short_sequence ( - const ::Param_Test::Bounded_Short_Seq & s1, - ::Param_Test::Bounded_Short_Seq & s2, - ::Param_Test::Bounded_Short_Seq_out s3) = 0; + virtual std::vector<CORBA::Short> test_bounded_short_sequence ( + const std::vector<CORBA::Short> & s1, + std::vector<CORBA::Short> & s2, + std::vector<CORBA::Short> & s3) = 0; static void test_bounded_short_sequence_skel ( TAO_ServerRequest & server_request, @@ -355,10 +355,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual Param_Test::UB_Long_Seq test_long_sequence ( - const Param_Test::UB_Long_Seq & s1, - Param_Test::UB_Long_Seq & s2, - Param_Test::UB_Long_Seq & s3) = 0; + virtual std::vector<CORBA::Long> test_long_sequence ( + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3) = 0; static void test_long_sequence_skel ( TAO_ServerRequest & server_request, @@ -369,10 +369,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_Long_Seq * test_bounded_long_sequence ( - const ::Param_Test::Bounded_Long_Seq & s1, - ::Param_Test::Bounded_Long_Seq & s2, - ::Param_Test::Bounded_Long_Seq_out s3) = 0; + virtual std::vector<CORBA::Long> test_bounded_long_sequence ( + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3) = 0; static void test_bounded_long_sequence_skel ( TAO_ServerRequest & server_request, @@ -383,10 +383,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::CORBA::StringSeq * test_strseq ( - const ::CORBA::StringSeq & s1, - ::CORBA::StringSeq & s2, - ::CORBA::StringSeq_out s3) = 0; + virtual std::vector<char *> test_strseq ( + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3) = 0; static void test_strseq_skel ( TAO_ServerRequest & server_request, @@ -397,10 +397,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_StrSeq * test_bounded_strseq ( - const ::Param_Test::Bounded_StrSeq & s1, - ::Param_Test::Bounded_StrSeq & s2, - ::Param_Test::Bounded_StrSeq_out s3) = 0; + virtual std::vector<char *> test_bounded_strseq ( + const std::vector<char *> & s1, + std::vector<char *> & s2, + std::vector<char *> & s3) = 0; static void test_bounded_strseq_skel ( TAO_ServerRequest & server_request, @@ -411,10 +411,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::CORBA::WStringSeq * test_wstrseq ( - const ::CORBA::WStringSeq & ws1, - ::CORBA::WStringSeq & ws2, - ::CORBA::WStringSeq_out ws3) = 0; + virtual std::vector<CORBA::WChar *> test_wstrseq ( + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3) = 0; static void test_wstrseq_skel ( TAO_ServerRequest & server_request, @@ -425,10 +425,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_WStrSeq * test_bounded_wstrseq ( - const ::Param_Test::Bounded_WStrSeq & ws1, - ::Param_Test::Bounded_WStrSeq & ws2, - ::Param_Test::Bounded_WStrSeq_out ws3) = 0; + virtual std::vector<CORBA::WChar *> test_bounded_wstrseq ( + const std::vector<CORBA::WChar *> & ws1, + std::vector<CORBA::WChar *> & ws2, + std::vector<CORBA::WChar *> & ws3) = 0; static void test_bounded_wstrseq_skel ( TAO_ServerRequest & server_request, @@ -439,10 +439,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::StructSeq * test_struct_sequence ( - const ::Param_Test::StructSeq & s1, - ::Param_Test::StructSeq & s2, - ::Param_Test::StructSeq_out s3) = 0; + virtual std::vector<Param_Test::Fixed_Struct> test_struct_sequence ( + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3) = 0; static void test_struct_sequence_skel ( TAO_ServerRequest & server_request, @@ -453,10 +453,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_StructSeq * test_bounded_struct_sequence ( - const ::Param_Test::Bounded_StructSeq & s1, - ::Param_Test::Bounded_StructSeq & s2, - ::Param_Test::Bounded_StructSeq_out s3) = 0; + virtual std::vector<Param_Test::Fixed_Struct> test_bounded_struct_sequence ( + const std::vector<Param_Test::Fixed_Struct> & s1, + std::vector<Param_Test::Fixed_Struct> & s2, + std::vector<Param_Test::Fixed_Struct> & s3) = 0; static void test_bounded_struct_sequence_skel ( TAO_ServerRequest & server_request, @@ -467,10 +467,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Coffee_Mix * test_coffe_mix ( - const ::Param_Test::Coffee_Mix & s1, - ::Param_Test::Coffee_Mix & s2, - ::Param_Test::Coffee_Mix_out s3) = 0; + virtual std::vector<Coffee> test_coffe_mix ( + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3) = 0; static void test_coffe_mix_skel ( TAO_ServerRequest & server_request, @@ -481,10 +481,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_Coffee_Mix * test_bounded_coffe_mix ( - const ::Param_Test::Bounded_Coffee_Mix & s1, - ::Param_Test::Bounded_Coffee_Mix & s2, - ::Param_Test::Bounded_Coffee_Mix_out s3) = 0; + virtual std::vector<Coffee> test_bounded_coffe_mix ( + const std::vector<Coffee> & s1, + std::vector<Coffee> & s2, + std::vector<Coffee> & s3) = 0; static void test_bounded_coffe_mix_skel ( TAO_ServerRequest & server_request, @@ -495,10 +495,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::CORBA::AnySeq * test_anyseq ( - const ::CORBA::AnySeq & s1, - ::CORBA::AnySeq & s2, - ::CORBA::AnySeq_out s3) = 0; + virtual std::vector<CORBA::Any> test_anyseq ( + const std::vector<CORBA::Any> & s1, + std::vector<CORBA::Any> & s2, + std::vector<CORBA::Any> & s3) = 0; static void test_anyseq_skel ( TAO_ServerRequest & server_request, @@ -510,9 +510,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Var_Struct * test_var_struct ( - const ::Param_Test::Var_Struct & s1, - ::Param_Test::Var_Struct & s2, - ::Param_Test::Var_Struct_out s3) = 0; + const Param_Test::Var_Struct & s1, + Param_Test::Var_Struct & s2, + Param_Test::Var_Struct_out s3) = 0; static void test_var_struct_skel ( TAO_ServerRequest & server_request, @@ -524,9 +524,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Nested_Struct * test_nested_struct ( - const ::Param_Test::Nested_Struct & s1, - ::Param_Test::Nested_Struct & s2, - ::Param_Test::Nested_Struct_out s3) = 0; + const Param_Test::Nested_Struct & s1, + Param_Test::Nested_Struct & s2, + Param_Test::Nested_Struct_out s3) = 0; static void test_nested_struct_skel ( TAO_ServerRequest & server_request, @@ -549,9 +549,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Coffee_ptr test_objref ( - ::Coffee_ptr o1, - ::Coffee_ptr & o2, - ::Coffee_out o3) = 0; + Coffee_ptr o1, + Coffee_ptr & o2, + Coffee_out o3) = 0; static void test_objref_skel ( TAO_ServerRequest & server_request, @@ -563,9 +563,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::TypeCode_ptr test_typecode ( - ::CORBA::TypeCode_ptr t1, - ::CORBA::TypeCode_ptr & t2, - ::CORBA::TypeCode_out t3) = 0; + CORBA::TypeCode_ptr t1, + CORBA::TypeCode_ptr & t2, + CORBA::TypeCode_out t3) = 0; static void test_typecode_skel ( TAO_ServerRequest & server_request, @@ -577,9 +577,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::Any * test_any ( - const ::CORBA::Any & a1, - ::CORBA::Any & a2, - ::CORBA::Any_out a3) = 0; + const CORBA::Any & a1, + CORBA::Any & a2, + CORBA::Any_out a3) = 0; static void test_any_skel ( TAO_ServerRequest & server_request, @@ -591,9 +591,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Objref_Struct * test_objref_struct ( - const ::Param_Test::Objref_Struct & t1, - ::Param_Test::Objref_Struct & t2, - ::Param_Test::Objref_Struct_out t3) = 0; + const Param_Test::Objref_Struct & t1, + Param_Test::Objref_Struct & t2, + Param_Test::Objref_Struct_out t3) = 0; static void test_objref_struct_skel ( TAO_ServerRequest & server_request, @@ -605,9 +605,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Fixed_Array_slice * test_fixed_array ( - const ::Param_Test::Fixed_Array l1, - ::Param_Test::Fixed_Array l2, - ::Param_Test::Fixed_Array_out l3) = 0; + const Param_Test::Fixed_Array l1, + Param_Test::Fixed_Array l2, + Param_Test::Fixed_Array_out l3) = 0; static void test_fixed_array_skel ( TAO_ServerRequest & server_request, @@ -619,9 +619,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Var_Array_slice * test_var_array ( - const ::Param_Test::Var_Array v1, - ::Param_Test::Var_Array v2, - ::Param_Test::Var_Array_out v3) = 0; + const Param_Test::Var_Array v1, + Param_Test::Var_Array v2, + Param_Test::Var_Array_out v3) = 0; static void test_var_array_skel ( TAO_ServerRequest & server_request, @@ -632,10 +632,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::ArraySeq * test_array_sequence ( - const ::Param_Test::ArraySeq & s1, - ::Param_Test::ArraySeq & s2, - ::Param_Test::ArraySeq_out s3) = 0; + virtual std::vector<Param_Test::Fixed_Array> test_array_sequence ( + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3) = 0; static void test_array_sequence_skel ( TAO_ServerRequest & server_request, @@ -646,10 +646,10 @@ public: // TAO_IDL - Generated from // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - virtual ::Param_Test::Bounded_ArraySeq * test_bounded_array_sequence ( - const ::Param_Test::Bounded_ArraySeq & s1, - ::Param_Test::Bounded_ArraySeq & s2, - ::Param_Test::Bounded_ArraySeq_out s3) = 0; + virtual std::vector<Param_Test::Fixed_Array> test_bounded_array_sequence ( + const std::vector<Param_Test::Fixed_Array> & s1, + std::vector<Param_Test::Fixed_Array> & s2, + std::vector<Param_Test::Fixed_Array> & s3) = 0; static void test_bounded_array_sequence_skel ( TAO_ServerRequest & server_request, @@ -661,9 +661,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::ULong test_exception ( - ::CORBA::ULong s1, - ::CORBA::ULong & s2, - ::CORBA::ULong_out s3) = 0; + CORBA::ULong s1, + CORBA::ULong & s2, + CORBA::ULong_out s3) = 0; static void test_exception_skel ( TAO_ServerRequest & server_request, @@ -675,9 +675,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Big_Union * test_big_union ( - const ::Param_Test::Big_Union & u1, - ::Param_Test::Big_Union & u2, - ::Param_Test::Big_Union_out u3) = 0; + const Param_Test::Big_Union & u1, + Param_Test::Big_Union & u2, + Param_Test::Big_Union_out u3) = 0; static void test_big_union_skel ( TAO_ServerRequest & server_request, @@ -689,9 +689,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Small_Union test_small_union ( - const ::Param_Test::Small_Union & u1, - ::Param_Test::Small_Union & u2, - ::Param_Test::Small_Union_out u3) = 0; + const Param_Test::Small_Union & u1, + Param_Test::Small_Union & u2, + Param_Test::Small_Union_out u3) = 0; static void test_small_union_skel ( TAO_ServerRequest & server_request, @@ -703,9 +703,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::CORBA::Any * test_complex_any ( - const ::CORBA::Any & ca1, - ::CORBA::Any & ca2, - ::CORBA::Any_out ca3) = 0; + const CORBA::Any & ca1, + CORBA::Any & ca2, + CORBA::Any_out ca3) = 0; static void test_complex_any_skel ( TAO_ServerRequest & server_request, @@ -717,9 +717,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Recursive_Struct * test_recursive_struct ( - const ::Param_Test::Recursive_Struct & rs1, - ::Param_Test::Recursive_Struct & rs2, - ::Param_Test::Recursive_Struct_out rs3) = 0; + const Param_Test::Recursive_Struct & rs1, + Param_Test::Recursive_Struct & rs2, + Param_Test::Recursive_Struct_out rs3) = 0; static void test_recursive_struct_skel ( TAO_ServerRequest & server_request, @@ -731,9 +731,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Recursive_Union * test_recursive_union ( - const ::Param_Test::Recursive_Union & ru1, - ::Param_Test::Recursive_Union & ru2, - ::Param_Test::Recursive_Union_out ru3) = 0; + const Param_Test::Recursive_Union & ru1, + Param_Test::Recursive_Union & ru2, + Param_Test::Recursive_Union_out ru3) = 0; static void test_recursive_union_skel ( TAO_ServerRequest & server_request, @@ -745,9 +745,9 @@ public: // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 virtual ::Param_Test::Multdim_Array_slice * test_multdim_array ( - const ::Param_Test::Multdim_Array m1, - ::Param_Test::Multdim_Array m2, - ::Param_Test::Multdim_Array_out m3) = 0; + const Param_Test::Multdim_Array m1, + Param_Test::Multdim_Array m2, + Param_Test::Multdim_Array_out m3) = 0; static void test_multdim_array_skel ( TAO_ServerRequest & server_request, @@ -768,7 +768,7 @@ public: }; // TAO_IDL - Generated from -// .\be\be_codegen.cpp:1517 +// .\be\be_codegen.cpp:1520 #if defined (__ACE_INLINE__) diff --git a/modules/TAO/tests/Param_Test/param_test_i.cpp b/modules/TAO/tests/Param_Test/param_test_i.cpp index 7f0a76cd1e3..00dee6f43a4 100644 --- a/modules/TAO/tests/Param_Test/param_test_i.cpp +++ b/modules/TAO/tests/Param_Test/param_test_i.cpp @@ -187,12 +187,12 @@ Param_Test_i::test_fixed_struct (const Param_Test::Fixed_Struct &s1, // = Sequences -Param_Test::UB_Long_Seq -Param_Test_i::test_long_sequence (const Param_Test::UB_Long_Seq & s1, - Param_Test::UB_Long_Seq & s2, - Param_Test::UB_Long_Seq & s3) +std::vector<CORBA::Long> +Param_Test_i::test_long_sequence (const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3) { - Param_Test::UB_Long_Seq ret; + std::vector<CORBA::Long> ret; s2 = s1; s3 = s1; @@ -379,32 +379,18 @@ Param_Test_i::test_bounded_struct_sequence (const Param_Test::Bounded_StructSeq } -Param_Test::PathSpec * -Param_Test_i::test_unbounded_struct_sequence (const Param_Test::PathSpec & s1, - Param_Test::PathSpec & s2, - Param_Test::PathSpec_out s3) +std::vector<Param_Test::Step> +Param_Test_i::test_unbounded_struct_sequence ( + const std::vector<Param_Test::Step> & s1, + std::vector<Param_Test::Step> & s2, + std::vector<Param_Test::Step> s3) { - Param_Test::PathSpec - *ret = new Param_Test::PathSpec, - *out = new Param_Test::PathSpec; - - - Param_Test::PathSpec_var rPathSpec = new Param_Test::PathSpec; - rPathSpec->length(2); - - rPathSpec[0u].name.id = CORBA::string_dup("staff"); - rPathSpec[0u].name.kind = CORBA::string_dup("staff"); - rPathSpec[0u].process = 1; - - rPathSpec[1u].name.id = CORBA::string_dup("john"); - rPathSpec[1u].name.kind = CORBA::string_dup("john"); - rPathSpec[1u].process = 1; + std::vector<Param_Test::Step> ret; s2 = s1; - *out = s1; - *ret = s1; - s3 = out; - + s3 = s1; + ret = s1; + return ret; } diff --git a/modules/TAO/tests/Param_Test/param_test_i.h b/modules/TAO/tests/Param_Test/param_test_i.h index f11ed2c6426..f08f19a7c8a 100644 --- a/modules/TAO/tests/Param_Test/param_test_i.h +++ b/modules/TAO/tests/Param_Test/param_test_i.h @@ -94,10 +94,10 @@ public: // test for fixed structures // = Start of sequences tests... - virtual Param_Test::UB_Long_Seq test_long_sequence ( - const Param_Test::UB_Long_Seq & s1, - Param_Test::UB_Long_Seq & s2, - Param_Test::UB_Long_Seq & s3); + virtual std::vector<CORBA::Long> test_long_sequence ( + const std::vector<CORBA::Long> & s1, + std::vector<CORBA::Long> & s2, + std::vector<CORBA::Long> & s3); virtual Param_Test::Bounded_Long_Seq * test_bounded_long_sequence ( const Param_Test::Bounded_Long_Seq & s1, @@ -139,10 +139,10 @@ public: Param_Test::StructSeq & s2, Param_Test::StructSeq_out s3); - virtual Param_Test::PathSpec * test_unbounded_struct_sequence ( - const Param_Test::PathSpec & s1, - Param_Test::PathSpec & s2, - Param_Test::PathSpec_out s3); + virtual std::vector<Param_Test::Step> test_unbounded_struct_sequence ( + const std::vector<Param_Test::Step> & s1, + std::vector<Param_Test::Step> & s2, + std::vector<Param_Test::Step> s3); virtual Param_Test::Bounded_StructSeq * test_bounded_struct_sequence ( const Param_Test::Bounded_StructSeq & s1, |