diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-05-03 22:22:16 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-05-03 22:22:16 +0000 |
commit | 80bfdf466c1e6143df04eab38602d86354fc6adb (patch) | |
tree | 29d45a099b2b918908d187a2b71c1be02b924a77 | |
parent | 5e012fb3e0cb3b803e3a5f1dd4712ccf236bf35d (diff) | |
download | ATCD-80bfdf466c1e6143df04eab38602d86354fc6adb.tar.gz |
ChangeLogTag: Mon May 3 22:21:33 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | modules/TAO/ChangeLog | 31 | ||||
-rw-r--r-- | modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp | 2 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/Param_Test.mpc | 2 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/README | 34 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testC.cpp | 10087 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testC.h | 3539 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testC.inl | 930 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testS.cpp | 6783 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testS.h | 780 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_testS.inl | 29 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_test_i.cpp | 67 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/param_test_i.h | 37 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/ub_long_seq.cpp | 101 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/ub_long_seq.h | 12 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/ub_string.cpp | 91 | ||||
-rw-r--r-- | modules/TAO/tests/Param_Test/ub_string.h | 17 |
16 files changed, 217 insertions, 22325 deletions
diff --git a/modules/TAO/ChangeLog b/modules/TAO/ChangeLog index c17ac015617..e470f38f86b 100644 --- a/modules/TAO/ChangeLog +++ b/modules/TAO/ChangeLog @@ -1,3 +1,34 @@ +Mon May 3 22:21:33 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu> + + * tests/Param_Test/param_testC.cpp: + * tests/Param_Test/param_testS.cpp: + * tests/Param_Test/param_testC.h: + * tests/Param_Test/param_testS.h: + * tests/Param_Test/param_testC.inl: + * tests/Param_Test/param_testS.inl: + + Removed these from the repository in this + branch, all hand-crafted hacks have been + removed. + + * tests/Param_Test/ub_string.h: + * tests/Param_Test/param_test_i.cpp: + * tests/Param_Test/Param_Test.mpc: + * tests/Param_Test/ub_string.cpp: + * tests/Param_Test/ub_long_seq.h: + * tests/Param_Test/param_test_i.h: + * tests/Param_Test/README: + * tests/Param_Test/ub_long_seq.cpp: + + Restored these files to head version, the + STL support is now covered in its own test. + + * TAO_IDL/be/be_visitor_operation/operation.cpp: + + Fixed bug in code generation for unbounded + strings, in the logic to decide when to use + "std::string" and when not to. + Mon May 3 21:39:09 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu> * tests/Alt_Mapping/driver.h: 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 3f8a99a4cd0..3c178c8b11c 100644 --- a/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp +++ b/modules/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp @@ -533,7 +533,7 @@ be_visitor_operation::gen_arg_template_param_name (AST_Decl *scope, // in case it is a sequence or array. if (nt == AST_Decl::NT_string && bound == 0) { - if (ACE_OS::strcmp (this->ctx_->node ()->local_name ()->get_string (), "test_unbounded_string") == 0) + if (be_global->alt_mapping ()) { *os << "std::string"; } diff --git a/modules/TAO/tests/Param_Test/Param_Test.mpc b/modules/TAO/tests/Param_Test/Param_Test.mpc index c2c9d50fdb4..41280d6076e 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 -Gstl + idlflags -= -Sa -St param_test.idl } custom_only = 1 diff --git a/modules/TAO/tests/Param_Test/README b/modules/TAO/tests/Param_Test/README index f92bfc2397a..3bd468d2ff3 100644 --- a/modules/TAO/tests/Param_Test/README +++ b/modules/TAO/tests/Param_Test/README @@ -1,36 +1,16 @@ // $Id$ // ============================================================================ -// This version of Param_Test has been modified to use std::string for -// the test_unbounded_string operation, and std::vector for the -// test_long_sequence operation. Since modifications were done to generated -// code, Param_TestC.h, Param_TestC.cpp, Param_TestS.h, and Param_TestS.cpp -// have been added to the repository in this branch, for the time being until -// the branch is merged or until a dedicated test/example is created. // -// Each data type tested in Param_Test has its own class that plugs into the -// test framework. In this version, the classes in ub_string.{h,cpp} and -// ub_long_sequence.{h,cpp} have also been modified to use the respective -// STL types. These classes handle the nuts and bolts of a particular test - -// initializing and resetting the argument values, and validating the -// results. In this way, a single driver can run any or all of the tests. -// To test the modified data types, use the options '-t ubstring' or -// '-t ub_long_sequence'. All other options work as usual. +// = LIBRARY +// TAO/tests/Param_Test // -// Alternate versions of the CDR insertion and extraction operators were -// added, and the appropriate Arg_Traits<> declarations made at the top -// of Param_TestC.cpp. The arg traits specializations are then used in -// the stub code, which is not otherwise modified at all. -// Since the arg traits template classes (in the ORB) are also parameterized -// with an Any insert policy (for interceptors), dummy Any insertion and -// extraction operators had to be added for the std::* types as well. -// Since these operators are currently no-ops, the DII tests of the -// data types in question have been disabled. +// = FILENAME +// README +// +// = AUTHOR +// Aniruddha Gokhale // -// One final note, the MPC file for this test has been modified to remove -// the IDL processing step, since the generated stub files have been -// modified by hand. Since these generated files have been added to the -// repository, the test will build normally. // ============================================================================ This directory contains an application that tests all the parameter diff --git a/modules/TAO/tests/Param_Test/param_testC.cpp b/modules/TAO/tests/Param_Test/param_testC.cpp deleted file mode 100644 index c57d6db4cbf..00000000000 --- a/modules/TAO/tests/Param_Test/param_testC.cpp +++ /dev/null @@ -1,10087 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:381 - - -#include "param_testC.h" -#include "tao/AnyTypeCode/Null_RefCount_Policy.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" -#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" -#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" -#include "tao/AnyTypeCode/Sequence_TypeCode_Static.h" -#include "tao/AnyTypeCode/String_TypeCode_Static.h" -#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" -#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" -#include "tao/AnyTypeCode/TypeCode_Case_T.h" -#include "tao/AnyTypeCode/Union_TypeCode_Static.h" -#include "tao/AnyTypeCode/Recursive_Type_TypeCode.h" -#include "tao/CDR.h" -#include "tao/Exception_Data.h" -#include "tao/Invocation_Adapter.h" -#include "tao/Object_T.h" -#include "tao/SystemException.h" -#include "tao/CDR.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/AnyTypeCode/Any_Impl_T.h" -#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" -#include "tao/Fixed_Array_Argument_T.h" -#include "tao/Fixed_Size_Argument_T.h" -#include "tao/Object_Argument_T.h" -#include "tao/UB_String_Arguments.h" -#include "tao/Var_Array_Argument_T.h" -#include "tao/Var_Size_Argument_T.h" -#include "tao/Vector_Argument_T.h" -#include "tao/AnyTypeCode/Any_Arg_Traits.h" -#include "ace/OS_NS_string.h" - -#if !defined (__ACE_INLINE__) -#include "param_testC.inl" -#endif /* !defined INLINE */ - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:73 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Arg traits specializations. -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<std::vector<CORBA::Long> > - : public - 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:621 - -#if !defined (_CORBA_SHORTSEQ__ARG_TRAITS_) -#define _CORBA_SHORTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::Short> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::Short>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_STRINGSEQ__ARG_TRAITS_) -#define _CORBA_STRINGSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<char *> > - : public - Vector_Arg_Traits_T< - std::vector<char *>, - TAO::Any_Insert_Policy_Stream<std::vector<char *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_WSTRINGSEQ__ARG_TRAITS_) -#define _CORBA_WSTRINGSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::WChar *> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::WChar *>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_ANYSEQ__ARG_TRAITS_) -#define _CORBA_ANYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::Any> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::Any>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:141 - -#if !defined (_COFFEE__ARG_TRAITS_) -#define _COFFEE__ARG_TRAITS_ - - template<> - class Arg_Traits<Coffee> - : public - Object_Arg_Traits_T< - Coffee_ptr, - Coffee_var, - Coffee_out, - TAO::Objref_Traits<Coffee>, - TAO::Any_Insert_Policy_Stream <Coffee_ptr> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_COFFEE_DESC__ARG_TRAITS_) -#define _COFFEE_DESC__ARG_TRAITS_ - - template<> - class Arg_Traits<Coffee::Desc> - : public - Var_Size_Arg_Traits_T< - Coffee::Desc, - TAO::Any_Insert_Policy_Stream <Coffee::Desc> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_STRING128__ARG_TRAITS_) -#define _SHORT_STRING128__ARG_TRAITS_ - - struct short_string_128 {}; - - template<> - class Arg_Traits<short_string_128> - : public - BD_String_Arg_Traits_T< - CORBA::String_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_string - > - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_WSTRING128__ARG_TRAITS_) -#define _SHORT_WSTRING128__ARG_TRAITS_ - - struct short_wstring_128 {}; - - template<> - class Arg_Traits<short_wstring_128> - : public - BD_String_Arg_Traits_T< - CORBA::WString_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_wstring - > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Fixed_Struct> - : public - Fixed_Size_Arg_Traits_T< - Param_Test::Fixed_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_PATHSPEC__ARG_TRAITS_) -#define _PARAM_TEST_PATHSPEC__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Step> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Step>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Short_Seq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Long_Seq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_StrSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_WStrSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_STRUCTSEQ__ARG_TRAITS_) -#define _PARAM_TEST_STRUCTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Fixed_Struct> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Fixed_Struct>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_StructSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\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<std::vector<Coffee> > - : public - Vector_Arg_Traits_T< - std::vector<Coffee>, - TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Coffee_Mix> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_VAR_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_VAR_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Var_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Var_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Nested_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Nested_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Nested_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Objref_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Objref_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Objref_Struct> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_FIXED_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_FIXED_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Fixed_Array_tag> - : public - Fixed_Array_Arg_Traits_T< - Param_Test::Fixed_Array_var, - Param_Test::Fixed_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_VAR_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_VAR_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Var_Array_tag> - : public - Var_Array_Arg_Traits_T< - Param_Test::Var_Array_out, - Param_Test::Var_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_ARRAYSEQ__ARG_TRAITS_) -#define _PARAM_TEST_ARRAYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Fixed_Array> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Fixed_Array>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_ArraySeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_BIG_UNION__ARG_TRAITS_) -#define _PARAM_TEST_BIG_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Big_Union> - : public - Var_Size_Arg_Traits_T< - Param_Test::Big_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Big_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_SMALL_UNION__ARG_TRAITS_) -#define _PARAM_TEST_SMALL_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Small_Union> - : public - Fixed_Size_Arg_Traits_T< - Param_Test::Small_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Small_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Recursive_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Recursive_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Recursive_Union> - : public - Var_Size_Arg_Traits_T< - Param_Test::Recursive_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Union> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_MULTDIM_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_MULTDIM_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Multdim_Array_tag> - : public - Fixed_Array_Arg_Traits_T< - Param_Test::Multdim_Array_var, - Param_Test::Multdim_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Multdim_Array_forany> - > - { - }; - -#endif /* end #if !defined */ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for Coffee. - -Coffee_ptr -TAO::Objref_Traits<Coffee>::duplicate ( - Coffee_ptr p) -{ - return Coffee::_duplicate (p); -} - -void -TAO::Objref_Traits<Coffee>::release ( - Coffee_ptr p) -{ - ::CORBA::release (p); -} - -Coffee_ptr -TAO::Objref_Traits<Coffee>::nil (void) -{ - return Coffee::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<Coffee>::marshal ( - const Coffee_ptr p, - TAO_OutputCDR & cdr) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -// Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * -(*_TAO_Coffee_Proxy_Broker_Factory_function_pointer) ( - ::CORBA::Object_ptr obj - ) = 0; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Coffee_Desc[] = - { - { "name", &CORBA::_tc_string } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Coffee_Desc ( - ::CORBA::tk_struct, - "IDL:Coffee/Desc:1.0", - "Desc", - _tao_fields_Coffee_Desc, - 1); - -::CORBA::TypeCode_ptr const Coffee::_tc_Desc = - &_tao_tc_Coffee_Desc; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Coffee::Desc::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Desc *_tao_tmp_pointer = - static_cast<Desc *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::Coffee::Desc * -Coffee::description (void) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Coffee_Proxy_Broker_ == 0) - { - Coffee_setup_collocation (); - } - - TAO::Arg_Traits< ::Coffee::Desc>::ret_val _tao_retval; - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 1, - "_get_description", - 16, - this->the_TAO_Coffee_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -void -Coffee::description ( - const Coffee::Desc & description) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Coffee_Proxy_Broker_ == 0) - { - Coffee_setup_collocation (); - } - - TAO::Arg_Traits< void>::ret_val _tao_retval; - TAO::Arg_Traits< ::Coffee::Desc>::in_arg_val _tao_description (description); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_description - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 2, - "_set_description", - 16, - this->the_TAO_Coffee_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); -} - -Coffee::Coffee (void) - : the_TAO_Coffee_Proxy_Broker_ (0) -{ - this->Coffee_setup_collocation (); -} - -void -Coffee::Coffee_setup_collocation () -{ - if (::_TAO_Coffee_Proxy_Broker_Factory_function_pointer) - { - this->the_TAO_Coffee_Proxy_Broker_ = - ::_TAO_Coffee_Proxy_Broker_Factory_function_pointer (this); - } -} - -Coffee::~Coffee (void) -{} - -void -Coffee::_tao_any_destructor (void *_tao_void_pointer) -{ - Coffee *_tao_tmp_pointer = - static_cast<Coffee *> (_tao_void_pointer); - ::CORBA::release (_tao_tmp_pointer); -} - -Coffee_ptr -Coffee::_narrow ( - ::CORBA::Object_ptr _tao_objref - ) -{ - return - TAO::Narrow_Utils<Coffee>::narrow ( - _tao_objref, - "IDL:Coffee:1.0", - _TAO_Coffee_Proxy_Broker_Factory_function_pointer - ); -} - -Coffee_ptr -Coffee::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ) -{ - return - TAO::Narrow_Utils<Coffee>::unchecked_narrow ( - _tao_objref, - "IDL:Coffee:1.0", - _TAO_Coffee_Proxy_Broker_Factory_function_pointer - ); -} - -Coffee_ptr -Coffee::_duplicate (Coffee_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -Coffee::_tao_release (Coffee_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -Coffee::_is_a (const char *value) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:Coffee:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return this->::CORBA::Object::_is_a (value); - } -} - -const char* Coffee::_interface_repository_id (void) const -{ - return "IDL:Coffee:1.0"; -} - -::CORBA::Boolean -Coffee::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_Coffee ( - ::CORBA::tk_objref, - "IDL:Coffee:1.0", - "Coffee"); - -::CORBA::TypeCode_ptr const _tc_Coffee = - &_tao_tc_Coffee; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_cs.cpp:60 - -// Traits specializations for Param_Test. - -Param_Test_ptr -TAO::Objref_Traits<Param_Test>::duplicate ( - Param_Test_ptr p) -{ - return Param_Test::_duplicate (p); -} - -void -TAO::Objref_Traits<Param_Test>::release ( - Param_Test_ptr p) -{ - ::CORBA::release (p); -} - -Param_Test_ptr -TAO::Objref_Traits<Param_Test>::nil (void) -{ - return Param_Test::_nil (); -} - -::CORBA::Boolean -TAO::Objref_Traits<Param_Test>::marshal ( - const Param_Test_ptr p, - TAO_OutputCDR & cdr) -{ - return ::CORBA::Object::marshal (p, cdr); -} - -// Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * -(*_TAO_Param_Test_Proxy_Broker_Factory_function_pointer) ( - ::CORBA::Object_ptr obj - ) = 0; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::Short -Param_Test::test_short ( - CORBA::Short s1, - CORBA::Short & s2, - CORBA::Short_out s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::Short>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::Short>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::Short>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::Short>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_short", - 10, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::ULongLong -Param_Test::test_ulonglong ( - CORBA::ULongLong s1, - CORBA::ULongLong & s2, - CORBA::ULongLong_out s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::ULongLong>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::ULongLong>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::ULongLong>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::ULongLong>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_ulonglong", - 14, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::string -Param_Test::test_unbounded_string ( - const std::string s1, - std::string & s2, - std::string & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< std::string>::ret_val _tao_retval; - TAO::Arg_Traits< std::string>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< std::string>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< std::string>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_unbounded_string", - 21, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:611 - - -#ifndef _TAO_TYPECODE_CORBA_STRING_128_GUARD -#define _TAO_TYPECODE_CORBA_STRING_128_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::String<TAO::Null_RefCount_Policy> - CORBA_STRING_128 ( - ::CORBA::tk_string, - 128U); - - ::CORBA::TypeCode_ptr const tc_CORBA_STRING_128 = - &CORBA_STRING_128; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_CORBA_STRING_128_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_short_string ( - ::CORBA::tk_alias, - "IDL:Param_Test/short_string:1.0", - "short_string", - &TAO::TypeCode::tc_CORBA_STRING_128); - -::CORBA::TypeCode_ptr const Param_Test::_tc_short_string = - &_tao_tc_Param_Test_short_string; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -char * -Param_Test::test_bounded_string ( - const char * s1, - char *& s2, - ::CORBA::String_out s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::TAO::short_string_128>::ret_val _tao_retval; - TAO::Arg_Traits< ::TAO::short_string_128>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::TAO::short_string_128>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::TAO::short_string_128>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_string", - 19, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::WChar * -Param_Test::test_unbounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::WChar *>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::WChar *>::in_arg_val _tao_ws1 (ws1); - TAO::Arg_Traits< ::CORBA::WChar *>::inout_arg_val _tao_ws2 (ws2); - TAO::Arg_Traits< ::CORBA::WChar *>::out_arg_val _tao_ws3 (ws3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_unbounded_wstring", - 22, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:611 - - -#ifndef _TAO_TYPECODE_CORBA_WSTRING_128_GUARD -#define _TAO_TYPECODE_CORBA_WSTRING_128_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::String<TAO::Null_RefCount_Policy> - CORBA_WSTRING_128 ( - ::CORBA::tk_wstring, - 128U); - - ::CORBA::TypeCode_ptr const tc_CORBA_WSTRING_128 = - &CORBA_WSTRING_128; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_CORBA_WSTRING_128_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_short_wstring ( - ::CORBA::tk_alias, - "IDL:Param_Test/short_wstring:1.0", - "short_wstring", - &TAO::TypeCode::tc_CORBA_WSTRING_128); - -::CORBA::TypeCode_ptr const Param_Test::_tc_short_wstring = - &_tao_tc_Param_Test_short_wstring; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::WChar * -Param_Test::test_bounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::TAO::short_wstring_128>::ret_val _tao_retval; - TAO::Arg_Traits< ::TAO::short_wstring_128>::in_arg_val _tao_ws1 (ws1); - TAO::Arg_Traits< ::TAO::short_wstring_128>::inout_arg_val _tao_ws2 (ws2); - TAO::Arg_Traits< ::TAO::short_wstring_128>::out_arg_val _tao_ws3 (ws3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_wstring", - 20, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Fixed_Struct[] = - { - { "l", &CORBA::_tc_long }, - { "c", &CORBA::_tc_char }, - { "s", &CORBA::_tc_short }, - { "o", &CORBA::_tc_octet }, - { "f", &CORBA::_tc_float }, - { "b", &CORBA::_tc_boolean }, - { "d", &CORBA::_tc_double } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Fixed_Struct ( - ::CORBA::tk_struct, - "IDL:Param_Test/Fixed_Struct:1.0", - "Fixed_Struct", - _tao_fields_Param_Test_Fixed_Struct, - 7); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Fixed_Struct = - &_tao_tc_Param_Test_Fixed_Struct; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Fixed_Struct::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Fixed_Struct *_tao_tmp_pointer = - static_cast<Fixed_Struct *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Fixed_Struct>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Fixed_Struct>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Fixed_Struct>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Fixed_Struct>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_fixed_struct", - 17, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_NameComponent[] = - { - { "id", &CORBA::_tc_string }, - { "kind", &CORBA::_tc_string } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_NameComponent ( - ::CORBA::tk_struct, - "IDL:Param_Test/NameComponent:1.0", - "NameComponent", - _tao_fields_Param_Test_NameComponent, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_NameComponent = - &_tao_tc_Param_Test_NameComponent; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::NameComponent::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - NameComponent *_tao_tmp_pointer = - static_cast<NameComponent *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Step[] = - { - { "name", &Param_Test::_tc_NameComponent }, - { "process", &CORBA::_tc_boolean } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Step ( - ::CORBA::tk_struct, - "IDL:Param_Test/Step:1.0", - "Step", - _tao_fields_Param_Test_Step, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Step = - &_tao_tc_Param_Test_Step; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Step::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Step *_tao_tmp_pointer = - static_cast<Step *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_PATHSPEC_CS_) -#define _PARAM_TEST_PATHSPEC_CS_ - -Param_Test::PathSpec::PathSpec (void) -{} - -Param_Test::PathSpec::PathSpec ( - ::CORBA::ULong max) - : std::vector<Step> (max) -{} - -Param_Test::PathSpec::PathSpec ( - const PathSpec &seq) - : std::vector<Step> (seq) -{} - -Param_Test::PathSpec::~PathSpec (void) -{} - -::CORBA::ULong -Param_Test::PathSpec::length (void) const -{ - return this->size (); -} - -void -Param_Test::PathSpec::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -void Param_Test::PathSpec::_tao_any_destructor ( - void * _tao_void_pointer) -{ - PathSpec * _tao_tmp_pointer = - static_cast<PathSpec *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_PathSpec_GUARD -#define _TAO_TYPECODE_Param_Test_PathSpec_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_PathSpec_0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Step, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_PathSpec_0 = - &Param_Test_PathSpec_0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_PathSpec_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_PathSpec ( - ::CORBA::tk_alias, - "IDL:Param_Test/PathSpec:1.0", - "PathSpec", - &TAO::TypeCode::tc_Param_Test_PathSpec_0); - -::CORBA::TypeCode_ptr const Param_Test::_tc_PathSpec = - &_tao_tc_Param_Test_PathSpec; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Param_Test::Step> -Param_Test::test_unbounded_struct_sequence ( - const std::vector<Param_Test::Step> & s1, - std::vector<Param_Test::Step> & s2, - std::vector<Param_Test::Step> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_unbounded_struct_sequence", - 30, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::Short> -Param_Test::test_short_sequence ( - const std::vector<CORBA::Short> & s1, - std::vector<CORBA::Short> & s2, - std::vector<CORBA::Short> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_short_sequence", - 19, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ_CS_) -#define _PARAM_TEST_BOUNDED_SHORT_SEQ_CS_ - -Param_Test::Bounded_Short_Seq::Bounded_Short_Seq (void) -{} - -Param_Test::Bounded_Short_Seq::Bounded_Short_Seq ( - ::CORBA::ULong length, - ::CORBA::Short * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_value_sequence< - ::CORBA::Short, - 32 - > - (length, buffer, release) -{} - -Param_Test::Bounded_Short_Seq::Bounded_Short_Seq ( - const Bounded_Short_Seq &seq) - : TAO::bounded_value_sequence< - ::CORBA::Short, - 32 - > (seq) -{} - -Param_Test::Bounded_Short_Seq::~Bounded_Short_Seq (void) -{} - -void Param_Test::Bounded_Short_Seq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_Short_Seq * _tao_tmp_pointer = - static_cast<Bounded_Short_Seq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_Short_Seq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_Short_Seq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_Short_Seq_32 ( - ::CORBA::tk_sequence, - &CORBA::_tc_short, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_Short_Seq_32 = - &Param_Test_Bounded_Short_Seq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_Short_Seq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_Short_Seq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_Short_Seq:1.0", - "Bounded_Short_Seq", - &TAO::TypeCode::tc_Param_Test_Bounded_Short_Seq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_Short_Seq = - &_tao_tc_Param_Test_Bounded_Short_Seq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::Short> -Param_Test::test_bounded_short_sequence ( - const std::vector<CORBA::Short> & s1, - std::vector<CORBA::Short> & s2, - std::vector<CORBA::Short> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_short_sequence", - 27, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::Long> -Param_Test::test_long_sequence ( - const std::vector<CORBA::Long> & s1, - std::vector<CORBA::Long> & s2, - std::vector<CORBA::Long> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_long_sequence", - 18, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ_CS_) -#define _PARAM_TEST_BOUNDED_LONG_SEQ_CS_ - -Param_Test::Bounded_Long_Seq::Bounded_Long_Seq (void) -{} - -Param_Test::Bounded_Long_Seq::Bounded_Long_Seq ( - ::CORBA::ULong length, - ::CORBA::Long * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_value_sequence< - ::CORBA::Long, - 32 - > - (length, buffer, release) -{} - -Param_Test::Bounded_Long_Seq::Bounded_Long_Seq ( - const Bounded_Long_Seq &seq) - : TAO::bounded_value_sequence< - ::CORBA::Long, - 32 - > (seq) -{} - -Param_Test::Bounded_Long_Seq::~Bounded_Long_Seq (void) -{} - -void Param_Test::Bounded_Long_Seq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_Long_Seq * _tao_tmp_pointer = - static_cast<Bounded_Long_Seq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_Long_Seq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_Long_Seq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_Long_Seq_32 ( - ::CORBA::tk_sequence, - &CORBA::_tc_long, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_Long_Seq_32 = - &Param_Test_Bounded_Long_Seq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_Long_Seq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_Long_Seq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_Long_Seq:1.0", - "Bounded_Long_Seq", - &TAO::TypeCode::tc_Param_Test_Bounded_Long_Seq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_Long_Seq = - &_tao_tc_Param_Test_Bounded_Long_Seq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::Long> -Param_Test::test_bounded_long_sequence ( - const std::vector<CORBA::Long> & s1, - std::vector<CORBA::Long> & s2, - std::vector<CORBA::Long> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_long_sequence", - 26, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<char *> -Param_Test::test_strseq ( - const std::vector<char *> & s1, - std::vector<char *> & s2, - std::vector<char *> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_strseq", - 11, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_STRSEQ_CS_) -#define _PARAM_TEST_BOUNDED_STRSEQ_CS_ - -Param_Test::Bounded_StrSeq::Bounded_StrSeq (void) -{} - -Param_Test::Bounded_StrSeq::Bounded_StrSeq ( - ::CORBA::ULong length, - ::CORBA::Char * * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_basic_string_sequence<char, 32> - (length, buffer, release) -{} - -Param_Test::Bounded_StrSeq::Bounded_StrSeq ( - const Bounded_StrSeq &seq) - : TAO::bounded_basic_string_sequence<char, 32> (seq) -{} - -Param_Test::Bounded_StrSeq::~Bounded_StrSeq (void) -{} - -void Param_Test::Bounded_StrSeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_StrSeq * _tao_tmp_pointer = - static_cast<Bounded_StrSeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_StrSeq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_StrSeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_StrSeq_32 ( - ::CORBA::tk_sequence, - &CORBA::_tc_string, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_StrSeq_32 = - &Param_Test_Bounded_StrSeq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_StrSeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_StrSeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_StrSeq:1.0", - "Bounded_StrSeq", - &TAO::TypeCode::tc_Param_Test_Bounded_StrSeq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_StrSeq = - &_tao_tc_Param_Test_Bounded_StrSeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<char *> -Param_Test::test_bounded_strseq ( - const std::vector<char *> & s1, - std::vector<char *> & s2, - std::vector<char *> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_strseq", - 19, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::WChar *> -Param_Test::test_wstrseq ( - const std::vector<CORBA::WChar *> & ws1, - std::vector<CORBA::WChar *> & ws2, - std::vector<CORBA::WChar *> & ws3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_wstrseq", - 12, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ_CS_) -#define _PARAM_TEST_BOUNDED_WSTRSEQ_CS_ - -Param_Test::Bounded_WStrSeq::Bounded_WStrSeq (void) -{} - -Param_Test::Bounded_WStrSeq::Bounded_WStrSeq ( - ::CORBA::ULong length, - ::CORBA::WChar * * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_basic_string_sequence<CORBA::WChar, 32> - (length, buffer, release) -{} - -Param_Test::Bounded_WStrSeq::Bounded_WStrSeq ( - const Bounded_WStrSeq &seq) - : TAO::bounded_basic_string_sequence<CORBA::WChar, 32> (seq) -{} - -Param_Test::Bounded_WStrSeq::~Bounded_WStrSeq (void) -{} - -void Param_Test::Bounded_WStrSeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_WStrSeq * _tao_tmp_pointer = - static_cast<Bounded_WStrSeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_WStrSeq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_WStrSeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_WStrSeq_32 ( - ::CORBA::tk_sequence, - &CORBA::_tc_wstring, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_WStrSeq_32 = - &Param_Test_Bounded_WStrSeq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_WStrSeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_WStrSeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_WStrSeq:1.0", - "Bounded_WStrSeq", - &TAO::TypeCode::tc_Param_Test_Bounded_WStrSeq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_WStrSeq = - &_tao_tc_Param_Test_Bounded_WStrSeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::WChar *> -Param_Test::test_bounded_wstrseq ( - const std::vector<CORBA::WChar *> & ws1, - std::vector<CORBA::WChar *> & ws2, - std::vector<CORBA::WChar *> & ws3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_wstrseq", - 20, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_STRUCTSEQ_CS_) -#define _PARAM_TEST_STRUCTSEQ_CS_ - -Param_Test::StructSeq::StructSeq (void) -{} - -Param_Test::StructSeq::StructSeq ( - ::CORBA::ULong max) - : std::vector<Fixed_Struct> (max) -{} - -Param_Test::StructSeq::StructSeq ( - const StructSeq &seq) - : std::vector<Fixed_Struct> (seq) -{} - -Param_Test::StructSeq::~StructSeq (void) -{} - -::CORBA::ULong -Param_Test::StructSeq::length (void) const -{ - return this->size (); -} - -void -Param_Test::StructSeq::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -void Param_Test::StructSeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - StructSeq * _tao_tmp_pointer = - static_cast<StructSeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_StructSeq_GUARD -#define _TAO_TYPECODE_Param_Test_StructSeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_StructSeq_0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Fixed_Struct, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_StructSeq_0 = - &Param_Test_StructSeq_0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_StructSeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_StructSeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/StructSeq:1.0", - "StructSeq", - &TAO::TypeCode::tc_Param_Test_StructSeq_0); - -::CORBA::TypeCode_ptr const Param_Test::_tc_StructSeq = - &_tao_tc_Param_Test_StructSeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Param_Test::Fixed_Struct> -Param_Test::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_struct_sequence", - 20, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ_CS_) -#define _PARAM_TEST_BOUNDED_STRUCTSEQ_CS_ - -Param_Test::Bounded_StructSeq::Bounded_StructSeq (void) -{} - -Param_Test::Bounded_StructSeq::Bounded_StructSeq ( - ::CORBA::ULong length, - Param_Test::Fixed_Struct * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_value_sequence< - Fixed_Struct, - 32 - > - (length, buffer, release) -{} - -Param_Test::Bounded_StructSeq::Bounded_StructSeq ( - const Bounded_StructSeq &seq) - : TAO::bounded_value_sequence< - Fixed_Struct, - 32 - > (seq) -{} - -Param_Test::Bounded_StructSeq::~Bounded_StructSeq (void) -{} - -void Param_Test::Bounded_StructSeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_StructSeq * _tao_tmp_pointer = - static_cast<Bounded_StructSeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_StructSeq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_StructSeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_StructSeq_32 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Fixed_Struct, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_StructSeq_32 = - &Param_Test_Bounded_StructSeq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_StructSeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_StructSeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_StructSeq:1.0", - "Bounded_StructSeq", - &TAO::TypeCode::tc_Param_Test_Bounded_StructSeq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_StructSeq = - &_tao_tc_Param_Test_Bounded_StructSeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Param_Test::Fixed_Struct> -Param_Test::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_struct_sequence", - 28, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_COFFEE_MIX_CS_) -#define _PARAM_TEST_COFFEE_MIX_CS_ - -Param_Test::Coffee_Mix::Coffee_Mix (void) -{} - -Param_Test::Coffee_Mix::Coffee_Mix ( - ::CORBA::ULong max) - : std::vector<Coffee> (max) -{} - -Param_Test::Coffee_Mix::Coffee_Mix ( - const Coffee_Mix &seq) - : std::vector<Coffee> (seq) -{} - -Param_Test::Coffee_Mix::~Coffee_Mix (void) -{} - -::CORBA::ULong -Param_Test::Coffee_Mix::length (void) const -{ - return this->size (); -} - -void -Param_Test::Coffee_Mix::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -void Param_Test::Coffee_Mix::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Coffee_Mix * _tao_tmp_pointer = - static_cast<Coffee_Mix *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Coffee_Mix_GUARD -#define _TAO_TYPECODE_Param_Test_Coffee_Mix_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Coffee_Mix_0 ( - ::CORBA::tk_sequence, - &_tc_Coffee, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Coffee_Mix_0 = - &Param_Test_Coffee_Mix_0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Coffee_Mix_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Coffee_Mix ( - ::CORBA::tk_alias, - "IDL:Param_Test/Coffee_Mix:1.0", - "Coffee_Mix", - &TAO::TypeCode::tc_Param_Test_Coffee_Mix_0); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Coffee_Mix = - &_tao_tc_Param_Test_Coffee_Mix; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Coffee> -Param_Test::test_coffe_mix ( - const std::vector<Coffee> & s1, - std::vector<Coffee> & s2, - std::vector<Coffee> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_coffe_mix", - 14, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX_CS_) -#define _PARAM_TEST_BOUNDED_COFFEE_MIX_CS_ - -Param_Test::Bounded_Coffee_Mix::Bounded_Coffee_Mix (void) -{} - -Param_Test::Bounded_Coffee_Mix::Bounded_Coffee_Mix ( - ::CORBA::ULong length, - Coffee_ptr * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_object_reference_sequence< - Coffee, - Coffee_var, - 32 - > - (length, buffer, release) -{} - -Param_Test::Bounded_Coffee_Mix::Bounded_Coffee_Mix ( - const Bounded_Coffee_Mix &seq) - : TAO::bounded_object_reference_sequence< - Coffee, - Coffee_var, - 32 - > (seq) -{} - -Param_Test::Bounded_Coffee_Mix::~Bounded_Coffee_Mix (void) -{} - -void Param_Test::Bounded_Coffee_Mix::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_Coffee_Mix * _tao_tmp_pointer = - static_cast<Bounded_Coffee_Mix *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_Coffee_Mix_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_Coffee_Mix_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_Coffee_Mix_32 ( - ::CORBA::tk_sequence, - &_tc_Coffee, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_Coffee_Mix_32 = - &Param_Test_Bounded_Coffee_Mix_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_Coffee_Mix_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_Coffee_Mix ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_Coffee_Mix:1.0", - "Bounded_Coffee_Mix", - &TAO::TypeCode::tc_Param_Test_Bounded_Coffee_Mix_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_Coffee_Mix = - &_tao_tc_Param_Test_Bounded_Coffee_Mix; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Coffee> -Param_Test::test_bounded_coffe_mix ( - const std::vector<Coffee> & s1, - std::vector<Coffee> & s2, - std::vector<Coffee> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_coffe_mix", - 22, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<CORBA::Any> -Param_Test::test_anyseq ( - const std::vector<CORBA::Any> & s1, - std::vector<CORBA::Any> & s2, - std::vector<CORBA::Any> & s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_anyseq", - 11, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_DUMMY ( - ::CORBA::tk_alias, - "IDL:Param_Test/DUMMY:1.0", - "DUMMY", - &CORBA::_tc_string); - -::CORBA::TypeCode_ptr const Param_Test::_tc_DUMMY = - &_tao_tc_Param_Test_DUMMY; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Var_Struct[] = - { - { "dbl", &CORBA::_tc_double }, - { "dummy1", &Param_Test::_tc_DUMMY }, - { "boole", &CORBA::_tc_boolean }, - { "dummy2", &Param_Test::_tc_DUMMY }, - { "shrt", &CORBA::_tc_short }, - { "seq", &CORBA::_tc_StringSeq } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Var_Struct ( - ::CORBA::tk_struct, - "IDL:Param_Test/Var_Struct:1.0", - "Var_Struct", - _tao_fields_Param_Test_Var_Struct, - 6); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Var_Struct = - &_tao_tc_Param_Test_Var_Struct; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Var_Struct::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Var_Struct *_tao_tmp_pointer = - static_cast<Var_Struct *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Var_Struct>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Var_Struct>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Var_Struct>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Var_Struct>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_var_struct", - 15, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Nested_Struct[] = - { - { "vs", &Param_Test::_tc_Var_Struct } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Nested_Struct ( - ::CORBA::tk_struct, - "IDL:Param_Test/Nested_Struct:1.0", - "Nested_Struct", - _tao_fields_Param_Test_Nested_Struct, - 1); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Nested_Struct = - &_tao_tc_Param_Test_Nested_Struct; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Nested_Struct::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Nested_Struct *_tao_tmp_pointer = - static_cast<Nested_Struct *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Nested_Struct>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Nested_Struct>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::Param_Test::Nested_Struct>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::Param_Test::Nested_Struct>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_nested_struct", - 18, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::Coffee_ptr -Param_Test::make_coffee (void) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Coffee>::ret_val _tao_retval; - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 1, - "make_coffee", - 11, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::Coffee_ptr -Param_Test::test_objref ( - Coffee_ptr o1, - Coffee_ptr & o2, - Coffee_out o3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Coffee>::ret_val _tao_retval; - TAO::Arg_Traits< ::Coffee>::in_arg_val _tao_o1 (o1); - TAO::Arg_Traits< ::Coffee>::inout_arg_val _tao_o2 (o2); - TAO::Arg_Traits< ::Coffee>::out_arg_val _tao_o3 (o3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_o1, - &_tao_o2, - &_tao_o3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_objref", - 11, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::TypeCode_ptr -Param_Test::test_typecode ( - CORBA::TypeCode_ptr t1, - CORBA::TypeCode_ptr & t2, - CORBA::TypeCode_out t3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::TypeCode>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::TypeCode>::in_arg_val _tao_t1 (t1); - TAO::Arg_Traits< ::CORBA::TypeCode>::inout_arg_val _tao_t2 (t2); - TAO::Arg_Traits< ::CORBA::TypeCode>::out_arg_val _tao_t3 (t3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_t1, - &_tao_t2, - &_tao_t3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_typecode", - 13, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::Any * -Param_Test::test_any ( - const CORBA::Any & a1, - CORBA::Any & a2, - CORBA::Any_out a3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::Any>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::Any>::in_arg_val _tao_a1 (a1); - TAO::Arg_Traits< ::CORBA::Any>::inout_arg_val _tao_a2 (a2); - TAO::Arg_Traits< ::CORBA::Any>::out_arg_val _tao_a3 (a3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_a1, - &_tao_a2, - &_tao_a3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_any", - 8, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Objref_Struct[] = - { - { "x", &CORBA::_tc_long }, - { "y", &_tc_Coffee } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Objref_Struct ( - ::CORBA::tk_struct, - "IDL:Param_Test/Objref_Struct:1.0", - "Objref_Struct", - _tao_fields_Param_Test_Objref_Struct, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Objref_Struct = - &_tao_tc_Param_Test_Objref_Struct; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Objref_Struct::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Objref_Struct *_tao_tmp_pointer = - static_cast<Objref_Struct *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Objref_Struct>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Objref_Struct>::in_arg_val _tao_t1 (t1); - TAO::Arg_Traits< ::Param_Test::Objref_Struct>::inout_arg_val _tao_t2 (t2); - TAO::Arg_Traits< ::Param_Test::Objref_Struct>::out_arg_val _tao_t3 (t3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_t1, - &_tao_t2, - &_tao_t3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_objref_struct", - 18, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_constant/constant_cs.cpp:71 - -#ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - const CORBA::ULong Param_Test::DIM1; -#endif // ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_cs.cpp:109 - -Param_Test::Fixed_Array_slice * -Param_Test::Fixed_Array_dup (const Param_Test::Fixed_Array_slice *_tao_src_array) -{ - Param_Test::Fixed_Array_slice *_tao_dup_array = - Param_Test::Fixed_Array_alloc (); - - if (!_tao_dup_array) - { - return static_cast <Param_Test::Fixed_Array_slice *> (0); - } - - Param_Test::Fixed_Array_copy (_tao_dup_array, _tao_src_array); - return _tao_dup_array; -} - -Param_Test::Fixed_Array_slice * -Param_Test::Fixed_Array_alloc (void) -{ - Param_Test::Fixed_Array_slice *retval = 0; - ACE_NEW_RETURN (retval, ::CORBA::Long[10], 0); - return retval; -} - -void -Param_Test::Fixed_Array_free ( - Param_Test::Fixed_Array_slice *_tao_slice - ) -{ - delete [] _tao_slice; -} - -void -Param_Test::Fixed_Array_copy ( - Param_Test::Fixed_Array_slice * _tao_to, - const Param_Test::Fixed_Array_slice *_tao_from - ) -{ - // Copy each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 10; ++i0) - { - _tao_to[i0] = _tao_from[i0]; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:359 - - -#ifndef _TAO_TYPECODE_Param_Test_Fixed_Array_GUARD -#define _TAO_TYPECODE_Param_Test_Fixed_Array_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Fixed_Array_10 ( - ::CORBA::tk_array, - &CORBA::_tc_long, - 10U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Fixed_Array = - &Param_Test_Fixed_Array_10; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Fixed_Array_GUARD */ -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Fixed_Array ( - ::CORBA::tk_alias, - "IDL:Param_Test/Fixed_Array:1.0", - "Fixed_Array", - &TAO::TypeCode::tc_Param_Test_Fixed_Array); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Fixed_Array = - &_tao_tc_Param_Test_Fixed_Array; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Fixed_Array_tag>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Fixed_Array_tag>::in_arg_val _tao_l1 (l1); - TAO::Arg_Traits< ::Param_Test::Fixed_Array_tag>::inout_arg_val _tao_l2 (l2); - TAO::Arg_Traits< ::Param_Test::Fixed_Array_tag>::out_arg_val _tao_l3 (l3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_l1, - &_tao_l2, - &_tao_l3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_fixed_array", - 16, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_constant/constant_cs.cpp:71 - -#ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - const CORBA::ULong Param_Test::DIM2; -#endif // ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_cs.cpp:109 - -Param_Test::Var_Array_slice * -Param_Test::Var_Array_dup (const Param_Test::Var_Array_slice *_tao_src_array) -{ - Param_Test::Var_Array_slice *_tao_dup_array = - Param_Test::Var_Array_alloc (); - - if (!_tao_dup_array) - { - return static_cast <Param_Test::Var_Array_slice *> (0); - } - - Param_Test::Var_Array_copy (_tao_dup_array, _tao_src_array); - return _tao_dup_array; -} - -Param_Test::Var_Array_slice * -Param_Test::Var_Array_alloc (void) -{ - Param_Test::Var_Array_slice *retval = 0; - ACE_NEW_RETURN (retval, TAO::String_Manager[5], 0); - return retval; -} - -void -Param_Test::Var_Array_free ( - Param_Test::Var_Array_slice *_tao_slice - ) -{ - delete [] _tao_slice; -} - -void -Param_Test::Var_Array_copy ( - Param_Test::Var_Array_slice * _tao_to, - const Param_Test::Var_Array_slice *_tao_from - ) -{ - // Copy each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 5; ++i0) - { - _tao_to[i0] = _tao_from[i0]; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:359 - - -#ifndef _TAO_TYPECODE_Param_Test_Var_Array_GUARD -#define _TAO_TYPECODE_Param_Test_Var_Array_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Var_Array_5 ( - ::CORBA::tk_array, - &CORBA::_tc_string, - 5U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Var_Array = - &Param_Test_Var_Array_5; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Var_Array_GUARD */ -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Var_Array ( - ::CORBA::tk_alias, - "IDL:Param_Test/Var_Array:1.0", - "Var_Array", - &TAO::TypeCode::tc_Param_Test_Var_Array); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Var_Array = - &_tao_tc_Param_Test_Var_Array; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Var_Array_tag>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Var_Array_tag>::in_arg_val _tao_v1 (v1); - TAO::Arg_Traits< ::Param_Test::Var_Array_tag>::inout_arg_val _tao_v2 (v2); - TAO::Arg_Traits< ::Param_Test::Var_Array_tag>::out_arg_val _tao_v3 (v3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_v1, - &_tao_v2, - &_tao_v3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_var_array", - 14, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_ARRAYSEQ_CS_) -#define _PARAM_TEST_ARRAYSEQ_CS_ - -Param_Test::ArraySeq::ArraySeq (void) -{} - -Param_Test::ArraySeq::ArraySeq ( - ::CORBA::ULong max) - : std::vector<Fixed_Array> (max) -{} - -Param_Test::ArraySeq::ArraySeq ( - const ArraySeq &seq) - : std::vector<Fixed_Array> (seq) -{} - -Param_Test::ArraySeq::~ArraySeq (void) -{} - -::CORBA::ULong -Param_Test::ArraySeq::length (void) const -{ - return this->size (); -} - -void -Param_Test::ArraySeq::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -void Param_Test::ArraySeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - ArraySeq * _tao_tmp_pointer = - static_cast<ArraySeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_ArraySeq_GUARD -#define _TAO_TYPECODE_Param_Test_ArraySeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_ArraySeq_0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Fixed_Array, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_ArraySeq_0 = - &Param_Test_ArraySeq_0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_ArraySeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_ArraySeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/ArraySeq:1.0", - "ArraySeq", - &TAO::TypeCode::tc_Param_Test_ArraySeq_0); - -::CORBA::TypeCode_ptr const Param_Test::_tc_ArraySeq = - &_tao_tc_Param_Test_ArraySeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Param_Test::Fixed_Array> -Param_Test::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_array_sequence", - 19, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ_CS_) -#define _PARAM_TEST_BOUNDED_ARRAYSEQ_CS_ - -Param_Test::Bounded_ArraySeq::Bounded_ArraySeq (void) -{} - -Param_Test::Bounded_ArraySeq::Bounded_ArraySeq ( - ::CORBA::ULong length, - Param_Test::Fixed_Array * buffer, - ::CORBA::Boolean release - ) - : TAO::bounded_array_sequence< - Fixed_Array, - Fixed_Array_slice, - Fixed_Array_tag, - 32 - > - (length, buffer, release) -{} - -Param_Test::Bounded_ArraySeq::Bounded_ArraySeq ( - const Bounded_ArraySeq &seq) - : TAO::bounded_array_sequence< - Fixed_Array, - Fixed_Array_slice, - Fixed_Array_tag, - 32 - > (seq) -{} - -Param_Test::Bounded_ArraySeq::~Bounded_ArraySeq (void) -{} - -void Param_Test::Bounded_ArraySeq::_tao_any_destructor ( - void * _tao_void_pointer) -{ - Bounded_ArraySeq * _tao_tmp_pointer = - static_cast<Bounded_ArraySeq *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Bounded_ArraySeq_GUARD -#define _TAO_TYPECODE_Param_Test_Bounded_ArraySeq_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Bounded_ArraySeq_32 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Fixed_Array, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Bounded_ArraySeq_32 = - &Param_Test_Bounded_ArraySeq_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Bounded_ArraySeq_GUARD */ - -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Bounded_ArraySeq ( - ::CORBA::tk_alias, - "IDL:Param_Test/Bounded_ArraySeq:1.0", - "Bounded_ArraySeq", - &TAO::TypeCode::tc_Param_Test_Bounded_ArraySeq_32); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Bounded_ArraySeq = - &_tao_tc_Param_Test_Bounded_ArraySeq; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -std::vector<Param_Test::Fixed_Array> -Param_Test::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - 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 [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_bounded_array_sequence", - 27, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/exception_ctor.cpp:66 - -Param_Test::Ooops::Ooops ( - const char * _tao_reason, - ::CORBA::ULong _tao_input - ) - : ::CORBA::UserException ( - "IDL:Param_Test/Ooops:1.0", - "Ooops" - ) -{ - this->reason = ::CORBA::string_dup (_tao_reason); - this->input = _tao_input; -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/exception_cs.cpp:110 - -Param_Test::Ooops::Ooops (void) - : ::CORBA::UserException ( - "IDL:Param_Test/Ooops:1.0", - "Ooops" - ) -{ -} - -Param_Test::Ooops::~Ooops (void) -{ -} - -Param_Test::Ooops::Ooops (const ::Param_Test::Ooops &_tao_excp) - : ::CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ - this->reason = ::CORBA::string_dup (_tao_excp.reason.in ()); - this->input = _tao_excp.input; -} - -Param_Test::Ooops& -Param_Test::Ooops::operator= (const ::Param_Test::Ooops &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - this->reason = ::CORBA::string_dup (_tao_excp.reason.in ()); - this->input = _tao_excp.input; - return *this; -} - -void Param_Test::Ooops::_tao_any_destructor (void *_tao_void_pointer) -{ - Ooops *_tao_tmp_pointer = - static_cast<Ooops *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -Param_Test::Ooops * -Param_Test::Ooops::_downcast ( ::CORBA::Exception *_tao_excp) -{ - return dynamic_cast<Ooops *> (_tao_excp); -} - -const Param_Test::Ooops * -Param_Test::Ooops::_downcast ( ::CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const Ooops *> (_tao_excp); -} - -::CORBA::Exception *Param_Test::Ooops::_alloc (void) -{ - ::CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::Param_Test::Ooops, 0); - return retval; -} - -::CORBA::Exception * -Param_Test::Ooops::_tao_duplicate (void) const -{ - ::CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::Param_Test::Ooops (*this), - 0 - ); - return result; -} - -void Param_Test::Ooops::_raise (void) const -{ - throw *this; -} - -void Param_Test::Ooops::_tao_encode (TAO_OutputCDR &cdr) const -{ - if (!(cdr << *this)) - { - throw ::CORBA::MARSHAL (); - } -} - -void Param_Test::Ooops::_tao_decode (TAO_InputCDR &cdr) -{ - if (!(cdr >> *this)) - { - throw ::CORBA::MARSHAL (); - } -} - -// TAO extension - the virtual _type method. -::CORBA::TypeCode_ptr Param_Test::Ooops::_tao_type (void) const -{ - return ::Param_Test::_tc_Ooops; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Ooops[] = - { - { "reason", &CORBA::_tc_string }, - { "input", &CORBA::_tc_ulong } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_Ooops ( - ::CORBA::tk_except, - "IDL:Param_Test/Ooops:1.0", - "Ooops", - _tao_fields_Param_Test_Ooops, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Ooops = - &_tao_tc_Param_Test_Ooops; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/exception_cs.cpp:110 - -Param_Test::BadBoy::BadBoy (void) - : ::CORBA::UserException ( - "IDL:Param_Test/BadBoy:1.0", - "BadBoy" - ) -{ -} - -Param_Test::BadBoy::~BadBoy (void) -{ -} - -Param_Test::BadBoy::BadBoy (const ::Param_Test::BadBoy &_tao_excp) - : ::CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ -} - -Param_Test::BadBoy& -Param_Test::BadBoy::operator= (const ::Param_Test::BadBoy &_tao_excp) -{ - this->::CORBA::UserException::operator= (_tao_excp); - return *this; -} - -void Param_Test::BadBoy::_tao_any_destructor (void *_tao_void_pointer) -{ - BadBoy *_tao_tmp_pointer = - static_cast<BadBoy *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -Param_Test::BadBoy * -Param_Test::BadBoy::_downcast ( ::CORBA::Exception *_tao_excp) -{ - return dynamic_cast<BadBoy *> (_tao_excp); -} - -const Param_Test::BadBoy * -Param_Test::BadBoy::_downcast ( ::CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const BadBoy *> (_tao_excp); -} - -::CORBA::Exception *Param_Test::BadBoy::_alloc (void) -{ - ::CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::Param_Test::BadBoy, 0); - return retval; -} - -::CORBA::Exception * -Param_Test::BadBoy::_tao_duplicate (void) const -{ - ::CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::Param_Test::BadBoy (*this), - 0 - ); - return result; -} - -void Param_Test::BadBoy::_raise (void) const -{ - throw *this; -} - -void Param_Test::BadBoy::_tao_encode (TAO_OutputCDR &cdr) const -{ - if (!(cdr << *this)) - { - throw ::CORBA::MARSHAL (); - } -} - -void Param_Test::BadBoy::_tao_decode (TAO_InputCDR &cdr) -{ - if (!(cdr >> *this)) - { - throw ::CORBA::MARSHAL (); - } -} - -// TAO extension - the virtual _type method. -::CORBA::TypeCode_ptr Param_Test::BadBoy::_tao_type (void) const -{ - return ::Param_Test::_tc_BadBoy; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const * const - _tao_fields_Param_Test_BadBoy = 0; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_BadBoy ( - ::CORBA::tk_except, - "IDL:Param_Test/BadBoy:1.0", - "BadBoy", - _tao_fields_Param_Test_BadBoy, - 0); - -::CORBA::TypeCode_ptr const Param_Test::_tc_BadBoy = - &_tao_tc_Param_Test_BadBoy; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::ULong -Param_Test::test_exception ( - CORBA::ULong s1, - CORBA::ULong & s2, - CORBA::ULong_out s3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::ULong>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val _tao_s1 (s1); - TAO::Arg_Traits< ::CORBA::ULong>::inout_arg_val _tao_s2 (s2); - TAO::Arg_Traits< ::CORBA::ULong>::out_arg_val _tao_s3 (s3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static TAO::Exception_Data - _tao_Param_Test_test_exception_exceptiondata [] = - { - { - "IDL:Param_Test/Ooops:1.0", - Param_Test::Ooops::_alloc -#if TAO_HAS_INTERCEPTORS == 1 - , Param_Test::_tc_Ooops -#endif /* TAO_HAS_INTERCEPTORS */ - } - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_exception", - 14, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke ( - _tao_Param_Test_test_exception_exceptiondata, - 1 - ); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_cs.cpp:109 - -Param_Test::Big_Union::_another_array_slice * -Param_Test::Big_Union::_another_array_dup (const Param_Test::Big_Union::_another_array_slice *_tao_src_array) -{ - Param_Test::Big_Union::_another_array_slice *_tao_dup_array = - Param_Test::Big_Union::_another_array_alloc (); - - if (!_tao_dup_array) - { - return static_cast <Param_Test::Big_Union::_another_array_slice *> (0); - } - - Param_Test::Big_Union::_another_array_copy (_tao_dup_array, _tao_src_array); - return _tao_dup_array; -} - -Param_Test::Big_Union::_another_array_slice * -Param_Test::Big_Union::_another_array_alloc (void) -{ - Param_Test::Big_Union::_another_array_slice *retval = 0; - ACE_NEW_RETURN (retval, ::CORBA::Short[32], 0); - return retval; -} - -void -Param_Test::Big_Union::_another_array_free ( - Param_Test::Big_Union::_another_array_slice *_tao_slice - ) -{ - delete [] _tao_slice; -} - -void -Param_Test::Big_Union::_another_array_copy ( - Param_Test::Big_Union::_another_array_slice * _tao_to, - const Param_Test::Big_Union::_another_array_slice *_tao_from - ) -{ - // Copy each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 32; ++i0) - { - _tao_to[i0] = _tao_from[i0]; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_cs.cpp:91 - -Param_Test::Big_Union::Big_Union (void) -{ - ACE_OS::memset (&this->u_, 0, sizeof (this->u_)); - this->disc_ = -32768; -} - -Param_Test::Big_Union::Big_Union (const ::Param_Test::Big_Union &u) -{ - this->disc_ = u.disc_; - switch (this->disc_) - { - case 0: - { - // Make a deep copy. - this->u_.the_array_ = - Param_Test::Fixed_Array_dup (u.u_.the_array_); - } - break; - case 1: - { - if (u.u_.the_interface_ == 0) - { - this->u_.the_interface_ = 0; - } - else - { - typedef Coffee_var OBJECT_FIELD; - ACE_NEW ( - this->u_.the_interface_, - OBJECT_FIELD ( - Coffee::_duplicate ( - u.u_.the_interface_->in () - ) - ) - ); - } - } - break; - case 2: - { - this->u_.the_long_ = u.u_.the_long_; - } - break; - case 3: - { - // Make a deep copy. - this->u_.another_array_ = - Param_Test::Big_Union::_another_array_dup (u.u_.another_array_); - } - break; - case 4: - { - this->u_.the_string_ = ::CORBA::string_dup (u.u_.the_string_); - } - break; - case 5: - { - if (u.u_.the_sequence_ == 0) - { - this->u_.the_sequence_ = 0; - } - else - { - ACE_NEW ( - this->u_.the_sequence_, - CORBA::ShortSeq (*u.u_.the_sequence_) - ); - } - } - break; - case 6: - { - if (u.u_.the_any_ == 0) - { - this->u_.the_any_ = 0; - } - else - { - ACE_NEW ( - this->u_.the_any_, - CORBA::Any (*u.u_.the_any_) - ); - } - } - break; - case 7: - { - this->u_.the_octet_ = u.u_.the_octet_; - } - break; - case 8: - { - this->u_.the_char_ = u.u_.the_char_; - } - break; - case 9: - { - this->u_.the_boolean_ = u.u_.the_boolean_; - } - break; - case 10: - { - if (u.u_.the_var_struct_ == 0) - { - this->u_.the_var_struct_ = 0; - } - else - { - ACE_NEW ( - this->u_.the_var_struct_, - Param_Test::Var_Struct (*u.u_.the_var_struct_) - ); - } - } - break; - case 11: - { - this->u_.the_fixed_struct_ = u.u_.the_fixed_struct_; - } - break; - default: - break; - } -} - -Param_Test::Big_Union::~Big_Union (void) -{ - // Finalize. - this->_reset (); -} - -void Param_Test::Big_Union::_tao_any_destructor (void *_tao_void_pointer) -{ - Big_Union *tmp = - static_cast<Big_Union *> (_tao_void_pointer); - delete tmp; -} - -Param_Test::Big_Union & -Param_Test::Big_Union::operator= (const ::Param_Test::Big_Union &u) -{ - if (&u == this) - { - return *this; - } - - this->_reset (); - this->disc_ = u.disc_; - - switch (this->disc_) - { - case 0: - { - // Make a deep copy. - this->u_.the_array_ = - Param_Test::Fixed_Array_dup (u.u_.the_array_); - } - break; - case 1: - { - if (u.u_.the_interface_ == 0) - { - this->u_.the_interface_ = 0; - } - else - { - typedef Coffee_var OBJECT_FIELD; - ACE_NEW_RETURN ( - this->u_.the_interface_, - OBJECT_FIELD ( - Coffee::_duplicate ( - u.u_.the_interface_->in () - ) - ), - *this - ); - } - } - break; - case 2: - { - this->u_.the_long_ = u.u_.the_long_; - } - break; - case 3: - { - // Make a deep copy. - this->u_.another_array_ = - Param_Test::Big_Union::_another_array_dup (u.u_.another_array_); - } - break; - case 4: - { - this->u_.the_string_ = ::CORBA::string_dup (u.u_.the_string_); - } - break; - case 5: - { - if (u.u_.the_sequence_ == 0) - { - this->u_.the_sequence_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.the_sequence_, - CORBA::ShortSeq (*u.u_.the_sequence_), - *this - ); - } - } - break; - case 6: - { - if (u.u_.the_any_ == 0) - { - this->u_.the_any_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.the_any_, - CORBA::Any (*u.u_.the_any_), - *this - ); - } - } - break; - case 7: - { - this->u_.the_octet_ = u.u_.the_octet_; - } - break; - case 8: - { - this->u_.the_char_ = u.u_.the_char_; - } - break; - case 9: - { - this->u_.the_boolean_ = u.u_.the_boolean_; - } - break; - case 10: - { - if (u.u_.the_var_struct_ == 0) - { - this->u_.the_var_struct_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.the_var_struct_, - Param_Test::Var_Struct (*u.u_.the_var_struct_), - *this - ); - } - } - break; - case 11: - { - this->u_.the_fixed_struct_ = u.u_.the_fixed_struct_; - } - break; - default: - break; - } - - return *this; -} - -/// Reset method to reset old values of a union. -void Param_Test::Big_Union::_reset (void) -{ - switch (this->disc_) - { - - case 0: - Param_Test::Fixed_Array_free (this->u_.the_array_); - this->u_.the_array_ = 0; - break; - case 1: - delete this->u_.the_interface_; - this->u_.the_interface_ = 0; - break; - case 2: - break; - case 3: - Param_Test::Big_Union::_another_array_free (this->u_.another_array_); - this->u_.another_array_ = 0; - break; - case 4: - ::CORBA::string_free (this->u_.the_string_); - this->u_.the_string_ = 0; - break; - case 5: - delete this->u_.the_sequence_; - this->u_.the_sequence_ = 0; - break; - case 6: - delete this->u_.the_any_; - this->u_.the_any_ = 0; - break; - case 7: - break; - case 8: - break; - case 9: - break; - case 10: - delete this->u_.the_var_struct_; - this->u_.the_var_struct_ = 0; - break; - case 11: - break; - default: - break; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/union_typecode.cpp:65 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:359 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:359 - - -#ifndef _TAO_TYPECODE_Param_Test_Big_Union_another_array_GUARD -#define _TAO_TYPECODE_Param_Test_Big_Union_another_array_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Big_Union_another_array_32 ( - ::CORBA::tk_array, - &CORBA::_tc_short, - 32U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Big_Union_another_array = - &Param_Test_Big_Union_another_array_32; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Big_Union_another_array_GUARD */ - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__0 (0, "the_array", &Param_Test::_tc_Fixed_Array); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__1 (1, "the_interface", &_tc_Coffee); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__2 (2, "the_long", &CORBA::_tc_long); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__3 (3, "another_array", &TAO::TypeCode::tc_Param_Test_Big_Union_another_array); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__4 (4, "the_string", &CORBA::_tc_string); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__5 (5, "the_sequence", &CORBA::_tc_ShortSeq); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__6 (6, "the_any", &CORBA::_tc_any); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__7 (7, "the_octet", &CORBA::_tc_octet); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__8 (8, "the_char", &CORBA::_tc_char); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__9 (9, "the_boolean", &CORBA::_tc_boolean); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__10 (10, "the_var_struct", &Param_Test::_tc_Var_Struct); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Big_Union__11 (11, "the_fixed_struct", &Param_Test::_tc_Fixed_Struct); - -static TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const _tao_cases_Param_Test_Big_Union[] = - { - &_tao_cases_Param_Test_Big_Union__0, - &_tao_cases_Param_Test_Big_Union__1, - &_tao_cases_Param_Test_Big_Union__2, - &_tao_cases_Param_Test_Big_Union__3, - &_tao_cases_Param_Test_Big_Union__4, - &_tao_cases_Param_Test_Big_Union__5, - &_tao_cases_Param_Test_Big_Union__6, - &_tao_cases_Param_Test_Big_Union__7, - &_tao_cases_Param_Test_Big_Union__8, - &_tao_cases_Param_Test_Big_Union__9, - &_tao_cases_Param_Test_Big_Union__10, - &_tao_cases_Param_Test_Big_Union__11 - - }; - -static TAO::TypeCode::Union<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Big_Union ( - "IDL:Param_Test/Big_Union:1.0", - "Big_Union", - &CORBA::_tc_short, - _tao_cases_Param_Test_Big_Union, - 12, -1); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Big_Union = - &_tao_tc_Param_Test_Big_Union; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Big_Union>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Big_Union>::in_arg_val _tao_u1 (u1); - TAO::Arg_Traits< ::Param_Test::Big_Union>::inout_arg_val _tao_u2 (u2); - TAO::Arg_Traits< ::Param_Test::Big_Union>::out_arg_val _tao_u3 (u3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_u1, - &_tao_u2, - &_tao_u3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_big_union", - 14, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/enum_typecode.cpp:31 -static char const * const _tao_enumerators_Param_Test_Small_Union_Switch[] = - { - "A_LONG", - "A_SHORT" - - }; - -static TAO::TypeCode::Enum<char const *, - char const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Small_Union_Switch ( - "IDL:Param_Test/Small_Union_Switch:1.0", - "Small_Union_Switch", - _tao_enumerators_Param_Test_Small_Union_Switch, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Small_Union_Switch = - &_tao_tc_Param_Test_Small_Union_Switch; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_cs.cpp:91 - -Param_Test::Small_Union::Small_Union (void) -{ - ACE_OS::memset (&this->u_, 0, sizeof (this->u_)); - this->disc_ = Param_Test::A_LONG; - -} - -Param_Test::Small_Union::Small_Union (const ::Param_Test::Small_Union &u) -{ - this->disc_ = u.disc_; - switch (this->disc_) - { - case Param_Test::A_LONG: - { - this->u_.the_long_ = u.u_.the_long_; - } - break; - case Param_Test::A_SHORT: - { - this->u_.the_short_ = u.u_.the_short_; - } - break; - } -} - -Param_Test::Small_Union::~Small_Union (void) -{ - // Finalize. - this->_reset (); -} - -void Param_Test::Small_Union::_tao_any_destructor (void *_tao_void_pointer) -{ - Small_Union *tmp = - static_cast<Small_Union *> (_tao_void_pointer); - delete tmp; -} - -Param_Test::Small_Union & -Param_Test::Small_Union::operator= (const ::Param_Test::Small_Union &u) -{ - if (&u == this) - { - return *this; - } - - this->_reset (); - this->disc_ = u.disc_; - - switch (this->disc_) - { - case Param_Test::A_LONG: - { - this->u_.the_long_ = u.u_.the_long_; - } - break; - case Param_Test::A_SHORT: - { - this->u_.the_short_ = u.u_.the_short_; - } - break; - } - - return *this; -} - -/// Reset method to reset old values of a union. -void Param_Test::Small_Union::_reset (void) -{ - switch (this->disc_) - { - - case Param_Test::A_LONG: - break; - case Param_Test::A_SHORT: - break; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/union_typecode.cpp:65 - -static TAO::TypeCode::Case_T<Param_Test::Small_Union_Switch, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Small_Union__0 (Param_Test::A_LONG, "the_long", &CORBA::_tc_long); -static TAO::TypeCode::Case_T<Param_Test::Small_Union_Switch, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Small_Union__1 (Param_Test::A_SHORT, "the_short", &CORBA::_tc_short); - -static TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const _tao_cases_Param_Test_Small_Union[] = - { - &_tao_cases_Param_Test_Small_Union__0, - &_tao_cases_Param_Test_Small_Union__1 - - }; - -static TAO::TypeCode::Union<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Small_Union ( - "IDL:Param_Test/Small_Union:1.0", - "Small_Union", - &Param_Test::_tc_Small_Union_Switch, - _tao_cases_Param_Test_Small_Union, - 2, -1); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Small_Union = - &_tao_tc_Param_Test_Small_Union; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Small_Union>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Small_Union>::in_arg_val _tao_u1 (u1); - TAO::Arg_Traits< ::Param_Test::Small_Union>::inout_arg_val _tao_u2 (u2); - TAO::Arg_Traits< ::Param_Test::Small_Union>::out_arg_val _tao_u3 (u3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_u1, - &_tao_u2, - &_tao_u3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_small_union", - 16, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_level4[] = - { - { "level5_string", &CORBA::_tc_string }, - { "level5_any", &CORBA::_tc_any } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_level4 ( - ::CORBA::tk_struct, - "IDL:Param_Test/level4:1.0", - "level4", - _tao_fields_Param_Test_level4, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_level4 = - &_tao_tc_Param_Test_level4; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::level4::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - level4 *_tao_tmp_pointer = - static_cast<level4 *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_level8[] = - { - { "level9_string", &CORBA::_tc_string }, - { "level9_boolean", &CORBA::_tc_boolean }, - { "level9_short", &CORBA::_tc_short } - }; - -static TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy> -_tao_tc_Param_Test_level8 ( - ::CORBA::tk_struct, - "IDL:Param_Test/level8:1.0", - "level8", - _tao_fields_Param_Test_level8, - 3); - -::CORBA::TypeCode_ptr const Param_Test::_tc_level8 = - &_tao_tc_Param_Test_level8; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::level8::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - level8 *_tao_tmp_pointer = - static_cast<level8 *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::CORBA::Any * -Param_Test::test_complex_any ( - const CORBA::Any & ca1, - CORBA::Any & ca2, - CORBA::Any_out ca3) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::CORBA::Any>::ret_val _tao_retval; - TAO::Arg_Traits< ::CORBA::Any>::in_arg_val _tao_ca1 (ca1); - TAO::Arg_Traits< ::CORBA::Any>::inout_arg_val _tao_ca2 (ca2); - TAO::Arg_Traits< ::CORBA::Any>::out_arg_val _tao_ca3 (ca3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_ca1, - &_tao_ca2, - &_tao_ca3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_complex_any", - 16, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/struct_typecode.cpp:84 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__GUARD -#define _TAO_TYPECODE_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Recursive_Struct, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__0 = - &Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__GUARD */ - -static TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const - _tao_fields_Param_Test_Recursive_Struct[] = - { - { "x", &CORBA::_tc_long }, - { "children", &TAO::TypeCode::tc_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__0 } - }; - -static TAO::TypeCode::Recursive_Type< - TAO::TypeCode::Struct< - char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *, - TAO::Null_RefCount_Policy>, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Struct_Field< - char const *, - ::CORBA::TypeCode_ptr const *> const *> -_tao_tc_Param_Test_Recursive_Struct ( - ::CORBA::tk_struct, - "IDL:Param_Test/Recursive_Struct:1.0", - "Recursive_Struct", - _tao_fields_Param_Test_Recursive_Struct, - 2); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Recursive_Struct = - &_tao_tc_Param_Test_Recursive_Struct; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65 - -void -Param_Test::Recursive_Struct::_tao_any_destructor ( - void *_tao_void_pointer - ) -{ - Recursive_Struct *_tao_tmp_pointer = - static_cast<Recursive_Struct *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_RECURSIVE_STRUCT__TAO_SEQ_PARAM_TEST_RECURSIVE_STRUCT__CS_) -#define _PARAM_TEST_RECURSIVE_STRUCT__TAO_SEQ_PARAM_TEST_RECURSIVE_STRUCT__CS_ - -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::_tao_seq_Param_Test_Recursive_Struct_ (void) -{} - -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::_tao_seq_Param_Test_Recursive_Struct_ ( - ::CORBA::ULong max) - : std::vector<Param_Test::Recursive_Struct> (max) -{} - -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::_tao_seq_Param_Test_Recursive_Struct_ ( - const _tao_seq_Param_Test_Recursive_Struct_ &seq) - : std::vector<Param_Test::Recursive_Struct> (seq) -{} - -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::~_tao_seq_Param_Test_Recursive_Struct_ (void) -{} - -::CORBA::ULong -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::length (void) const -{ - return this->size (); -} - -void -Param_Test::Recursive_Struct::_tao_seq_Param_Test_Recursive_Struct_::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Recursive_Struct>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Recursive_Struct>::in_arg_val _tao_rs1 (rs1); - TAO::Arg_Traits< ::Param_Test::Recursive_Struct>::inout_arg_val _tao_rs2 (rs2); - TAO::Arg_Traits< ::Param_Test::Recursive_Struct>::out_arg_val _tao_rs3 (rs3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_rs1, - &_tao_rs2, - &_tao_rs3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_recursive_struct", - 21, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_NESTED_REC_UNION__TAO_SEQ_PARAM_TEST_NESTED_REC_UNION__CS_) -#define _PARAM_TEST_NESTED_REC_UNION__TAO_SEQ_PARAM_TEST_NESTED_REC_UNION__CS_ - -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::_tao_seq_Param_Test_nested_rec_union_ (void) -{} - -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::_tao_seq_Param_Test_nested_rec_union_ ( - ::CORBA::ULong max) - : std::vector<Param_Test::nested_rec_union> (max) -{} - -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::_tao_seq_Param_Test_nested_rec_union_ ( - const _tao_seq_Param_Test_nested_rec_union_ &seq) - : std::vector<Param_Test::nested_rec_union> (seq) -{} - -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::~_tao_seq_Param_Test_nested_rec_union_ (void) -{} - -::CORBA::ULong -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::length (void) const -{ - return this->size (); -} - -void -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_cs.cpp:91 - -Param_Test::nested_rec_union::nested_rec_union (void) -{ - ACE_OS::memset (&this->u_, 0, sizeof (this->u_)); - this->disc_ = -32768; -} - -Param_Test::nested_rec_union::nested_rec_union (const ::Param_Test::nested_rec_union &u) -{ - this->disc_ = u.disc_; - switch (this->disc_) - { - case 0: - { - this->u_.value_ = u.u_.value_; - } - break; - case 1: - { - if (u.u_.nested_rec_member_ == 0) - { - this->u_.nested_rec_member_ = 0; - } - else - { - ACE_NEW ( - this->u_.nested_rec_member_, - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ (*u.u_.nested_rec_member_) - ); - } - } - break; - default: - break; - } -} - -Param_Test::nested_rec_union::~nested_rec_union (void) -{ - // Finalize. - this->_reset (); -} - -void Param_Test::nested_rec_union::_tao_any_destructor (void *_tao_void_pointer) -{ - nested_rec_union *tmp = - static_cast<nested_rec_union *> (_tao_void_pointer); - delete tmp; -} - -Param_Test::nested_rec_union & -Param_Test::nested_rec_union::operator= (const ::Param_Test::nested_rec_union &u) -{ - if (&u == this) - { - return *this; - } - - this->_reset (); - this->disc_ = u.disc_; - - switch (this->disc_) - { - case 0: - { - this->u_.value_ = u.u_.value_; - } - break; - case 1: - { - if (u.u_.nested_rec_member_ == 0) - { - this->u_.nested_rec_member_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.nested_rec_member_, - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ (*u.u_.nested_rec_member_), - *this - ); - } - } - break; - default: - break; - } - - return *this; -} - -/// Reset method to reset old values of a union. -void Param_Test::nested_rec_union::_reset (void) -{ - switch (this->disc_) - { - - case 0: - break; - case 1: - delete this->u_.nested_rec_member_; - this->u_.nested_rec_member_ = 0; - break; - default: - break; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/union_typecode.cpp:65 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__GUARD -#define _TAO_TYPECODE_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_nested_rec_union, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__0 = - &Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__GUARD */ - -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_nested_rec_union__0 (0, "value", &CORBA::_tc_long); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_nested_rec_union__1 (1, "nested_rec_member", &TAO::TypeCode::tc_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__0); - -static TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const _tao_cases_Param_Test_nested_rec_union[] = - { - &_tao_cases_Param_Test_nested_rec_union__0, - &_tao_cases_Param_Test_nested_rec_union__1 - - }; - -static TAO::TypeCode::Recursive_Type< - TAO::TypeCode::Union<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const *, - TAO::Null_RefCount_Policy>, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const * > - - _tao_tc_Param_Test_nested_rec_union ( - "IDL:Param_Test/nested_rec_union:1.0", - "nested_rec_union", - &CORBA::_tc_short, - _tao_cases_Param_Test_nested_rec_union, - 2, -1); - -::CORBA::TypeCode_ptr const Param_Test::_tc_nested_rec_union = - &_tao_tc_Param_Test_nested_rec_union; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65 - -#if !defined (_PARAM_TEST_RECURSIVE_UNION__TAO_SEQ_PARAM_TEST_RECURSIVE_UNION__CS_) -#define _PARAM_TEST_RECURSIVE_UNION__TAO_SEQ_PARAM_TEST_RECURSIVE_UNION__CS_ - -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::_tao_seq_Param_Test_Recursive_Union_ (void) -{} - -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::_tao_seq_Param_Test_Recursive_Union_ ( - ::CORBA::ULong max) - : std::vector<Param_Test::Recursive_Union> (max) -{} - -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::_tao_seq_Param_Test_Recursive_Union_ ( - const _tao_seq_Param_Test_Recursive_Union_ &seq) - : std::vector<Param_Test::Recursive_Union> (seq) -{} - -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::~_tao_seq_Param_Test_Recursive_Union_ (void) -{} - -::CORBA::ULong -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::length (void) const -{ - return this->size (); -} - -void -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_::length (::CORBA::ULong length) -{ - this->reserve (length); -} - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_cs.cpp:91 - -Param_Test::Recursive_Union::Recursive_Union (void) -{ - ACE_OS::memset (&this->u_, 0, sizeof (this->u_)); - this->disc_ = -32768; -} - -Param_Test::Recursive_Union::Recursive_Union (const ::Param_Test::Recursive_Union &u) -{ - this->disc_ = u.disc_; - switch (this->disc_) - { - case 0: - { - if (u.u_.rec_member_ == 0) - { - this->u_.rec_member_ = 0; - } - else - { - ACE_NEW ( - this->u_.rec_member_, - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ (*u.u_.rec_member_) - ); - } - } - break; - case 1: - { - if (u.u_.nested_member_ == 0) - { - this->u_.nested_member_ = 0; - } - else - { - ACE_NEW ( - this->u_.nested_member_, - Param_Test::nested_rec_union (*u.u_.nested_member_) - ); - } - } - break; - default: - break; - } -} - -Param_Test::Recursive_Union::~Recursive_Union (void) -{ - // Finalize. - this->_reset (); -} - -void Param_Test::Recursive_Union::_tao_any_destructor (void *_tao_void_pointer) -{ - Recursive_Union *tmp = - static_cast<Recursive_Union *> (_tao_void_pointer); - delete tmp; -} - -Param_Test::Recursive_Union & -Param_Test::Recursive_Union::operator= (const ::Param_Test::Recursive_Union &u) -{ - if (&u == this) - { - return *this; - } - - this->_reset (); - this->disc_ = u.disc_; - - switch (this->disc_) - { - case 0: - { - if (u.u_.rec_member_ == 0) - { - this->u_.rec_member_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.rec_member_, - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ (*u.u_.rec_member_), - *this - ); - } - } - break; - case 1: - { - if (u.u_.nested_member_ == 0) - { - this->u_.nested_member_ = 0; - } - else - { - ACE_NEW_RETURN ( - this->u_.nested_member_, - Param_Test::nested_rec_union (*u.u_.nested_member_), - *this - ); - } - } - break; - default: - break; - } - - return *this; -} - -/// Reset method to reset old values of a union. -void Param_Test::Recursive_Union::_reset (void) -{ - switch (this->disc_) - { - - case 0: - delete this->u_.rec_member_; - this->u_.rec_member_ = 0; - break; - case 1: - delete this->u_.nested_member_; - this->u_.nested_member_ = 0; - break; - default: - break; - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/union_typecode.cpp:65 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:516 - - -#ifndef _TAO_TYPECODE_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__GUARD -#define _TAO_TYPECODE_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__0 ( - ::CORBA::tk_sequence, - &Param_Test::_tc_Recursive_Union, - 0U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__0 = - &Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__0; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__GUARD */ - -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Recursive_Union__0 (0, "rec_member", &TAO::TypeCode::tc_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__0); -static TAO::TypeCode::Case_T<CORBA::Short, char const *, ::CORBA::TypeCode_ptr const *> const _tao_cases_Param_Test_Recursive_Union__1 (1, "nested_member", &Param_Test::_tc_nested_rec_union); - -static TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const _tao_cases_Param_Test_Recursive_Union[] = - { - &_tao_cases_Param_Test_Recursive_Union__0, - &_tao_cases_Param_Test_Recursive_Union__1 - - }; - -static TAO::TypeCode::Recursive_Type< - TAO::TypeCode::Union<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const *, - TAO::Null_RefCount_Policy>, - ::CORBA::TypeCode_ptr const *, - TAO::TypeCode::Case<char const *, ::CORBA::TypeCode_ptr const *> const * const * > - - _tao_tc_Param_Test_Recursive_Union ( - "IDL:Param_Test/Recursive_Union:1.0", - "Recursive_Union", - &CORBA::_tc_short, - _tao_cases_Param_Test_Recursive_Union, - 2, -1); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Recursive_Union = - &_tao_tc_Param_Test_Recursive_Union; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Recursive_Union>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Recursive_Union>::in_arg_val _tao_ru1 (ru1); - TAO::Arg_Traits< ::Param_Test::Recursive_Union>::inout_arg_val _tao_ru2 (ru2); - TAO::Arg_Traits< ::Param_Test::Recursive_Union>::out_arg_val _tao_ru3 (ru3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_ru1, - &_tao_ru2, - &_tao_ru3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_recursive_union", - 20, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_constant/constant_cs.cpp:71 - -#ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - const CORBA::ULong Param_Test::DIM3; -#endif // ifndef ACE_HAS_HEADER_ALLOCATED_CLASS_STATIC_CONST_INT_STOREAGE - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_cs.cpp:109 - -Param_Test::Multdim_Array_slice * -Param_Test::Multdim_Array_dup (const Param_Test::Multdim_Array_slice *_tao_src_array) -{ - Param_Test::Multdim_Array_slice *_tao_dup_array = - Param_Test::Multdim_Array_alloc (); - - if (!_tao_dup_array) - { - return static_cast <Param_Test::Multdim_Array_slice *> (0); - } - - Param_Test::Multdim_Array_copy (_tao_dup_array, _tao_src_array); - return _tao_dup_array; -} - -Param_Test::Multdim_Array_slice * -Param_Test::Multdim_Array_alloc (void) -{ - Param_Test::Multdim_Array_slice *retval = 0; - ACE_NEW_RETURN (retval, Param_Test::Fixed_Array[5][3], 0); - return retval; -} - -void -Param_Test::Multdim_Array_free ( - Param_Test::Multdim_Array_slice *_tao_slice - ) -{ - delete [] _tao_slice; -} - -void -Param_Test::Multdim_Array_copy ( - Param_Test::Multdim_Array_slice * _tao_to, - const Param_Test::Multdim_Array_slice *_tao_from - ) -{ - // Copy each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 5; ++i0) - { - for ( ::CORBA::ULong i1 = 0; i1 < 3; ++i1) - { - // call the underlying _copy - Param_Test::Fixed_Array_copy (_tao_to[i0][i1], _tao_from[i0][i1]); - } - } -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/alias_typecode.cpp:50 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:359 - - -#ifndef _TAO_TYPECODE_Param_Test_Multdim_Array_GUARD -#define _TAO_TYPECODE_Param_Test_Multdim_Array_GUARD - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace TypeCode - { - namespace - { - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Multdim_Array_3 ( - ::CORBA::tk_array, - &Param_Test::_tc_Fixed_Array, - 3U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Multdim_Array_3 = - &Param_Test_Multdim_Array_3; - - TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - Param_Test_Multdim_Array_5_3 ( - ::CORBA::tk_array, - &tc_Param_Test_Multdim_Array_3, - 5U); - - ::CORBA::TypeCode_ptr const tc_Param_Test_Multdim_Array = - &Param_Test_Multdim_Array_5_3; - } - } -} - -TAO_END_VERSIONED_NAMESPACE_DECL - -#endif /* _TAO_TYPECODE_Param_Test_Multdim_Array_GUARD */ -static TAO::TypeCode::Alias<char const *, - ::CORBA::TypeCode_ptr const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test_Multdim_Array ( - ::CORBA::tk_alias, - "IDL:Param_Test/Multdim_Array:1.0", - "Multdim_Array", - &TAO::TypeCode::tc_Param_Test_Multdim_Array); - -::CORBA::TypeCode_ptr const Param_Test::_tc_Multdim_Array = - &_tao_tc_Param_Test_Multdim_Array; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -::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) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< ::Param_Test::Multdim_Array_tag>::ret_val _tao_retval; - TAO::Arg_Traits< ::Param_Test::Multdim_Array_tag>::in_arg_val _tao_m1 (m1); - TAO::Arg_Traits< ::Param_Test::Multdim_Array_tag>::inout_arg_val _tao_m2 (m2); - TAO::Arg_Traits< ::Param_Test::Multdim_Array_tag>::out_arg_val _tao_m3 (m3); - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval, - &_tao_m1, - &_tao_m2, - &_tao_m3 - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 4, - "test_multdim_array", - 18, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); - - return _tao_retval.retn (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_cs.cpp:78 - -void -Param_Test::shutdown (void) -{ - if (!this->is_evaluated ()) - { - ::CORBA::Object::tao_object_initialize (this); - } - - if (this->the_TAO_Param_Test_Proxy_Broker_ == 0) - { - Param_Test_setup_collocation (); - } - - TAO::Arg_Traits< void>::ret_val _tao_retval; - - TAO::Argument *_the_tao_operation_signature [] = - { - &_tao_retval - }; - - TAO::Invocation_Adapter _tao_call ( - this, - _the_tao_operation_signature, - 1, - "shutdown", - 8, - this->the_TAO_Param_Test_Proxy_Broker_ - ); - - _tao_call.invoke (0, 0); -} - -Param_Test::Param_Test (void) - : the_TAO_Param_Test_Proxy_Broker_ (0) -{ - this->Param_Test_setup_collocation (); -} - -void -Param_Test::Param_Test_setup_collocation () -{ - if (::_TAO_Param_Test_Proxy_Broker_Factory_function_pointer) - { - this->the_TAO_Param_Test_Proxy_Broker_ = - ::_TAO_Param_Test_Proxy_Broker_Factory_function_pointer (this); - } -} - -Param_Test::~Param_Test (void) -{} - -void -Param_Test::_tao_any_destructor (void *_tao_void_pointer) -{ - Param_Test *_tao_tmp_pointer = - static_cast<Param_Test *> (_tao_void_pointer); - ::CORBA::release (_tao_tmp_pointer); -} - -Param_Test_ptr -Param_Test::_narrow ( - ::CORBA::Object_ptr _tao_objref - ) -{ - return - TAO::Narrow_Utils<Param_Test>::narrow ( - _tao_objref, - "IDL:Param_Test:1.0", - _TAO_Param_Test_Proxy_Broker_Factory_function_pointer - ); -} - -Param_Test_ptr -Param_Test::_unchecked_narrow ( - ::CORBA::Object_ptr _tao_objref - ) -{ - return - TAO::Narrow_Utils<Param_Test>::unchecked_narrow ( - _tao_objref, - "IDL:Param_Test:1.0", - _TAO_Param_Test_Proxy_Broker_Factory_function_pointer - ); -} - -Param_Test_ptr -Param_Test::_duplicate (Param_Test_ptr obj) -{ - if (! ::CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void -Param_Test::_tao_release (Param_Test_ptr obj) -{ - ::CORBA::release (obj); -} - -::CORBA::Boolean -Param_Test::_is_a (const char *value) -{ - if ( - !ACE_OS::strcmp ( - value, - "IDL:Param_Test:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ) - { - return true; // success using local knowledge - } - else - { - return this->::CORBA::Object::_is_a (value); - } -} - -const char* Param_Test::_interface_repository_id (void) const -{ - return "IDL:Param_Test:1.0"; -} - -::CORBA::Boolean -Param_Test::marshal (TAO_OutputCDR &cdr) -{ - return (cdr << this); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/objref_typecode.cpp:76 - -static TAO::TypeCode::Objref<char const *, - TAO::Null_RefCount_Policy> - _tao_tc_Param_Test ( - ::CORBA::tk_objref, - "IDL:Param_Test:1.0", - "Param_Test"); - -::CORBA::TypeCode_ptr const _tc_Param_Test = - &_tao_tc_Param_Test; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/any_op_cs.cpp:51 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -namespace TAO -{ - template<> - ::CORBA::Boolean - Any_Impl_T<Coffee>::to_object ( - ::CORBA::Object_ptr &_tao_elem - ) const - { - _tao_elem = ::CORBA::Object::_duplicate (this->value_); - return true; - } -} -TAO_END_VERSIONED_NAMESPACE_DECL - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -/// Copying insertion. -void -operator<<= ( - ::CORBA::Any &_tao_any, - Coffee_ptr _tao_elem) -{ - Coffee_ptr _tao_objptr = - Coffee::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -/// Non-copying insertion. -void -operator<<= ( - ::CORBA::Any &_tao_any, - Coffee_ptr *_tao_elem) -{ - TAO::Any_Impl_T<Coffee>::insert ( - _tao_any, - Coffee::_tao_any_destructor, - _tc_Coffee, - *_tao_elem); -} - -::CORBA::Boolean -operator>>= ( - const ::CORBA::Any &_tao_any, - Coffee_ptr &_tao_elem) -{ - return - TAO::Any_Impl_T<Coffee>::extract ( - _tao_any, - Coffee::_tao_any_destructor, - _tc_Coffee, - _tao_elem); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Coffee::Desc &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Coffee::Desc *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Coffee::Desc>::insert_copy ( - _tao_any, - Coffee::Desc::_tao_any_destructor, - Coffee::_tc_Desc, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Coffee::Desc *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Coffee::Desc>::insert ( - _tao_any, - Coffee::Desc::_tao_any_destructor, - Coffee::_tc_Desc, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Coffee::Desc *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Coffee::Desc *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Coffee::Desc *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Coffee::Desc>::extract ( - _tao_any, - Coffee::Desc::_tao_any_destructor, - Coffee::_tc_Desc, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/any_op_cs.cpp:51 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -namespace TAO -{ - template<> - ::CORBA::Boolean - Any_Impl_T<Param_Test>::to_object ( - ::CORBA::Object_ptr &_tao_elem - ) const - { - _tao_elem = ::CORBA::Object::_duplicate (this->value_); - return true; - } -} -TAO_END_VERSIONED_NAMESPACE_DECL - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -/// Copying insertion. -void -operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test_ptr _tao_elem) -{ - Param_Test_ptr _tao_objptr = - Param_Test::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -/// Non-copying insertion. -void -operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test_ptr *_tao_elem) -{ - TAO::Any_Impl_T<Param_Test>::insert ( - _tao_any, - Param_Test::_tao_any_destructor, - _tc_Param_Test, - *_tao_elem); -} - -::CORBA::Boolean -operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test_ptr &_tao_elem) -{ - return - TAO::Any_Impl_T<Param_Test>::extract ( - _tao_any, - Param_Test::_tao_any_destructor, - _tc_Param_Test, - _tao_elem); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Fixed_Struct &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Fixed_Struct *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Fixed_Struct>::insert_copy ( - _tao_any, - Param_Test::Fixed_Struct::_tao_any_destructor, - Param_Test::_tc_Fixed_Struct, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Fixed_Struct *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Fixed_Struct>::insert ( - _tao_any, - Param_Test::Fixed_Struct::_tao_any_destructor, - Param_Test::_tc_Fixed_Struct, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Fixed_Struct *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Fixed_Struct *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Fixed_Struct *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Fixed_Struct>::extract ( - _tao_any, - Param_Test::Fixed_Struct::_tao_any_destructor, - Param_Test::_tc_Fixed_Struct, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::NameComponent &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::NameComponent *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::NameComponent>::insert_copy ( - _tao_any, - Param_Test::NameComponent::_tao_any_destructor, - Param_Test::_tc_NameComponent, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::NameComponent *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::NameComponent>::insert ( - _tao_any, - Param_Test::NameComponent::_tao_any_destructor, - Param_Test::_tc_NameComponent, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::NameComponent *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::NameComponent *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::NameComponent *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::NameComponent>::extract ( - _tao_any, - Param_Test::NameComponent::_tao_any_destructor, - Param_Test::_tc_NameComponent, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Step &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Step *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Step>::insert_copy ( - _tao_any, - Param_Test::Step::_tao_any_destructor, - Param_Test::_tc_Step, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Step *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Step>::insert ( - _tao_any, - Param_Test::Step::_tao_any_destructor, - Param_Test::_tc_Step, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Step *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Step *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Step *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Step>::extract ( - _tao_any, - Param_Test::Step::_tao_any_destructor, - Param_Test::_tc_Step, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -void operator<<= ( - ::CORBA::Any &_tao_any, - const std::vector<Param_Test::Step> &_tao_elem) -{ - TAO::insert_value_vector<Param_Test::Step> ( - _tao_any, - _tao_elem); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - std::vector<Param_Test::Step> &_tao_elem) -{ - return - 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:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Short_Seq &_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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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 - ) -{ - 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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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 - ) -{ - 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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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 - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Bounded_WStrSeq *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Bounded_WStrSeq *&_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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -void operator<<= ( - ::CORBA::Any &_tao_any, - const std::vector<Param_Test::Fixed_Struct> &_tao_elem) -{ - TAO::insert_value_vector<Param_Test::Fixed_Struct> ( - _tao_any, - _tao_elem); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - std::vector<Param_Test::Fixed_Struct> &_tao_elem) -{ - return - 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:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_StructSeq &_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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -void operator<<= ( - ::CORBA::Any &_tao_any, - const std::vector<Coffee> &_tao_elem) -{ - TAO::insert_objref_vector<Coffee_ptr> ( - _tao_any, - _tao_elem); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - std::vector<Coffee> &_tao_elem) -{ - return - 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:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Bounded_Coffee_Mix &_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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Var_Struct &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Var_Struct *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Var_Struct>::insert_copy ( - _tao_any, - Param_Test::Var_Struct::_tao_any_destructor, - Param_Test::_tc_Var_Struct, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Var_Struct *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Var_Struct>::insert ( - _tao_any, - Param_Test::Var_Struct::_tao_any_destructor, - Param_Test::_tc_Var_Struct, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Var_Struct *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Var_Struct *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Var_Struct *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Var_Struct>::extract ( - _tao_any, - Param_Test::Var_Struct::_tao_any_destructor, - Param_Test::_tc_Var_Struct, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Nested_Struct &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Nested_Struct *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Nested_Struct>::insert_copy ( - _tao_any, - Param_Test::Nested_Struct::_tao_any_destructor, - Param_Test::_tc_Nested_Struct, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Nested_Struct *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Nested_Struct>::insert ( - _tao_any, - Param_Test::Nested_Struct::_tao_any_destructor, - Param_Test::_tc_Nested_Struct, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Nested_Struct *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Nested_Struct *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Nested_Struct *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Nested_Struct>::extract ( - _tao_any, - Param_Test::Nested_Struct::_tao_any_destructor, - Param_Test::_tc_Nested_Struct, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Objref_Struct &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Objref_Struct *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Objref_Struct>::insert_copy ( - _tao_any, - Param_Test::Objref_Struct::_tao_any_destructor, - Param_Test::_tc_Objref_Struct, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Objref_Struct *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Objref_Struct>::insert ( - _tao_any, - Param_Test::Objref_Struct::_tao_any_destructor, - Param_Test::_tc_Objref_Struct, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Objref_Struct *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Objref_Struct *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Objref_Struct *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Objref_Struct>::extract ( - _tao_any, - Param_Test::Objref_Struct::_tao_any_destructor, - Param_Test::_tc_Objref_Struct, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_cs.cpp:55 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Fixed_Array_forany &_tao_elem - ) -{ - TAO::Any_Array_Impl_T< - Param_Test::Fixed_Array_slice, - Param_Test::Fixed_Array_forany - >::insert ( - _tao_any, - Param_Test::Fixed_Array_forany::_tao_any_destructor, - Param_Test::_tc_Fixed_Array, - _tao_elem.nocopy () - ? _tao_elem.ptr () - : Param_Test::Fixed_Array_dup (_tao_elem.in ()) - ); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Fixed_Array_forany &_tao_elem - ) -{ - return - TAO::Any_Array_Impl_T< - Param_Test::Fixed_Array_slice, - Param_Test::Fixed_Array_forany - >::extract ( - _tao_any, - Param_Test::Fixed_Array_forany::_tao_any_destructor, - Param_Test::_tc_Fixed_Array, - _tao_elem.out () - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_cs.cpp:55 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Var_Array_forany &_tao_elem - ) -{ - TAO::Any_Array_Impl_T< - Param_Test::Var_Array_slice, - Param_Test::Var_Array_forany - >::insert ( - _tao_any, - Param_Test::Var_Array_forany::_tao_any_destructor, - Param_Test::_tc_Var_Array, - _tao_elem.nocopy () - ? _tao_elem.ptr () - : Param_Test::Var_Array_dup (_tao_elem.in ()) - ); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Var_Array_forany &_tao_elem - ) -{ - return - TAO::Any_Array_Impl_T< - Param_Test::Var_Array_slice, - Param_Test::Var_Array_forany - >::extract ( - _tao_any, - Param_Test::Var_Array_forany::_tao_any_destructor, - Param_Test::_tc_Var_Array, - _tao_elem.out () - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_cs.cpp:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -void operator<<= ( - ::CORBA::Any &_tao_any, - const std::vector<Param_Test::Fixed_Array> &_tao_elem) -{ - TAO::insert_array_vector<Param_Test::Fixed_Array_forany> ( - _tao_any, - _tao_elem); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - std::vector<Param_Test::Fixed_Array> &_tao_elem) -{ - return - 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: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 - ) -{ - 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 - ); -} - -// 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 - ) -{ - 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_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/any_op_cs.cpp:50 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -namespace TAO -{ - template<> - ::CORBA::Boolean - Any_Dual_Impl_T<Param_Test::Ooops>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - ::CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - try - { - this->value_->_tao_decode (cdr); - } - catch (const ::CORBA::Exception &) - { - return false; - } - - return true; - } -} - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Ooops &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Ooops>::insert_copy ( - _tao_any, - Param_Test::Ooops::_tao_any_destructor, - Param_Test::_tc_Ooops, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Ooops *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Ooops>::insert ( - _tao_any, - Param_Test::Ooops::_tao_any_destructor, - Param_Test::_tc_Ooops, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Ooops *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Ooops *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Ooops *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Ooops>::extract ( - _tao_any, - Param_Test::Ooops::_tao_any_destructor, - Param_Test::_tc_Ooops, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/any_op_cs.cpp:50 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -namespace TAO -{ - template<> - ::CORBA::Boolean - Any_Dual_Impl_T<Param_Test::BadBoy>::demarshal_value ( - TAO_InputCDR & cdr - ) - { - ::CORBA::String_var id; - - if (!(cdr >> id.out ())) - { - return false; - } - - try - { - this->value_->_tao_decode (cdr); - } - catch (const ::CORBA::Exception &) - { - return false; - } - - return true; - } -} - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::BadBoy &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::BadBoy>::insert_copy ( - _tao_any, - Param_Test::BadBoy::_tao_any_destructor, - Param_Test::_tc_BadBoy, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::BadBoy *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::BadBoy>::insert ( - _tao_any, - Param_Test::BadBoy::_tao_any_destructor, - Param_Test::_tc_BadBoy, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::BadBoy *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::BadBoy *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::BadBoy *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::BadBoy>::extract ( - _tao_any, - Param_Test::BadBoy::_tao_any_destructor, - Param_Test::_tc_BadBoy, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Big_Union &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Big_Union *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Big_Union>::insert_copy ( - _tao_any, - Param_Test::Big_Union::_tao_any_destructor, - Param_Test::_tc_Big_Union, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Big_Union *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Big_Union>::insert ( - _tao_any, - Param_Test::Big_Union::_tao_any_destructor, - Param_Test::_tc_Big_Union, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Big_Union *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Big_Union *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Big_Union *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Big_Union>::extract ( - _tao_any, - Param_Test::Big_Union::_tao_any_destructor, - Param_Test::_tc_Big_Union, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_enum/any_op_cs.cpp:52 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Small_Union_Switch _tao_elem - ) -{ - TAO::Any_Basic_Impl_T<Param_Test::Small_Union_Switch>::insert ( - _tao_any, - Param_Test::_tc_Small_Union_Switch, - _tao_elem - ); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Small_Union_Switch &_tao_elem - ) -{ - return - TAO::Any_Basic_Impl_T<Param_Test::Small_Union_Switch>::extract ( - _tao_any, - Param_Test::_tc_Small_Union_Switch, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Small_Union &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Small_Union *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Small_Union>::insert_copy ( - _tao_any, - Param_Test::Small_Union::_tao_any_destructor, - Param_Test::_tc_Small_Union, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Small_Union *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Small_Union>::insert ( - _tao_any, - Param_Test::Small_Union::_tao_any_destructor, - Param_Test::_tc_Small_Union, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Small_Union *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Small_Union *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Small_Union *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Small_Union>::extract ( - _tao_any, - Param_Test::Small_Union::_tao_any_destructor, - Param_Test::_tc_Small_Union, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::level4 &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::level4 *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::level4>::insert_copy ( - _tao_any, - Param_Test::level4::_tao_any_destructor, - Param_Test::_tc_level4, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::level4 *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::level4>::insert ( - _tao_any, - Param_Test::level4::_tao_any_destructor, - Param_Test::_tc_level4, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::level4 *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::level4 *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::level4 *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::level4>::extract ( - _tao_any, - Param_Test::level4::_tao_any_destructor, - Param_Test::_tc_level4, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::level8 &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::level8 *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::level8>::insert_copy ( - _tao_any, - Param_Test::level8::_tao_any_destructor, - Param_Test::_tc_level8, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::level8 *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::level8>::insert ( - _tao_any, - Param_Test::level8::_tao_any_destructor, - Param_Test::_tc_level8, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::level8 *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::level8 *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::level8 *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::level8>::extract ( - _tao_any, - Param_Test::level8::_tao_any_destructor, - Param_Test::_tc_level8, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Recursive_Struct &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Recursive_Struct *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Struct>::insert_copy ( - _tao_any, - Param_Test::Recursive_Struct::_tao_any_destructor, - Param_Test::_tc_Recursive_Struct, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Recursive_Struct *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Struct>::insert ( - _tao_any, - Param_Test::Recursive_Struct::_tao_any_destructor, - Param_Test::_tc_Recursive_Struct, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Recursive_Struct *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Recursive_Struct *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Recursive_Struct *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Struct>::extract ( - _tao_any, - Param_Test::Recursive_Struct::_tao_any_destructor, - Param_Test::_tc_Recursive_Struct, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::nested_rec_union &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::nested_rec_union *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::nested_rec_union>::insert_copy ( - _tao_any, - Param_Test::nested_rec_union::_tao_any_destructor, - Param_Test::_tc_nested_rec_union, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::nested_rec_union *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::nested_rec_union>::insert ( - _tao_any, - Param_Test::nested_rec_union::_tao_any_destructor, - Param_Test::_tc_nested_rec_union, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::nested_rec_union *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::nested_rec_union *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::nested_rec_union *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::nested_rec_union>::extract ( - _tao_any, - Param_Test::nested_rec_union::_tao_any_destructor, - Param_Test::_tc_nested_rec_union, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_cs.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Recursive_Union &_tao_elem - ) -{ - if (0 == &_tao_elem) // Trying to de-reference NULL object - _tao_any <<= static_cast<Param_Test::Recursive_Union *>( 0 ); // Use non-copying insertion of a NULL - else - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Union>::insert_copy ( - _tao_any, - Param_Test::Recursive_Union::_tao_any_destructor, - Param_Test::_tc_Recursive_Union, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - ::CORBA::Any &_tao_any, - Param_Test::Recursive_Union *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Union>::insert ( - _tao_any, - Param_Test::Recursive_Union::_tao_any_destructor, - Param_Test::_tc_Recursive_Union, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Recursive_Union *&_tao_elem - ) -{ - return _tao_any >>= const_cast< - const Param_Test::Recursive_Union *&> ( - _tao_elem - ); -} - -// Extraction to const pointer. -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - const Param_Test::Recursive_Union *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<Param_Test::Recursive_Union>::extract ( - _tao_any, - Param_Test::Recursive_Union::_tao_any_destructor, - Param_Test::_tc_Recursive_Union, - _tao_elem - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_cs.cpp:55 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -void operator<<= ( - ::CORBA::Any &_tao_any, - const Param_Test::Multdim_Array_forany &_tao_elem - ) -{ - TAO::Any_Array_Impl_T< - Param_Test::Multdim_Array_slice, - Param_Test::Multdim_Array_forany - >::insert ( - _tao_any, - Param_Test::Multdim_Array_forany::_tao_any_destructor, - Param_Test::_tc_Multdim_Array, - _tao_elem.nocopy () - ? _tao_elem.ptr () - : Param_Test::Multdim_Array_dup (_tao_elem.in ()) - ); -} - -::CORBA::Boolean operator>>= ( - const ::CORBA::Any &_tao_any, - Param_Test::Multdim_Array_forany &_tao_elem - ) -{ - return - TAO::Any_Array_Impl_T< - Param_Test::Multdim_Array_slice, - Param_Test::Multdim_Array_forany - >::extract ( - _tao_any, - Param_Test::Multdim_Array_forany::_tao_any_destructor, - Param_Test::_tc_Multdim_Array, - _tao_elem.out () - ); -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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 Coffee::Desc &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.name.in ()); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Coffee::Desc &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.name.out ()); -} - -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 Coffee_ptr _tao_objref) -{ - ::CORBA::Object_ptr _tao_corba_obj = _tao_objref; - return (strm << _tao_corba_obj); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Coffee_ptr &_tao_objref) -{ - ::CORBA::Object_var obj; - - if (!(strm >> obj.inout ())) - { - return false; - } - - typedef ::Coffee RHS_SCOPED_NAME; - - // Narrow to the right type. - _tao_objref = - TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( - obj.in (), - _TAO_Coffee_Proxy_Broker_Factory_function_pointer - ); - - return true; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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::Fixed_Struct &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.l) && - (strm << ::ACE_OutputCDR::from_char (_tao_aggregate.c)) && - (strm << _tao_aggregate.s) && - (strm << ::ACE_OutputCDR::from_octet (_tao_aggregate.o)) && - (strm << _tao_aggregate.f) && - (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.b)) && - (strm << _tao_aggregate.d); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Fixed_Struct &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.l) && - (strm >> ::ACE_InputCDR::to_char (_tao_aggregate.c)) && - (strm >> _tao_aggregate.s) && - (strm >> ::ACE_InputCDR::to_octet (_tao_aggregate.o)) && - (strm >> _tao_aggregate.f) && - (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.b)) && - (strm >> _tao_aggregate.d); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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::NameComponent &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.id.in ()) && - (strm << _tao_aggregate.kind.in ()); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::NameComponent &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.id.out ()) && - (strm >> _tao_aggregate.kind.out ()); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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::Step &_tao_aggregate - ) -{ - return - (strm << _tao_aggregate.name) && - (strm << ::ACE_OutputCDR::from_boolean (_tao_aggregate.process)); -} - -::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - Param_Test::Step &_tao_aggregate - ) -{ - return - (strm >> _tao_aggregate.name) && - (strm >> ::ACE_InputCDR::to_boolean (_tao_aggregate.process)); -} - -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_PathSpec_CPP_ -#define _TAO_CDR_OP_Param_Test_PathSpec_CPP_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Step> &_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::Step> &_tao_vector) -{ - ::CORBA::ULong length = 0UL; - Param_Test::Step * tmp; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - 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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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 - - -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); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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 - ); -} - -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::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 - - - -// 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 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; - - if (! (strm >> length)) - { - return false; - } - - 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_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 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; - - if (! (strm >> length)) - { - return false; - } - - 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 -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) - ); -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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; -} - -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::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_union/cdr_op_cs.cpp:67 - - -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; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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, 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_union/cdr_op_cs.cpp:67 - - -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; -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// 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::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_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); -} - -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_BEGIN_VERSIONED_NAMESPACE_DECL - -::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; - - if (! (strm >> length)) - { - return false; - } - - 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_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_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 - - - -// 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 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; - - if (! (strm >> length)) - { - return false; - } - - 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_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::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 - - - -// 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 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; - - if (! (strm >> length)) - { - return false; - } - - 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_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::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_array/cdr_op_cs.cpp:178 - - -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; -} - -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 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 - - - diff --git a/modules/TAO/tests/Param_Test/param_testC.h b/modules/TAO/tests/Param_Test/param_testC.h deleted file mode 100644 index 01808a3a163..00000000000 --- a/modules/TAO/tests/Param_Test/param_testC.h +++ /dev/null @@ -1,3539 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:134 - -#ifndef _TAO_IDL_PARAM_TESTC_H_ -#define _TAO_IDL_PARAM_TESTC_H_ - -#include /**/ "ace/pre.h" - - -#include /**/ "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include <string> -#include <vector> - -#include "tao/AnyTypeCode/AnyTypeCode_methods.h" -#include "tao/ORB.h" -#include "tao/SystemException.h" -#include "tao/UserException.h" -#include "tao/Basic_Types.h" -#include "tao/ORB_Constants.h" -#include "tao/Object.h" -#include "tao/AnyTypeCode/TypeCode.h" -#include "tao/AnyTypeCode/TypeCode_Constants.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/String_Manager_T.h" -#include "tao/AnyTypeCode/BooleanSeqA.h" -#include "tao/AnyTypeCode/CharSeqA.h" -#include "tao/AnyTypeCode/DoubleSeqA.h" -#include "tao/AnyTypeCode/FloatSeqA.h" -#include "tao/AnyTypeCode/LongDoubleSeqA.h" -#include "tao/AnyTypeCode/LongSeqA.h" -#include "tao/AnyTypeCode/OctetSeqA.h" -#include "tao/AnyTypeCode/ShortSeqA.h" -#include "tao/AnyTypeCode/StringSeqA.h" -#include "tao/AnyTypeCode/ULongSeqA.h" -#include "tao/AnyTypeCode/UShortSeqA.h" -#include "tao/AnyTypeCode/WCharSeqA.h" -#include "tao/AnyTypeCode/WStringSeqA.h" -#include "tao/AnyTypeCode/LongLongSeqA.h" -#include "tao/AnyTypeCode/ULongLongSeqA.h" -#include "tao/AnyTypeCode/PolicyA.h" -#include "tao/AnyTypeCode/Policy_ManagerA.h" -#include "tao/AnyTypeCode/Policy_CurrentA.h" -#include "tao/AnyTypeCode/ServicesA.h" -#include "tao/AnyTypeCode/ParameterModeA.h" -#include "tao/AnyTypeCode/orb_typesA.h" -#include "tao/AnyTypeCode/Typecode_typesA.h" -#include "tao/AnyTypeCode/WrongTransactionA.h" -#include "tao/AnyTypeCode/AnySeqA.h" -#include "tao/Sequence_T.h" -#include "tao/Objref_VarOut_T.h" -#include "tao/Seq_Var_T.h" -#include "tao/Seq_Out_T.h" -#include "tao/VarOut_T.h" -#include "tao/Array_VarOut_T.h" -#include /**/ "tao/Versioned_Namespace.h" - -#include "tao/BooleanSeqC.h" -#include "tao/CharSeqC.h" -#include "tao/DoubleSeqC.h" -#include "tao/FloatSeqC.h" -#include "tao/LongDoubleSeqC.h" -#include "tao/LongSeqC.h" -#include "tao/OctetSeqC.h" -#include "tao/ShortSeqC.h" -#include "tao/StringSeqC.h" -#include "tao/ULongSeqC.h" -#include "tao/UShortSeqC.h" -#include "tao/WCharSeqC.h" -#include "tao/WStringSeqC.h" -#include "tao/LongLongSeqC.h" -#include "tao/ULongLongSeqC.h" -#include "tao/PolicyC.h" -#include "tao/Policy_ManagerC.h" -#include "tao/Policy_CurrentC.h" -#include "tao/ServicesC.h" -#include "tao/ParameterModeC.h" -#include "tao/orb_typesC.h" -#include "tao/Typecode_typesC.h" -#include "tao/WrongTransactionC.h" -#include "tao/AnyTypeCode/AnySeqC.h" - -#if defined (TAO_EXPORT_MACRO) -#undef TAO_EXPORT_MACRO -#endif -#define TAO_EXPORT_MACRO - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_root/root_ch.cpp:62 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - -namespace TAO -{ - class Collocation_Proxy_Broker; - template<typename T> class Narrow_Utils; -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// .\be\be_interface.cpp:643 - -#if !defined (_COFFEE__VAR_OUT_CH_) -#define _COFFEE__VAR_OUT_CH_ - -class Coffee; -typedef Coffee *Coffee_ptr; - -typedef - TAO_Objref_Var_T< - Coffee - > - Coffee_var; - -typedef - TAO_Objref_Out_T< - Coffee - > - Coffee_out; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:50 - -class Coffee - : public virtual ::CORBA::Object -{ -public: - friend class TAO::Narrow_Utils<Coffee>; - typedef Coffee_ptr _ptr_type; - typedef Coffee_var _var_type; - typedef Coffee_out _out_type; - - // The static operations. - static Coffee_ptr _duplicate (Coffee_ptr obj); - - static void _tao_release (Coffee_ptr obj); - - static Coffee_ptr _narrow (::CORBA::Object_ptr obj); - static Coffee_ptr _unchecked_narrow (::CORBA::Object_ptr obj); - static Coffee_ptr _nil (void) - { - return static_cast<Coffee_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Desc; - - typedef - TAO_Var_Var_T< - Desc - > - Desc_var; - - typedef - TAO_Out_T< - Desc - > - Desc_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Desc - { - typedef Desc_var _var_type; - typedef Desc_out _out_type; - - static void _tao_any_destructor (void *); - TAO::String_Manager name; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Desc; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::Coffee::Desc * - description (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual void - description ( - const Coffee::Desc & description); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:209 - - virtual ::CORBA::Boolean _is_a (const char *type_id); - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); -private: - TAO::Collocation_Proxy_Broker *the_TAO_Coffee_Proxy_Broker_; - -protected: - // Concrete interface only. - Coffee (void); - - // These methods traverse the inheritance tree and set the - // parents piece of the given class in the right mode. - virtual void Coffee_setup_collocation (void); - - // Concrete non-local interface only. - Coffee ( - ::IOP::IOR *ior, - TAO_ORB_Core *orb_core); - - // Non-local interface only. - Coffee ( - TAO_Stub *objref, - ::CORBA::Boolean _tao_collocated = false, - TAO_Abstract_ServantBase *servant = 0, - TAO_ORB_Core *orb_core = 0); - - virtual ~Coffee (void); - -private: - // Private and unimplemented for concrete interfaces. - Coffee (const Coffee &); - - void operator= (const Coffee &); -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - -extern ::CORBA::TypeCode_ptr const _tc_Coffee; - -// TAO_IDL - Generated from -// .\be\be_interface.cpp:643 - -#if !defined (_PARAM_TEST__VAR_OUT_CH_) -#define _PARAM_TEST__VAR_OUT_CH_ - -class Param_Test; -typedef Param_Test *Param_Test_ptr; - -typedef - TAO_Objref_Var_T< - Param_Test - > - Param_Test_var; - -typedef - TAO_Objref_Out_T< - Param_Test - > - Param_Test_out; - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:50 - -class Param_Test - : public virtual ::CORBA::Object -{ -public: - friend class TAO::Narrow_Utils<Param_Test>; - typedef Param_Test_ptr _ptr_type; - typedef Param_Test_var _var_type; - typedef Param_Test_out _out_type; - - // The static operations. - static Param_Test_ptr _duplicate (Param_Test_ptr obj); - - static void _tao_release (Param_Test_ptr obj); - - static Param_Test_ptr _narrow (::CORBA::Object_ptr obj); - static Param_Test_ptr _unchecked_narrow (::CORBA::Object_ptr obj); - static Param_Test_ptr _nil (void) - { - return static_cast<Param_Test_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::CORBA::Short - test_short ( - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::string - test_unbounded_string ( - const std::string s1, - std::string & s2, - std::string & s3); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typedef/typedef_ch.cpp:413 - - typedef char * short_string; - typedef ::CORBA::String_var short_string_var; - typedef ::CORBA::String_out short_string_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_short_string; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual char * - test_bounded_string ( - const char * s1, - char *& s2, - ::CORBA::String_out s3); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::CORBA::WChar * - test_unbounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typedef/typedef_ch.cpp:413 - - typedef ::CORBA::WChar * short_wstring; - typedef ::CORBA::WString_var short_wstring_var; - typedef ::CORBA::WString_out short_wstring_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_short_wstring; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::CORBA::WChar * - test_bounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Fixed_Struct; - - typedef - TAO_Fixed_Var_T< - Fixed_Struct - > - Fixed_Struct_var; - - typedef - Fixed_Struct & - Fixed_Struct_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Fixed_Struct - { - typedef Fixed_Struct_var _var_type; - typedef Fixed_Struct_out _out_type; - - static void _tao_any_destructor (void *); - ::CORBA::Long l; - ::CORBA::Char c; - ::CORBA::Short s; - ::CORBA::Octet o; - ::CORBA::Float f; - ::CORBA::Boolean b; - ::CORBA::Double d; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Fixed_Struct; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct NameComponent; - - typedef - TAO_Var_Var_T< - NameComponent - > - NameComponent_var; - - typedef - TAO_Out_T< - NameComponent - > - NameComponent_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct NameComponent - { - typedef NameComponent_var _var_type; - typedef NameComponent_out _out_type; - - static void _tao_any_destructor (void *); - TAO::String_Manager id; - TAO::String_Manager kind; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_NameComponent; - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Step; - - typedef - TAO_Var_Var_T< - Step - > - Step_var; - - typedef - TAO_Out_T< - Step - > - Step_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Step - { - typedef Step_var _var_type; - typedef Step_out _out_type; - - static void _tao_any_destructor (void *); - Param_Test::NameComponent name; - ::CORBA::Boolean process; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Step; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_PATHSPEC_CH_) -#define _PARAM_TEST_PATHSPEC_CH_ - - class PathSpec - : public - std::vector<Step> - { - public: - PathSpec (void); - PathSpec ( ::CORBA::ULong max); - PathSpec (const PathSpec &); - virtual ~PathSpec (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - - static void _tao_any_destructor (void *); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_PathSpec; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<CORBA::Short> - test_short_sequence ( - 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 - -#if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ_CH_) -#define _PARAM_TEST_BOUNDED_SHORT_SEQ_CH_ - - class Bounded_Short_Seq; - - typedef - TAO_FixedSeq_Var_T< - Bounded_Short_Seq - > - Bounded_Short_Seq_var; - - typedef - TAO_Seq_Out_T< - Bounded_Short_Seq - > - Bounded_Short_Seq_out; - - class Bounded_Short_Seq - : public - TAO::bounded_value_sequence< - ::CORBA::Short, - 32 - > - { - public: - Bounded_Short_Seq (void); - Bounded_Short_Seq ( - ::CORBA::ULong length, - ::CORBA::Short* buffer, - ::CORBA::Boolean release = false); - Bounded_Short_Seq (const Bounded_Short_Seq &); - virtual ~Bounded_Short_Seq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_Short_Seq_var _var_type; - typedef Bounded_Short_Seq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_Short_Seq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<CORBA::Long> - test_long_sequence ( - 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 - -#if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ_CH_) -#define _PARAM_TEST_BOUNDED_LONG_SEQ_CH_ - - class Bounded_Long_Seq; - - typedef - TAO_FixedSeq_Var_T< - Bounded_Long_Seq - > - Bounded_Long_Seq_var; - - typedef - TAO_Seq_Out_T< - Bounded_Long_Seq - > - Bounded_Long_Seq_out; - - class Bounded_Long_Seq - : public - TAO::bounded_value_sequence< - ::CORBA::Long, - 32 - > - { - public: - Bounded_Long_Seq (void); - Bounded_Long_Seq ( - ::CORBA::ULong length, - ::CORBA::Long* buffer, - ::CORBA::Boolean release = false); - Bounded_Long_Seq (const Bounded_Long_Seq &); - virtual ~Bounded_Long_Seq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_Long_Seq_var _var_type; - typedef Bounded_Long_Seq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_Long_Seq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<char *> - test_strseq ( - 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 - -#if !defined (_PARAM_TEST_BOUNDED_STRSEQ_CH_) -#define _PARAM_TEST_BOUNDED_STRSEQ_CH_ - - class Bounded_StrSeq; - - typedef - TAO_VarSeq_Var_T< - Bounded_StrSeq - > - Bounded_StrSeq_var; - - typedef - TAO_Seq_Out_T< - Bounded_StrSeq - > - Bounded_StrSeq_out; - - class Bounded_StrSeq - : public - TAO::bounded_basic_string_sequence<char, 32> - { - public: - Bounded_StrSeq (void); - Bounded_StrSeq ( - ::CORBA::ULong length, - ::CORBA::Char ** buffer, - ::CORBA::Boolean release = false); - Bounded_StrSeq (const Bounded_StrSeq &); - virtual ~Bounded_StrSeq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_StrSeq_var _var_type; - typedef Bounded_StrSeq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_StrSeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<char *> - test_bounded_strseq ( - 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 std::vector<CORBA::WChar *> - test_wstrseq ( - 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 - -#if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ_CH_) -#define _PARAM_TEST_BOUNDED_WSTRSEQ_CH_ - - class Bounded_WStrSeq; - - typedef - TAO_VarSeq_Var_T< - Bounded_WStrSeq - > - Bounded_WStrSeq_var; - - typedef - TAO_Seq_Out_T< - Bounded_WStrSeq - > - Bounded_WStrSeq_out; - - class Bounded_WStrSeq - : public - TAO::bounded_basic_string_sequence<CORBA::WChar, 32> - { - public: - Bounded_WStrSeq (void); - Bounded_WStrSeq ( - ::CORBA::ULong length, - ::CORBA::WChar ** buffer, - ::CORBA::Boolean release = false); - Bounded_WStrSeq (const Bounded_WStrSeq &); - virtual ~Bounded_WStrSeq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_WStrSeq_var _var_type; - typedef Bounded_WStrSeq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_WStrSeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<CORBA::WChar *> - test_bounded_wstrseq ( - 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 - -#if !defined (_PARAM_TEST_STRUCTSEQ_CH_) -#define _PARAM_TEST_STRUCTSEQ_CH_ - - class StructSeq - : public - std::vector<Fixed_Struct> - { - public: - StructSeq (void); - StructSeq ( ::CORBA::ULong max); - StructSeq (const StructSeq &); - virtual ~StructSeq (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - - static void _tao_any_destructor (void *); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_StructSeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ_CH_) -#define _PARAM_TEST_BOUNDED_STRUCTSEQ_CH_ - - class Bounded_StructSeq; - - typedef - TAO_FixedSeq_Var_T< - Bounded_StructSeq - > - Bounded_StructSeq_var; - - typedef - TAO_Seq_Out_T< - Bounded_StructSeq - > - Bounded_StructSeq_out; - - class Bounded_StructSeq - : public - TAO::bounded_value_sequence< - Fixed_Struct, - 32 - > - { - public: - Bounded_StructSeq (void); - Bounded_StructSeq ( - ::CORBA::ULong length, - Fixed_Struct* buffer, - ::CORBA::Boolean release = false); - Bounded_StructSeq (const Bounded_StructSeq &); - virtual ~Bounded_StructSeq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_StructSeq_var _var_type; - typedef Bounded_StructSeq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_StructSeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_COFFEE_MIX_CH_) -#define _PARAM_TEST_COFFEE_MIX_CH_ - - class Coffee_Mix - : public - std::vector<Coffee> - { - public: - Coffee_Mix (void); - Coffee_Mix ( ::CORBA::ULong max); - Coffee_Mix (const Coffee_Mix &); - virtual ~Coffee_Mix (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - - static void _tao_any_destructor (void *); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Coffee_Mix; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<Coffee> - test_coffe_mix ( - 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 - -#if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX_CH_) -#define _PARAM_TEST_BOUNDED_COFFEE_MIX_CH_ - - class Bounded_Coffee_Mix; - - typedef - TAO_VarSeq_Var_T< - Bounded_Coffee_Mix - > - Bounded_Coffee_Mix_var; - - typedef - TAO_Seq_Out_T< - Bounded_Coffee_Mix - > - Bounded_Coffee_Mix_out; - - class Bounded_Coffee_Mix - : public - TAO::bounded_object_reference_sequence< - Coffee, - Coffee_var, - 32 - > - { - public: - Bounded_Coffee_Mix (void); - Bounded_Coffee_Mix ( - ::CORBA::ULong length, - Coffee_ptr* buffer, - ::CORBA::Boolean release = false); - Bounded_Coffee_Mix (const Bounded_Coffee_Mix &); - virtual ~Bounded_Coffee_Mix (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_Coffee_Mix_var _var_type; - typedef Bounded_Coffee_Mix_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_Coffee_Mix; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual std::vector<Coffee> - test_bounded_coffe_mix ( - 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 std::vector<CORBA::Any> - test_anyseq ( - 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 - - typedef char * DUMMY; - typedef ::CORBA::String_var DUMMY_var; - typedef ::CORBA::String_out DUMMY_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_DUMMY; - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Var_Struct; - - typedef - TAO_Var_Var_T< - Var_Struct - > - Var_Struct_var; - - typedef - TAO_Out_T< - Var_Struct - > - Var_Struct_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Var_Struct - { - typedef Var_Struct_var _var_type; - typedef Var_Struct_out _out_type; - - static void _tao_any_destructor (void *); - ::CORBA::Double dbl; - TAO::String_Manager dummy1; - ::CORBA::Boolean boole; - TAO::String_Manager dummy2; - ::CORBA::Short shrt; - CORBA::StringSeq seq; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Var_Struct; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Nested_Struct; - - typedef - TAO_Var_Var_T< - Nested_Struct - > - Nested_Struct_var; - - typedef - TAO_Out_T< - Nested_Struct - > - Nested_Struct_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Nested_Struct - { - typedef Nested_Struct_var _var_type; - typedef Nested_Struct_out _out_type; - - static void _tao_any_destructor (void *); - Param_Test::Var_Struct vs; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Nested_Struct; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::Coffee_ptr - make_coffee (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::Coffee_ptr - test_objref ( - 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); - - // 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); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Objref_Struct; - - typedef - TAO_Var_Var_T< - Objref_Struct - > - Objref_Struct_var; - - typedef - TAO_Out_T< - Objref_Struct - > - Objref_Struct_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Objref_Struct - { - typedef Objref_Struct_var _var_type; - typedef Objref_Struct_out _out_type; - - static void _tao_any_destructor (void *); - ::CORBA::Long x; - Coffee_var y; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Objref_Struct; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - - static const CORBA::ULong DIM1 = 10U; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_array/array_ch.cpp:62 - - typedef ::CORBA::Long Fixed_Array[10]; - typedef ::CORBA::Long Fixed_Array_slice; - struct Fixed_Array_tag {}; - - - typedef - TAO_FixedArray_Var_T< - Fixed_Array, - Fixed_Array_slice, - Fixed_Array_tag - > - Fixed_Array_var; - - typedef - Fixed_Array - Fixed_Array_out; - - typedef - TAO_Array_Forany_T< - Fixed_Array, - Fixed_Array_slice, - Fixed_Array_tag - > - Fixed_Array_forany; - - static Fixed_Array_slice * - Fixed_Array_alloc (void); - - static void - Fixed_Array_free ( - Fixed_Array_slice *_tao_slice - ); - - static Fixed_Array_slice * - Fixed_Array_dup ( - const Fixed_Array_slice *_tao_slice - ); - - static void - Fixed_Array_copy ( - Fixed_Array_slice *_tao_to, - const Fixed_Array_slice *_tao_from - ); - - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Fixed_Array; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - - static const CORBA::ULong DIM2 = 5U; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_array/array_ch.cpp:62 - - typedef TAO::String_Manager Var_Array[5]; - typedef TAO::String_Manager Var_Array_slice; - struct Var_Array_tag {}; - - - typedef - TAO_VarArray_Var_T< - Var_Array, - Var_Array_slice, - Var_Array_tag - > - Var_Array_var; - - typedef - TAO_Array_Out_T< - Var_Array, - Var_Array_var, - Var_Array_slice, - Var_Array_tag - > - Var_Array_out; - - typedef - TAO_Array_Forany_T< - Var_Array, - Var_Array_slice, - Var_Array_tag - > - Var_Array_forany; - - static Var_Array_slice * - Var_Array_alloc (void); - - static void - Var_Array_free ( - Var_Array_slice *_tao_slice - ); - - static Var_Array_slice * - Var_Array_dup ( - const Var_Array_slice *_tao_slice - ); - - static void - Var_Array_copy ( - Var_Array_slice *_tao_to, - const Var_Array_slice *_tao_from - ); - - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Var_Array; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_ARRAYSEQ_CH_) -#define _PARAM_TEST_ARRAYSEQ_CH_ - - class ArraySeq - : public - std::vector<Fixed_Array> - { - public: - ArraySeq (void); - ArraySeq ( ::CORBA::ULong max); - ArraySeq (const ArraySeq &); - virtual ~ArraySeq (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - - static void _tao_any_destructor (void *); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_ArraySeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ_CH_) -#define _PARAM_TEST_BOUNDED_ARRAYSEQ_CH_ - - class Bounded_ArraySeq; - - typedef - TAO_FixedSeq_Var_T< - Bounded_ArraySeq - > - Bounded_ArraySeq_var; - - typedef - TAO_Seq_Out_T< - Bounded_ArraySeq - > - Bounded_ArraySeq_out; - - class Bounded_ArraySeq - : public - TAO::bounded_array_sequence< - Fixed_Array, - Fixed_Array_slice, - Fixed_Array_tag, - 32 - > - { - public: - Bounded_ArraySeq (void); - Bounded_ArraySeq ( - ::CORBA::ULong length, - Fixed_Array* buffer, - ::CORBA::Boolean release = false); - Bounded_ArraySeq (const Bounded_ArraySeq &); - virtual ~Bounded_ArraySeq (void); - - static void _tao_any_destructor (void *); - - typedef Bounded_ArraySeq_var _var_type; - typedef Bounded_ArraySeq_out _out_type; - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Bounded_ArraySeq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:53 - - class Ooops : public ::CORBA::UserException - { - public: - - TAO::String_Manager reason; - ::CORBA::ULong input; - Ooops (void); - Ooops (const Ooops &); - ~Ooops (void); - - Ooops &operator= (const Ooops &); - - static void _tao_any_destructor (void *); - - static Ooops *_downcast ( ::CORBA::Exception *); - static const Ooops *_downcast ( ::CORBA::Exception const *); - - static ::CORBA::Exception *_alloc (void); - - virtual ::CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode (TAO_OutputCDR &cdr) const; - virtual void _tao_decode (TAO_InputCDR &cdr); - - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_exception/exception_ctor.cpp:66 - - Ooops ( - const char * _tao_reason, - ::CORBA::ULong _tao_input - ); - - virtual ::CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Ooops; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:53 - - class BadBoy : public ::CORBA::UserException - { - public: - - BadBoy (void); - BadBoy (const BadBoy &); - ~BadBoy (void); - - BadBoy &operator= (const BadBoy &); - - static void _tao_any_destructor (void *); - - static BadBoy *_downcast ( ::CORBA::Exception *); - static const BadBoy *_downcast ( ::CORBA::Exception const *); - - static ::CORBA::Exception *_alloc (void); - - virtual ::CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode (TAO_OutputCDR &cdr) const; - virtual void _tao_decode (TAO_InputCDR &cdr); - - - virtual ::CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_BadBoy; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::CORBA::ULong - test_exception ( - CORBA::ULong s1, - CORBA::ULong & s2, - CORBA::ULong_out s3); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - class Big_Union; - - typedef - TAO_Var_Var_T< - Big_Union - > - Big_Union_var; - - typedef - TAO_Out_T< - Big_Union - > - Big_Union_out; - - class Big_Union - { - public: - Big_Union (void); - Big_Union (const Big_Union &); - ~Big_Union (void); - static void _tao_any_destructor (void*); - - Big_Union &operator= (const Big_Union &); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/discriminant_ch.cpp:114 - - void _d ( ::CORBA::Short); - ::CORBA::Short _d (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:110 - - typedef Big_Union_var _var_type; - typedef Big_Union_out _out_type; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:137 - - void the_array (Param_Test::Fixed_Array); - Param_Test::Fixed_Array_slice * the_array (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:244 - - void the_interface (Coffee_ptr); - Coffee_ptr the_interface (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_long ( ::CORBA::Long); - ::CORBA::Long the_long (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_array/array_ch.cpp:62 - - typedef ::CORBA::Short _another_array[32]; - typedef ::CORBA::Short _another_array_slice; - struct _another_array_tag {}; - - - typedef - TAO_Array_Forany_T< - _another_array, - _another_array_slice, - _another_array_tag - > - _another_array_forany; - - static _another_array_slice * - _another_array_alloc (void); - - static void - _another_array_free ( - _another_array_slice *_tao_slice - ); - - static _another_array_slice * - _another_array_dup ( - const _another_array_slice *_tao_slice - ); - - static void - _another_array_copy ( - _another_array_slice *_tao_to, - const _another_array_slice *_tao_from - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:123 - - void another_array (_another_array); - _another_array_slice * another_array (void) const; // get method - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:591 - - void the_string (char *); - void the_string (const char *); - void the_string (const ::CORBA::String_var&); - const char *the_string (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:559 - - void the_sequence (const CORBA::ShortSeq &); - const CORBA::ShortSeq &the_sequence (void) const; - CORBA::ShortSeq &the_sequence (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_any (const ::CORBA::Any &); - const ::CORBA::Any &the_any (void) const; - ::CORBA::Any &the_any (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_octet ( ::CORBA::Octet); - ::CORBA::Octet the_octet (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_char ( ::CORBA::Char); - ::CORBA::Char the_char (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_boolean ( ::CORBA::Boolean); - ::CORBA::Boolean the_boolean (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:667 - - void the_var_struct (const Param_Test::Var_Struct &); - const Param_Test::Var_Struct &the_var_struct (void) const; - Param_Test::Var_Struct &the_var_struct (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:667 - - void the_fixed_struct (const Param_Test::Fixed_Struct &); - const Param_Test::Fixed_Struct &the_fixed_struct (void) const; - Param_Test::Fixed_Struct &the_fixed_struct (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:146 - - void _default (void); - private: - ::CORBA::Short disc_; - ::CORBA::Short holder_; - - union - { - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:101 - Param_Test::Fixed_Array_slice *the_array_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:190 - Coffee_var *the_interface_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Long the_long_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:101 - _another_array_slice *another_array_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:485 - char *the_string_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:455 - CORBA::ShortSeq *the_sequence_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Any *the_any_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Octet the_octet_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Char the_char_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Boolean the_boolean_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:530 - Param_Test::Var_Struct *the_var_struct_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:530 - Param_Test::Fixed_Struct the_fixed_struct_; - } u_; - - /// TAO extension - frees any allocated storage. - void _reset (void); - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Big_Union; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_enum/enum_ch.cpp:57 - - enum Small_Union_Switch - { - A_LONG, - A_SHORT - }; - - typedef Small_Union_Switch &Small_Union_Switch_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Small_Union_Switch; - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - class Small_Union; - - typedef - TAO_Fixed_Var_T< - Small_Union - > - Small_Union_var; - - typedef - Small_Union & - Small_Union_out; - - class Small_Union - { - public: - Small_Union (void); - Small_Union (const Small_Union &); - ~Small_Union (void); - static void _tao_any_destructor (void*); - - Small_Union &operator= (const Small_Union &); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/discriminant_ch.cpp:82 - - void _d (Param_Test::Small_Union_Switch); - Param_Test::Small_Union_Switch _d (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:110 - - typedef Small_Union_var _var_type; - typedef Small_Union_out _out_type; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_long ( ::CORBA::Long); - ::CORBA::Long the_long (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void the_short ( ::CORBA::Short); - ::CORBA::Short the_short (void) const; - private: - Param_Test::Small_Union_Switch disc_; - Param_Test::Small_Union_Switch holder_; - - union - { - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Long the_long_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Short the_short_; - } u_; - - /// TAO extension - frees any allocated storage. - void _reset (void); - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Small_Union; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct level4; - - typedef - TAO_Var_Var_T< - level4 - > - level4_var; - - typedef - TAO_Out_T< - level4 - > - level4_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct level4 - { - typedef level4_var _var_type; - typedef level4_out _out_type; - - static void _tao_any_destructor (void *); - TAO::String_Manager level5_string; - ::CORBA::Any level5_any; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_level4; - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct level8; - - typedef - TAO_Var_Var_T< - level8 - > - level8_var; - - typedef - TAO_Out_T< - level8 - > - level8_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct level8 - { - typedef level8_var _var_type; - typedef level8_out _out_type; - - static void _tao_any_destructor (void *); - TAO::String_Manager level9_string; - ::CORBA::Boolean level9_boolean; - ::CORBA::Short level9_short; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_level8; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual ::CORBA::Any * - test_complex_any ( - const CORBA::Any & ca1, - CORBA::Any & ca2, - CORBA::Any_out ca3); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - struct Recursive_Struct; - - typedef - TAO_Var_Var_T< - Recursive_Struct - > - Recursive_Struct_var; - - typedef - TAO_Out_T< - Recursive_Struct - > - Recursive_Struct_out; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_structure/structure_ch.cpp:57 - - struct Recursive_Struct - { - typedef Recursive_Struct_var _var_type; - typedef Recursive_Struct_out _out_type; - - static void _tao_any_destructor (void *); - ::CORBA::Long x; - - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_RECURSIVE_STRUCT__TAO_SEQ_PARAM_TEST_RECURSIVE_STRUCT__CH_) -#define _PARAM_TEST_RECURSIVE_STRUCT__TAO_SEQ_PARAM_TEST_RECURSIVE_STRUCT__CH_ - - class _tao_seq_Param_Test_Recursive_Struct_ - : public - std::vector<Param_Test::Recursive_Struct> - { - public: - _tao_seq_Param_Test_Recursive_Struct_ (void); - _tao_seq_Param_Test_Recursive_Struct_ ( ::CORBA::ULong max); - _tao_seq_Param_Test_Recursive_Struct_ (const _tao_seq_Param_Test_Recursive_Struct_ &); - virtual ~_tao_seq_Param_Test_Recursive_Struct_ (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_field/field_ch.cpp:358 - - typedef _tao_seq_Param_Test_Recursive_Struct_ _children_seq; - _tao_seq_Param_Test_Recursive_Struct_ children; - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Recursive_Struct; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - class nested_rec_union; - - typedef - TAO_Var_Var_T< - nested_rec_union - > - nested_rec_union_var; - - typedef - TAO_Out_T< - nested_rec_union - > - nested_rec_union_out; - - class nested_rec_union - { - public: - nested_rec_union (void); - nested_rec_union (const nested_rec_union &); - ~nested_rec_union (void); - static void _tao_any_destructor (void*); - - nested_rec_union &operator= (const nested_rec_union &); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/discriminant_ch.cpp:114 - - void _d ( ::CORBA::Short); - ::CORBA::Short _d (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:110 - - typedef nested_rec_union_var _var_type; - typedef nested_rec_union_out _out_type; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:460 - - void value ( ::CORBA::Long); - ::CORBA::Long value (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_NESTED_REC_UNION__TAO_SEQ_PARAM_TEST_NESTED_REC_UNION__CH_) -#define _PARAM_TEST_NESTED_REC_UNION__TAO_SEQ_PARAM_TEST_NESTED_REC_UNION__CH_ - - class _tao_seq_Param_Test_nested_rec_union_ - : public - std::vector<Param_Test::nested_rec_union> - { - public: - _tao_seq_Param_Test_nested_rec_union_ (void); - _tao_seq_Param_Test_nested_rec_union_ ( ::CORBA::ULong max); - _tao_seq_Param_Test_nested_rec_union_ (const _tao_seq_Param_Test_nested_rec_union_ &); - virtual ~_tao_seq_Param_Test_nested_rec_union_ (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:548 - - typedef _tao_seq_Param_Test_nested_rec_union_ _nested_rec_member_seq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:559 - - void nested_rec_member (const _tao_seq_Param_Test_nested_rec_union_ &); - const _tao_seq_Param_Test_nested_rec_union_ &nested_rec_member (void) const; - _tao_seq_Param_Test_nested_rec_union_ &nested_rec_member (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:146 - - void _default (void); - private: - ::CORBA::Short disc_; - ::CORBA::Short holder_; - - union - { - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:388 - ::CORBA::Long value_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:455 - _tao_seq_Param_Test_nested_rec_union_ *nested_rec_member_; - } u_; - - /// TAO extension - frees any allocated storage. - void _reset (void); - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_nested_rec_union; - - // TAO_IDL - Generated from - // .\be\be_type.cpp:269 - - class Recursive_Union; - - typedef - TAO_Var_Var_T< - Recursive_Union - > - Recursive_Union_var; - - typedef - TAO_Out_T< - Recursive_Union - > - Recursive_Union_out; - - class Recursive_Union - { - public: - Recursive_Union (void); - Recursive_Union (const Recursive_Union &); - ~Recursive_Union (void); - static void _tao_any_destructor (void*); - - Recursive_Union &operator= (const Recursive_Union &); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/discriminant_ch.cpp:114 - - void _d ( ::CORBA::Short); - ::CORBA::Short _d (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:110 - - typedef Recursive_Union_var _var_type; - typedef Recursive_Union_out _out_type; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:107 - -#if !defined (_PARAM_TEST_RECURSIVE_UNION__TAO_SEQ_PARAM_TEST_RECURSIVE_UNION__CH_) -#define _PARAM_TEST_RECURSIVE_UNION__TAO_SEQ_PARAM_TEST_RECURSIVE_UNION__CH_ - - class _tao_seq_Param_Test_Recursive_Union_ - : public - std::vector<Param_Test::Recursive_Union> - { - public: - _tao_seq_Param_Test_Recursive_Union_ (void); - _tao_seq_Param_Test_Recursive_Union_ ( ::CORBA::ULong max); - _tao_seq_Param_Test_Recursive_Union_ (const _tao_seq_Param_Test_Recursive_Union_ &); - virtual ~_tao_seq_Param_Test_Recursive_Union_ (void); - - virtual ::CORBA::ULong length (void) const; - virtual void length (::CORBA::ULong); - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:548 - - typedef _tao_seq_Param_Test_Recursive_Union_ _rec_member_seq; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:559 - - void rec_member (const _tao_seq_Param_Test_Recursive_Union_ &); - const _tao_seq_Param_Test_Recursive_Union_ &rec_member (void) const; - _tao_seq_Param_Test_Recursive_Union_ &rec_member (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/public_ch.cpp:750 - - void nested_member (const Param_Test::nested_rec_union &); - const Param_Test::nested_rec_union &nested_member (void) const; - Param_Test::nested_rec_union &nested_member (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union/union_ch.cpp:146 - - void _default (void); - private: - ::CORBA::Short disc_; - ::CORBA::Short holder_; - - union - { - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:455 - _tao_seq_Param_Test_Recursive_Union_ *rec_member_; - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_union_branch/private_ch.cpp:600 - Param_Test::nested_rec_union *nested_member_; - } u_; - - /// TAO extension - frees any allocated storage. - void _reset (void); - }; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Recursive_Union; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - - static const CORBA::ULong DIM3 = 3U; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_array/array_ch.cpp:62 - - typedef Fixed_Array Multdim_Array[5][3]; - typedef Fixed_Array Multdim_Array_slice[3]; - struct Multdim_Array_tag {}; - - - typedef - TAO_FixedArray_Var_T< - Multdim_Array, - Multdim_Array_slice, - Multdim_Array_tag - > - Multdim_Array_var; - - typedef - Multdim_Array - Multdim_Array_out; - - typedef - TAO_Array_Forany_T< - Multdim_Array, - Multdim_Array_slice, - Multdim_Array_tag - > - Multdim_Array_forany; - - static Multdim_Array_slice * - Multdim_Array_alloc (void); - - static void - Multdim_Array_free ( - Multdim_Array_slice *_tao_slice - ); - - static Multdim_Array_slice * - Multdim_Array_dup ( - const Multdim_Array_slice *_tao_slice - ); - - static void - Multdim_Array_copy ( - Multdim_Array_slice *_tao_to, - const Multdim_Array_slice *_tao_from - ); - - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - - static ::CORBA::TypeCode_ptr const _tc_Multdim_Array; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - 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); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:42 - - virtual void - shutdown (void); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:209 - - virtual ::CORBA::Boolean _is_a (const char *type_id); - virtual const char* _interface_repository_id (void) const; - virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); -private: - TAO::Collocation_Proxy_Broker *the_TAO_Param_Test_Proxy_Broker_; - -protected: - // Concrete interface only. - Param_Test (void); - - // These methods traverse the inheritance tree and set the - // parents piece of the given class in the right mode. - virtual void Param_Test_setup_collocation (void); - - // Concrete non-local interface only. - Param_Test ( - ::IOP::IOR *ior, - TAO_ORB_Core *orb_core); - - // Non-local interface only. - Param_Test ( - TAO_Stub *objref, - ::CORBA::Boolean _tao_collocated = false, - TAO_Abstract_ServantBase *servant = 0, - TAO_ORB_Core *orb_core = 0); - - virtual ~Param_Test (void); - -private: - // Private and unimplemented for concrete interfaces. - Param_Test (const Param_Test &); - - void operator= (const Param_Test &); -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:49 - -extern ::CORBA::TypeCode_ptr const _tc_Param_Test; - -// Proxy Broker Factory function pointer declarations. - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_root/root.cpp:139 - -extern -TAO::Collocation_Proxy_Broker * -(*_TAO_Coffee_Proxy_Broker_Factory_function_pointer) ( - ::CORBA::Object_ptr obj - ); - -extern -TAO::Collocation_Proxy_Broker * -(*_TAO_Param_Test_Proxy_Broker_Factory_function_pointer) ( - ::CORBA::Object_ptr obj - ); - -// TAO_IDL - Generated from -// .\be\be_visitor_traits.cpp:64 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Traits specializations. -namespace TAO -{ - -#if !defined (_COFFEE__TRAITS_) -#define _COFFEE__TRAITS_ - - template<> - struct Objref_Traits< ::Coffee> - { - static ::Coffee_ptr duplicate ( - ::Coffee_ptr p - ); - static void release ( - ::Coffee_ptr p - ); - static ::Coffee_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::Coffee_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST__TRAITS_) -#define _PARAM_TEST__TRAITS_ - - template<> - struct Objref_Traits< ::Param_Test> - { - static ::Param_Test_ptr duplicate ( - ::Param_Test_ptr p - ); - static void release ( - ::Param_Test_ptr p - ); - static ::Param_Test_ptr nil (void); - static ::CORBA::Boolean marshal ( - const ::Param_Test_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - template<> - struct Array_Traits< - Param_Test::Fixed_Array_forany - > - { - static void free ( - Param_Test::Fixed_Array_slice * _tao_slice - ); - static Param_Test::Fixed_Array_slice * dup ( - const Param_Test::Fixed_Array_slice * _tao_slice - ); - static void copy ( - Param_Test::Fixed_Array_slice * _tao_to, - const Param_Test::Fixed_Array_slice * _tao_from - ); - static Param_Test::Fixed_Array_slice * alloc (void); - static void zero ( - Param_Test::Fixed_Array_slice * _tao_slice - ); - }; - template<> - struct Array_Traits< - Param_Test::Var_Array_forany - > - { - static void free ( - Param_Test::Var_Array_slice * _tao_slice - ); - static Param_Test::Var_Array_slice * dup ( - const Param_Test::Var_Array_slice * _tao_slice - ); - static void copy ( - Param_Test::Var_Array_slice * _tao_to, - const Param_Test::Var_Array_slice * _tao_from - ); - static Param_Test::Var_Array_slice * alloc (void); - static void zero ( - Param_Test::Var_Array_slice * _tao_slice - ); - }; - template<> - struct Array_Traits< - Param_Test::Big_Union::_another_array_forany - > - { - static void free ( - Param_Test::Big_Union::_another_array_slice * _tao_slice - ); - static Param_Test::Big_Union::_another_array_slice * dup ( - const Param_Test::Big_Union::_another_array_slice * _tao_slice - ); - static void copy ( - Param_Test::Big_Union::_another_array_slice * _tao_to, - const Param_Test::Big_Union::_another_array_slice * _tao_from - ); - static Param_Test::Big_Union::_another_array_slice * alloc (void); - static void zero ( - Param_Test::Big_Union::_another_array_slice * _tao_slice - ); - }; - template<> - struct Array_Traits< - Param_Test::Multdim_Array_forany - > - { - static void free ( - Param_Test::Multdim_Array_slice * _tao_slice - ); - static Param_Test::Multdim_Array_slice * dup ( - const Param_Test::Multdim_Array_slice * _tao_slice - ); - static void copy ( - Param_Test::Multdim_Array_slice * _tao_to, - const Param_Test::Multdim_Array_slice * _tao_from - ); - static Param_Test::Multdim_Array_slice * alloc (void); - static void zero ( - Param_Test::Multdim_Array_slice * _tao_slice - ); - }; -} -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/any_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, Coffee_ptr); // copying - void operator<<= (::CORBA::Any &, Coffee_ptr *); // non-copying - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Coffee_ptr &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Coffee::Desc &); // copying version - void operator<<= (::CORBA::Any &, Coffee::Desc*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Coffee::Desc *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Coffee::Desc *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/any_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, Param_Test_ptr); // copying - void operator<<= (::CORBA::Any &, Param_Test_ptr *); // non-copying - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test_ptr &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Fixed_Struct &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Fixed_Struct*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Fixed_Struct *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Fixed_Struct *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::NameComponent &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::NameComponent*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::NameComponent *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::NameComponent *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Step &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Step*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Step *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Step *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Var_Struct &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Var_Struct*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Var_Struct *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Var_Struct *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Nested_Struct &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Nested_Struct*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Nested_Struct *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Nested_Struct *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Objref_Struct &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Objref_Struct*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Objref_Struct *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Objref_Struct *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Fixed_Array_forany &); - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Fixed_Array_forany &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Var_Array_forany &); - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Var_Array_forany &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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:49 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - 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_exception/any_op_ch.cpp:53 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - void operator<<= (::CORBA::Any &, const Param_Test::Ooops &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Ooops*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Ooops *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Ooops *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/any_op_ch.cpp:53 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - void operator<<= (::CORBA::Any &, const Param_Test::BadBoy &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::BadBoy*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::BadBoy *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::BadBoy *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Big_Union &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Big_Union*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Big_Union *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Big_Union *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_enum/any_op_ch.cpp:52 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - void operator<<= (::CORBA::Any &, Param_Test::Small_Union_Switch); - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Small_Union_Switch &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Small_Union &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Small_Union*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Small_Union *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Small_Union *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::level4 &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::level4*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::level4 *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::level4 *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::level8 &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::level8*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::level8 *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::level8 *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Recursive_Struct &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Recursive_Struct*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Recursive_Struct *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Recursive_Struct *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::nested_rec_union &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::nested_rec_union*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::nested_rec_union *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::nested_rec_union *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Recursive_Union &); // copying version - void operator<<= (::CORBA::Any &, Param_Test::Recursive_Union*); // noncopying version - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Recursive_Union *&); // deprecated - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const Param_Test::Recursive_Union *&); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/any_op_ch.cpp:53 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - void operator<<= (::CORBA::Any &, const Param_Test::Multdim_Array_forany &); - ::CORBA::Boolean operator>>= (const ::CORBA::Any &, Param_Test::Multdim_Array_forany &); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/cdr_op_ch.cpp:55 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Coffee_ptr ); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Coffee_ptr &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Coffee::Desc &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Coffee::Desc &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/cdr_op_ch.cpp:55 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test_ptr ); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test_ptr &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Fixed_Struct &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Fixed_Struct &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::NameComponent &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::NameComponent &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Step &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Step &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Step> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Step> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_Short_Seq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<CORBA::Short> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<CORBA::Short> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_Long_Seq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<CORBA::Long> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<CORBA::Long> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_StrSeq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_StrSeq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<char *> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<char *> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_WStrSeq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<CORBA::WChar *> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<CORBA::WChar *> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_StructSeq_H_ -#define _TAO_CDR_OP_Param_Test_StructSeq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Fixed_Struct> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Fixed_Struct> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_StructSeq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_StructSeq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Fixed_Struct> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Fixed_Struct> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Coffee_Mix_H_ -#define _TAO_CDR_OP_Param_Test_Coffee_Mix_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Coffee> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Coffee> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Coffee> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Coffee> &_tao_sequence - ); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#endif /* _TAO_CDR_OP_Param_Test_Bounded_Coffee_Mix_H_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Var_Struct &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Var_Struct &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Nested_Struct &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Nested_Struct &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Objref_Struct &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Objref_Struct &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_ch.cpp:116 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Param_Test::Fixed_Array_forany &_tao_array); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Fixed_Array_forany &_tao_array); - -TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_ch.cpp:116 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Param_Test::Var_Array_forany &_tao_array); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Var_Array_forany &_tao_array); - -TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// 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_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Fixed_Array> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Fixed_Array> &_tao_sequence - ); -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:67 - -#if !defined _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_H_ -#define _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_H_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Fixed_Array> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Fixed_Array> &_tao_sequence - ); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#endif /* _TAO_CDR_OP_Param_Test_Bounded_ArraySeq_H_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/cdr_op_ch.cpp:52 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Ooops &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Ooops &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_exception/cdr_op_ch.cpp:52 -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::BadBoy &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::BadBoy &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Big_Union &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Big_Union &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_ch.cpp:116 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Param_Test::Big_Union::_another_array_forany &_tao_array); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Big_Union::_another_array_forany &_tao_array); - -TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_enum/cdr_op_ch.cpp:50 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &strm, Param_Test::Small_Union_Switch _tao_enumerator); - ::CORBA::Boolean operator>> (TAO_InputCDR &strm, Param_Test::Small_Union_Switch &_tao_enumerator); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Small_Union &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Small_Union &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::level4 &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::level4 &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::level8 &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::level8 &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_structure/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Recursive_Struct &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Recursive_Struct &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Recursive_Struct> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Recursive_Struct> &_tao_sequence - ); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#endif /* _TAO_CDR_OP_Param_Test_Recursive_Struct__tao_seq_Param_Test_Recursive_Struct__H_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::nested_rec_union &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::nested_rec_union &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::nested_rec_union> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::nested_rec_union> &_tao_sequence - ); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#endif /* _TAO_CDR_OP_Param_Test_nested_rec_union__tao_seq_Param_Test_nested_rec_union__H_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/cdr_op_ch.cpp:54 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - ::CORBA::Boolean operator<< (TAO_OutputCDR &, const Param_Test::Recursive_Union &); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Recursive_Union &); - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// 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_ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - ::CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const std::vector<Param_Test::Recursive_Union> &_tao_sequence - ); - ::CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - std::vector<Param_Test::Recursive_Union> &_tao_sequence - ); -TAO_END_VERSIONED_NAMESPACE_DECL - - - -#endif /* _TAO_CDR_OP_Param_Test_Recursive_Union__tao_seq_Param_Test_Recursive_Union__H_ */ - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/cdr_op_ch.cpp:116 - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Param_Test::Multdim_Array_forany &_tao_array); - ::CORBA::Boolean operator>> (TAO_InputCDR &, Param_Test::Multdim_Array_forany &_tao_array); - -TAO_END_VERSIONED_NAMESPACE_DECL - - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:1458 -#if defined (__ACE_INLINE__) -#include "param_testC.inl" -#endif /* defined INLINE */ - -#include /**/ "ace/post.h" - -#endif /* ifndef */ - - diff --git a/modules/TAO/tests/Param_Test/param_testC.inl b/modules/TAO/tests/Param_Test/param_testC.inl deleted file mode 100644 index d809bdf2b7a..00000000000 --- a/modules/TAO/tests/Param_Test/param_testC.inl +++ /dev/null @@ -1,930 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ci.cpp:70 - -ACE_INLINE -Coffee::Coffee ( - TAO_Stub *objref, - ::CORBA::Boolean _tao_collocated, - TAO_Abstract_ServantBase *servant, - TAO_ORB_Core *oc - ) - : ::CORBA::Object (objref, _tao_collocated, servant, oc), - the_TAO_Coffee_Proxy_Broker_ (0) -{ - this->Coffee_setup_collocation (); -} - -ACE_INLINE -Coffee::Coffee ( - ::IOP::IOR *ior, - TAO_ORB_Core *oc - ) - : ::CORBA::Object (ior, oc) - , the_TAO_Coffee_Proxy_Broker_ (0) -{ -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_ci.cpp:159 - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Fixed_Array_forany>::free ( - Param_Test::Fixed_Array_slice * _tao_slice - ) -{ - Param_Test::Fixed_Array_free (_tao_slice); -} - -ACE_INLINE -Param_Test::Fixed_Array_slice * -TAO::Array_Traits<Param_Test::Fixed_Array_forany>::dup ( - const Param_Test::Fixed_Array_slice * _tao_slice - ) -{ - return Param_Test::Fixed_Array_dup (_tao_slice); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Fixed_Array_forany>::copy ( - Param_Test::Fixed_Array_slice * _tao_to, - const Param_Test::Fixed_Array_slice * _tao_from - ) -{ - Param_Test::Fixed_Array_copy (_tao_to, _tao_from); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Fixed_Array_forany>::zero ( - Param_Test::Fixed_Array_slice * _tao_slice - ) -{ - // Zero each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 10; ++i0) - { - _tao_slice[i0] = ::CORBA::Long (); - } -} - -ACE_INLINE -Param_Test::Fixed_Array_slice * -TAO::Array_Traits<Param_Test::Fixed_Array_forany>::alloc (void) -{ - return Param_Test::Fixed_Array_alloc (); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_ci.cpp:159 - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Var_Array_forany>::free ( - Param_Test::Var_Array_slice * _tao_slice - ) -{ - Param_Test::Var_Array_free (_tao_slice); -} - -ACE_INLINE -Param_Test::Var_Array_slice * -TAO::Array_Traits<Param_Test::Var_Array_forany>::dup ( - const Param_Test::Var_Array_slice * _tao_slice - ) -{ - return Param_Test::Var_Array_dup (_tao_slice); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Var_Array_forany>::copy ( - Param_Test::Var_Array_slice * _tao_to, - const Param_Test::Var_Array_slice * _tao_from - ) -{ - Param_Test::Var_Array_copy (_tao_to, _tao_from); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Var_Array_forany>::zero ( - Param_Test::Var_Array_slice * _tao_slice - ) -{ - // Zero each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 5; ++i0) - { - _tao_slice[i0] = TAO::String_Manager (); - } -} - -ACE_INLINE -Param_Test::Var_Array_slice * -TAO::Array_Traits<Param_Test::Var_Array_forany>::alloc (void) -{ - return Param_Test::Var_Array_alloc (); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_ci.cpp:51 - -// ************************************************************* -// Inline operations for union Param_Test::Big_Union -// ************************************************************* - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/discriminant_ci.cpp:165 - -ACE_INLINE -void -Param_Test::Big_Union::_default () -{ - this->_reset (); - this->disc_ = -32768; -} - -// Accessor to set the discriminant. -ACE_INLINE -void -Param_Test::Big_Union::_d ( ::CORBA::Short discval) -{ - this->disc_ = discval; -} - -// Accessor to get the discriminant. -ACE_INLINE -::CORBA::Short -Param_Test::Big_Union::_d (void) const -{ - return this->disc_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:166 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_array (Param_Test::Fixed_Array val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 0; - // Set the value. - this->u_.the_array_ = Param_Test::Fixed_Array_dup (val); -} - -/// Retrieve the member. -ACE_INLINE -Param_Test::Fixed_Array_slice * -Param_Test::Big_Union::the_array (void) const -{ - return this->u_.the_array_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:305 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_interface (Coffee_ptr val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 1; - typedef Coffee_var OBJECT_FIELD; - ACE_NEW ( - this->u_.the_interface_, - OBJECT_FIELD ( - Coffee::_duplicate (val) - ) - ); -} - -/// Retrieve the member. -ACE_INLINE -Coffee_ptr -Param_Test::Big_Union::the_interface (void) const -{ - return this->u_.the_interface_->in (); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_long (CORBA::Long val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 2; - // Set the value. - this->u_.the_long_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Long -Param_Test::Big_Union::the_long (void) const -{ - return this->u_.the_long_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_ci.cpp:159 - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Big_Union::_another_array_forany>::free ( - Param_Test::Big_Union::_another_array_slice * _tao_slice - ) -{ - Param_Test::Big_Union::_another_array_free (_tao_slice); -} - -ACE_INLINE -Param_Test::Big_Union::_another_array_slice * -TAO::Array_Traits<Param_Test::Big_Union::_another_array_forany>::dup ( - const Param_Test::Big_Union::_another_array_slice * _tao_slice - ) -{ - return Param_Test::Big_Union::_another_array_dup (_tao_slice); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Big_Union::_another_array_forany>::copy ( - Param_Test::Big_Union::_another_array_slice * _tao_to, - const Param_Test::Big_Union::_another_array_slice * _tao_from - ) -{ - Param_Test::Big_Union::_another_array_copy (_tao_to, _tao_from); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Big_Union::_another_array_forany>::zero ( - Param_Test::Big_Union::_another_array_slice * _tao_slice - ) -{ - // Zero each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 32; ++i0) - { - _tao_slice[i0] = ::CORBA::Short (); - } -} - -ACE_INLINE -Param_Test::Big_Union::_another_array_slice * -TAO::Array_Traits<Param_Test::Big_Union::_another_array_forany>::alloc (void) -{ - return Param_Test::Big_Union::_another_array_alloc (); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:166 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::another_array (Param_Test::Big_Union::_another_array val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 3; - // Set the value. - this->u_.another_array_ = Param_Test::Big_Union::_another_array_dup (val); -} - -/// Retrieve the member. -ACE_INLINE -Param_Test::Big_Union::_another_array_slice * -Param_Test::Big_Union::another_array (void) const -{ - return this->u_.another_array_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:857 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_string (char *val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 4; - this->u_.the_string_ = val; -} - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_string (const char *val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 4; - // Set the value. - this->u_.the_string_ = ::CORBA::string_dup (val); -} - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_string (const ::CORBA::String_var &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 4; - // Set the value. - ::CORBA::String_var the_string_var = val; - this->u_.the_string_ = the_string_var._retn (); -} - -ACE_INLINE -const char * -Param_Test::Big_Union::the_string (void) const // get method -{ - return this->u_.the_string_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:785 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_sequence (const CORBA::ShortSeq &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 5; - ACE_NEW ( - this->u_.the_sequence_, - CORBA::ShortSeq (val) - ); -} - -/// Readonly get method. -ACE_INLINE -const CORBA::ShortSeq & -Param_Test::Big_Union::the_sequence (void) const -{ - return *this->u_.the_sequence_; -} - -/// Read/write get method. -ACE_INLINE -CORBA::ShortSeq & -Param_Test::Big_Union::the_sequence (void) -{ - return *this->u_.the_sequence_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_any (const ::CORBA::Any & val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 6; - ACE_NEW ( - this->u_.the_any_, - ::CORBA::Any (val) - ); -} - -/// Retrieve the member. -ACE_INLINE -const ::CORBA::Any & -Param_Test::Big_Union::the_any (void) const -{ - return *this->u_.the_any_; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Any & -Param_Test::Big_Union::the_any (void) -{ - return *this->u_.the_any_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_octet (CORBA::Octet val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 7; - // Set the value. - this->u_.the_octet_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Octet -Param_Test::Big_Union::the_octet (void) const -{ - return this->u_.the_octet_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_char (CORBA::Char val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 8; - // Set the value. - this->u_.the_char_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Char -Param_Test::Big_Union::the_char (void) const -{ - return this->u_.the_char_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_boolean (CORBA::Boolean val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 9; - // Set the value. - this->u_.the_boolean_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Boolean -Param_Test::Big_Union::the_boolean (void) const -{ - return this->u_.the_boolean_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:1058 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_var_struct (const Param_Test::Var_Struct &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 10; - ACE_NEW ( - this->u_.the_var_struct_, - Param_Test::Var_Struct (val) - ); -} - -// Readonly get method. -ACE_INLINE -const Param_Test::Var_Struct & -Param_Test::Big_Union::the_var_struct (void) const -{ - return *this->u_.the_var_struct_; -} - -// Read/write get method. -ACE_INLINE -Param_Test::Var_Struct & -Param_Test::Big_Union::the_var_struct (void) -{ - return *this->u_.the_var_struct_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:1058 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Big_Union::the_fixed_struct (const Param_Test::Fixed_Struct &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 11; - this->u_.the_fixed_struct_ = val; -} - -// Readonly get method. -ACE_INLINE -const Param_Test::Fixed_Struct & -Param_Test::Big_Union::the_fixed_struct (void) const -{ - return this->u_.the_fixed_struct_; -} - -// Read/write get method. -ACE_INLINE -Param_Test::Fixed_Struct & -Param_Test::Big_Union::the_fixed_struct (void) -{ - return this->u_.the_fixed_struct_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_ci.cpp:51 - -// ************************************************************* -// Inline operations for union Param_Test::Small_Union -// ************************************************************* - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/discriminant_ci.cpp:71 - -// Accessor to set the discriminant. -ACE_INLINE -void -Param_Test::Small_Union::_d (Param_Test::Small_Union_Switch discval) -{ - this->disc_ = discval; -} - -// Accessor to get the discriminant. -ACE_INLINE -Param_Test::Small_Union_Switch -Param_Test::Small_Union::_d (void) const -{ - return this->disc_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Small_Union::the_long (CORBA::Long val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = Param_Test::A_LONG; - // Set the value. - this->u_.the_long_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Long -Param_Test::Small_Union::the_long (void) const -{ - return this->u_.the_long_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Small_Union::the_short (CORBA::Short val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = Param_Test::A_SHORT; - // Set the value. - this->u_.the_short_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Short -Param_Test::Small_Union::the_short (void) const -{ - return this->u_.the_short_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_ci.cpp:51 - -// ************************************************************* -// Inline operations for union Param_Test::nested_rec_union -// ************************************************************* - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/discriminant_ci.cpp:165 - -ACE_INLINE -void -Param_Test::nested_rec_union::_default () -{ - this->_reset (); - this->disc_ = -32768; -} - -// Accessor to set the discriminant. -ACE_INLINE -void -Param_Test::nested_rec_union::_d ( ::CORBA::Short discval) -{ - this->disc_ = discval; -} - -// Accessor to get the discriminant. -ACE_INLINE -::CORBA::Short -Param_Test::nested_rec_union::_d (void) const -{ - return this->disc_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:576 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::nested_rec_union::value (CORBA::Long val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 0; - // Set the value. - this->u_.value_ = val; -} - -/// Retrieve the member. -ACE_INLINE -::CORBA::Long -Param_Test::nested_rec_union::value (void) const -{ - return this->u_.value_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:785 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::nested_rec_union::nested_rec_member (const Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 1; - ACE_NEW ( - this->u_.nested_rec_member_, - Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ (val) - ); -} - -/// Readonly get method. -ACE_INLINE -const Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ & -Param_Test::nested_rec_union::nested_rec_member (void) const -{ - return *this->u_.nested_rec_member_; -} - -/// Read/write get method. -ACE_INLINE -Param_Test::nested_rec_union::_tao_seq_Param_Test_nested_rec_union_ & -Param_Test::nested_rec_union::nested_rec_member (void) -{ - return *this->u_.nested_rec_member_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/union_ci.cpp:51 - -// ************************************************************* -// Inline operations for union Param_Test::Recursive_Union -// ************************************************************* - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union/discriminant_ci.cpp:165 - -ACE_INLINE -void -Param_Test::Recursive_Union::_default () -{ - this->_reset (); - this->disc_ = -32768; -} - -// Accessor to set the discriminant. -ACE_INLINE -void -Param_Test::Recursive_Union::_d ( ::CORBA::Short discval) -{ - this->disc_ = discval; -} - -// Accessor to get the discriminant. -ACE_INLINE -::CORBA::Short -Param_Test::Recursive_Union::_d (void) const -{ - return this->disc_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:785 - -/// Accessor to set the member. -ACE_INLINE -void -Param_Test::Recursive_Union::rec_member (const Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 0; - ACE_NEW ( - this->u_.rec_member_, - Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ (val) - ); -} - -/// Readonly get method. -ACE_INLINE -const Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ & -Param_Test::Recursive_Union::rec_member (void) const -{ - return *this->u_.rec_member_; -} - -/// Read/write get method. -ACE_INLINE -Param_Test::Recursive_Union::_tao_seq_Param_Test_Recursive_Union_ & -Param_Test::Recursive_Union::rec_member (void) -{ - return *this->u_.rec_member_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_union_branch/public_ci.cpp:1214 - -// Accessor to set the member. -ACE_INLINE -void -Param_Test::Recursive_Union::nested_member (const Param_Test::nested_rec_union &val) -{ - // Set the discriminant value. - this->_reset (); - this->disc_ = 1; - ACE_NEW ( - this->u_.nested_member_, - Param_Test::nested_rec_union (val) - ); -} - -// Readonly get method. -ACE_INLINE -const Param_Test::nested_rec_union & -Param_Test::Recursive_Union::nested_member (void) const -{ - return *this->u_.nested_member_; -} - -// Read/write get method. -ACE_INLINE -Param_Test::nested_rec_union & -Param_Test::Recursive_Union::nested_member (void) -{ - return *this->u_.nested_member_; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_array/array_ci.cpp:159 - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Multdim_Array_forany>::free ( - Param_Test::Multdim_Array_slice * _tao_slice - ) -{ - Param_Test::Multdim_Array_free (_tao_slice); -} - -ACE_INLINE -Param_Test::Multdim_Array_slice * -TAO::Array_Traits<Param_Test::Multdim_Array_forany>::dup ( - const Param_Test::Multdim_Array_slice * _tao_slice - ) -{ - return Param_Test::Multdim_Array_dup (_tao_slice); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Multdim_Array_forany>::copy ( - Param_Test::Multdim_Array_slice * _tao_to, - const Param_Test::Multdim_Array_slice * _tao_from - ) -{ - Param_Test::Multdim_Array_copy (_tao_to, _tao_from); -} - -ACE_INLINE -void -TAO::Array_Traits<Param_Test::Multdim_Array_forany>::zero ( - Param_Test::Multdim_Array_slice * _tao_slice - ) -{ - // Zero each individual element. - for ( ::CORBA::ULong i0 = 0; i0 < 5; ++i0) - { - for ( ::CORBA::ULong i1 = 0; i1 < 3; ++i1) - { - // call the underlying _zero - TAO::Array_Traits< Param_Test::Fixed_Array_forany>::zero (_tao_slice[i0][i1]); - } - } -} - -ACE_INLINE -Param_Test::Multdim_Array_slice * -TAO::Array_Traits<Param_Test::Multdim_Array_forany>::alloc (void) -{ - return Param_Test::Multdim_Array_alloc (); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ci.cpp:70 - -ACE_INLINE -Param_Test::Param_Test ( - TAO_Stub *objref, - ::CORBA::Boolean _tao_collocated, - TAO_Abstract_ServantBase *servant, - TAO_ORB_Core *oc - ) - : ::CORBA::Object (objref, _tao_collocated, servant, oc), - the_TAO_Param_Test_Proxy_Broker_ (0) -{ - this->Param_Test_setup_collocation (); -} - -ACE_INLINE -Param_Test::Param_Test ( - ::IOP::IOR *ior, - TAO_ORB_Core *oc - ) - : ::CORBA::Object (ior, oc) - , the_TAO_Param_Test_Proxy_Broker_ (0) -{ -} - diff --git a/modules/TAO/tests/Param_Test/param_testS.cpp b/modules/TAO/tests/Param_Test/param_testS.cpp deleted file mode 100644 index 79e90c5a0d6..00000000000 --- a/modules/TAO/tests/Param_Test/param_testS.cpp +++ /dev/null @@ -1,6783 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:688 - -#ifndef _TAO_IDL_PARAM_TESTS_CPP_ -#define _TAO_IDL_PARAM_TESTS_CPP_ - - -#include "param_testS.h" -#include "tao/PortableServer/Operation_Table_Perfect_Hash.h" -#include "tao/PortableServer/Upcall_Command.h" -#include "tao/PortableServer/Upcall_Wrapper.h" -#include "tao/TAO_Server_Request.h" -#include "tao/ORB_Core.h" -#include "tao/Profile.h" -#include "tao/Stub.h" -#include "tao/IFR_Client_Adapter.h" -#include "tao/Object_T.h" -#include "tao/AnyTypeCode/TypeCode.h" -#include "tao/AnyTypeCode/DynamicC.h" -#include "tao/CDR.h" -#include "tao/operation_details.h" -#include "tao/PortableInterceptor.h" -#include "tao/PortableServer/Basic_SArguments.h" -#include "tao/PortableServer/BD_String_SArgument_T.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/PortableServer/Fixed_Array_SArgument_T.h" -#include "tao/PortableServer/Fixed_Size_SArgument_T.h" -#include "tao/PortableServer/Object_SArgument_T.h" -#include "tao/PortableServer/Special_Basic_SArguments.h" -#include "tao/PortableServer/UB_String_SArguments.h" -#include "tao/PortableServer/Var_Array_SArgument_T.h" -#include "tao/PortableServer/Var_Size_SArgument_T.h" -#include "tao/PortableServer/Vector_SArgument_T.h" -#include "tao/PortableServer/Any_SArg_Traits.h" -#include "tao/PortableServer/TypeCode_SArg_Traits.h" -#include "tao/PortableServer/Object_SArg_Traits.h" -#include "tao/PortableServer/get_arg.h" -#include "tao/Special_Basic_Arguments.h" -#include "tao/UB_String_Arguments.h" -#include "tao/Basic_Arguments.h" -#include "tao/BD_String_Argument_T.h" -#include "tao/AnyTypeCode/Any.h" -#include "tao/Fixed_Array_Argument_T.h" -#include "tao/Fixed_Size_Argument_T.h" -#include "tao/Object_Argument_T.h" -#include "tao/UB_String_Arguments.h" -#include "tao/Var_Array_Argument_T.h" -#include "tao/Var_Size_Argument_T.h" -#include "tao/Vector_Argument_T.h" -#include "tao/AnyTypeCode/Any_Arg_Traits.h" -#include "ace/Dynamic_Service.h" -#include "ace/Malloc_Allocator.h" - -#if !defined (__ACE_INLINE__) -#include "param_testS.inl" -#endif /* !defined INLINE */ - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:73 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Arg traits specializations. -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<std::vector<CORBA::Long> > - : public - 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:621 - -#if !defined (_CORBA_SHORTSEQ__SARG_TRAITS_) -#define _CORBA_SHORTSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<CORBA::Short> > - : public - Vector_SArg_Traits_T< - std::vector<CORBA::Short>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_STRINGSEQ__SARG_TRAITS_) -#define _CORBA_STRINGSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<char *> > - : public - Vector_SArg_Traits_T< - std::vector<char *>, - TAO::Any_Insert_Policy_Stream<std::vector<char *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_WSTRINGSEQ__SARG_TRAITS_) -#define _CORBA_WSTRINGSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<CORBA::WChar *> > - : public - Vector_SArg_Traits_T< - std::vector<CORBA::WChar *>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_ANYSEQ__SARG_TRAITS_) -#define _CORBA_ANYSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<CORBA::Any> > - : public - Vector_SArg_Traits_T< - std::vector<CORBA::Any>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:141 - -#if !defined (_COFFEE__SARG_TRAITS_) -#define _COFFEE__SARG_TRAITS_ - - template<> - class SArg_Traits<Coffee> - : public - Object_SArg_Traits_T< - Coffee_ptr, - Coffee_var, - Coffee_out, - TAO::Any_Insert_Policy_Stream <Coffee_ptr> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_COFFEE_DESC__SARG_TRAITS_) -#define _COFFEE_DESC__SARG_TRAITS_ - - template<> - class SArg_Traits<Coffee::Desc> - : public - Var_Size_SArg_Traits_T< - Coffee::Desc, - TAO::Any_Insert_Policy_Stream <Coffee::Desc> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_STRING128__SARG_TRAITS_) -#define _SHORT_STRING128__SARG_TRAITS_ - - struct short_string_128 {}; - - template<> - class SArg_Traits<short_string_128> - : public - BD_String_SArg_Traits_T< - CORBA::String_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_string - > - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_WSTRING128__SARG_TRAITS_) -#define _SHORT_WSTRING128__SARG_TRAITS_ - - struct short_wstring_128 {}; - - template<> - class SArg_Traits<short_wstring_128> - : public - BD_String_SArg_Traits_T< - CORBA::WString_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_wstring - > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_FIXED_STRUCT__SARG_TRAITS_) -#define _PARAM_TEST_FIXED_STRUCT__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Fixed_Struct> - : public - Fixed_Size_SArg_Traits_T< - Param_Test::Fixed_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_PATHSPEC__SARG_TRAITS_) -#define _PARAM_TEST_PATHSPEC__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<Param_Test::Step> > - : public - Vector_SArg_Traits_T< - std::vector<Param_Test::Step>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_SHORT_SEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_Short_Seq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_LONG_SEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_Long_Seq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRSEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_StrSeq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_WSTRSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_WStrSeq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_STRUCTSEQ__SARG_TRAITS_) -#define _PARAM_TEST_STRUCTSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<Param_Test::Fixed_Struct> > - : public - Vector_SArg_Traits_T< - std::vector<Param_Test::Fixed_Struct>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRUCTSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_StructSeq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\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<std::vector<Coffee> > - : public - Vector_SArg_Traits_T< - std::vector<Coffee>, - TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_COFFEE_MIX__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_Coffee_Mix> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_VAR_STRUCT__SARG_TRAITS_) -#define _PARAM_TEST_VAR_STRUCT__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Var_Struct> - : public - Var_Size_SArg_Traits_T< - Param_Test::Var_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_NESTED_STRUCT__SARG_TRAITS_) -#define _PARAM_TEST_NESTED_STRUCT__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Nested_Struct> - : public - Var_Size_SArg_Traits_T< - Param_Test::Nested_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Nested_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_OBJREF_STRUCT__SARG_TRAITS_) -#define _PARAM_TEST_OBJREF_STRUCT__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Objref_Struct> - : public - Var_Size_SArg_Traits_T< - Param_Test::Objref_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Objref_Struct> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_FIXED_ARRAY__SARG_TRAITS_) -#define _PARAM_TEST_FIXED_ARRAY__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Fixed_Array_tag> - : public - Fixed_Array_SArg_Traits_T< - Param_Test::Fixed_Array_var, - Param_Test::Fixed_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_VAR_ARRAY__SARG_TRAITS_) -#define _PARAM_TEST_VAR_ARRAY__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Var_Array_tag> - : public - Var_Array_SArg_Traits_T< - Param_Test::Var_Array_out, - Param_Test::Var_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_ARRAYSEQ__SARG_TRAITS_) -#define _PARAM_TEST_ARRAYSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<std::vector<Param_Test::Fixed_Array> > - : public - Vector_SArg_Traits_T< - std::vector<Param_Test::Fixed_Array>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__SARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_ARRAYSEQ__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Bounded_ArraySeq> - : public - Var_Size_SArg_Traits_T< - Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_BIG_UNION__SARG_TRAITS_) -#define _PARAM_TEST_BIG_UNION__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Big_Union> - : public - Var_Size_SArg_Traits_T< - Param_Test::Big_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Big_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_SMALL_UNION__SARG_TRAITS_) -#define _PARAM_TEST_SMALL_UNION__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Small_Union> - : public - Fixed_Size_SArg_Traits_T< - Param_Test::Small_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Small_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_RECURSIVE_STRUCT__SARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_STRUCT__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Recursive_Struct> - : public - Var_Size_SArg_Traits_T< - Param_Test::Recursive_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_RECURSIVE_UNION__SARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_UNION__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Recursive_Union> - : public - Var_Size_SArg_Traits_T< - Param_Test::Recursive_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Union> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_MULTDIM_ARRAY__SARG_TRAITS_) -#define _PARAM_TEST_MULTDIM_ARRAY__SARG_TRAITS_ - - template<> - class SArg_Traits<Param_Test::Multdim_Array_tag> - : public - Fixed_Array_SArg_Traits_T< - Param_Test::Multdim_Array_var, - Param_Test::Multdim_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Multdim_Array_forany> - > - { - }; - -#endif /* end #if !defined */ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// .\be\be_visitor_arg_traits.cpp:73 - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - -// Arg traits specializations. -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<std::vector<CORBA::Long> > - : public - 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:621 - -#if !defined (_CORBA_SHORTSEQ__ARG_TRAITS_) -#define _CORBA_SHORTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::Short> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::Short>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Short> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_STRINGSEQ__ARG_TRAITS_) -#define _CORBA_STRINGSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<char *> > - : public - Vector_Arg_Traits_T< - std::vector<char *>, - TAO::Any_Insert_Policy_Stream<std::vector<char *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_WSTRINGSEQ__ARG_TRAITS_) -#define _CORBA_WSTRINGSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::WChar *> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::WChar *>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::WChar *> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_CORBA_ANYSEQ__ARG_TRAITS_) -#define _CORBA_ANYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<CORBA::Any> > - : public - Vector_Arg_Traits_T< - std::vector<CORBA::Any>, - TAO::Any_Insert_Policy_Stream<std::vector<CORBA::Any> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:141 - -#if !defined (_COFFEE__ARG_TRAITS_) -#define _COFFEE__ARG_TRAITS_ - - template<> - class Arg_Traits<Coffee> - : public - Object_Arg_Traits_T< - Coffee_ptr, - Coffee_var, - Coffee_out, - TAO::Objref_Traits<Coffee>, - TAO::Any_Insert_Policy_Stream <Coffee_ptr> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_COFFEE_DESC__ARG_TRAITS_) -#define _COFFEE_DESC__ARG_TRAITS_ - - template<> - class Arg_Traits<Coffee::Desc> - : public - Var_Size_Arg_Traits_T< - Coffee::Desc, - TAO::Any_Insert_Policy_Stream <Coffee::Desc> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_STRING128__ARG_TRAITS_) -#define _SHORT_STRING128__ARG_TRAITS_ - - template<> - class Arg_Traits<short_string_128> - : public - BD_String_Arg_Traits_T< - CORBA::String_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_string - > - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_SHORT_WSTRING128__ARG_TRAITS_) -#define _SHORT_WSTRING128__ARG_TRAITS_ - - template<> - class Arg_Traits<short_wstring_128> - : public - BD_String_Arg_Traits_T< - CORBA::WString_var, - 128, - TAO::Any_Insert_Policy_Stream < - ACE_OutputCDR::from_wstring - > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_FIXED_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Fixed_Struct> - : public - Fixed_Size_Arg_Traits_T< - Param_Test::Fixed_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_PATHSPEC__ARG_TRAITS_) -#define _PARAM_TEST_PATHSPEC__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Step> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Step>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Step> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_SHORT_SEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Short_Seq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Short_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Short_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_LONG_SEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Long_Seq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Long_Seq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Long_Seq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_StrSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_StrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_WSTRSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_WStrSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_WStrSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_WStrSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_STRUCTSEQ__ARG_TRAITS_) -#define _PARAM_TEST_STRUCTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Fixed_Struct> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Fixed_Struct>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Struct> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_STRUCTSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_StructSeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_StructSeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_StructSeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\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<std::vector<Coffee> > - : public - Vector_Arg_Traits_T< - std::vector<Coffee>, - TAO::Any_Insert_Policy_Stream<std::vector<Coffee> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_COFFEE_MIX__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_Coffee_Mix> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_Coffee_Mix, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_Coffee_Mix> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_VAR_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_VAR_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Var_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Var_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_NESTED_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Nested_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Nested_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Nested_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_OBJREF_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Objref_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Objref_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Objref_Struct> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_FIXED_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_FIXED_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Fixed_Array_tag> - : public - Fixed_Array_Arg_Traits_T< - Param_Test::Fixed_Array_var, - Param_Test::Fixed_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Fixed_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_VAR_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_VAR_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Var_Array_tag> - : public - Var_Array_Arg_Traits_T< - Param_Test::Var_Array_out, - Param_Test::Var_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Var_Array_forany> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_ARRAYSEQ__ARG_TRAITS_) -#define _PARAM_TEST_ARRAYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<std::vector<Param_Test::Fixed_Array> > - : public - Vector_Arg_Traits_T< - std::vector<Param_Test::Fixed_Array>, - TAO::Any_Insert_Policy_Stream<std::vector<Param_Test::Fixed_Array> > - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:621 - -#if !defined (_PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_) -#define _PARAM_TEST_BOUNDED_ARRAYSEQ__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Bounded_ArraySeq> - : public - Var_Size_Arg_Traits_T< - Param_Test::Bounded_ArraySeq, - TAO::Any_Insert_Policy_Stream<Param_Test::Bounded_ArraySeq> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_BIG_UNION__ARG_TRAITS_) -#define _PARAM_TEST_BIG_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Big_Union> - : public - Var_Size_Arg_Traits_T< - Param_Test::Big_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Big_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_SMALL_UNION__ARG_TRAITS_) -#define _PARAM_TEST_SMALL_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Small_Union> - : public - Fixed_Size_Arg_Traits_T< - Param_Test::Small_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Small_Union> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:884 - -#if !defined (_PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_STRUCT__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Recursive_Struct> - : public - Var_Size_Arg_Traits_T< - Param_Test::Recursive_Struct, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Struct> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_visitor_arg_traits.cpp:992 - -#if !defined (_PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_) -#define _PARAM_TEST_RECURSIVE_UNION__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Recursive_Union> - : public - Var_Size_Arg_Traits_T< - Param_Test::Recursive_Union, - TAO::Any_Insert_Policy_Stream <Param_Test::Recursive_Union> - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_PARAM_TEST_MULTDIM_ARRAY__ARG_TRAITS_) -#define _PARAM_TEST_MULTDIM_ARRAY__ARG_TRAITS_ - - template<> - class Arg_Traits<Param_Test::Multdim_Array_tag> - : public - Fixed_Array_Arg_Traits_T< - Param_Test::Multdim_Array_var, - Param_Test::Multdim_Array_forany, - TAO::Any_Insert_Policy_Stream <Param_Test::Multdim_Array_forany> - > - { - }; - -#endif /* end #if !defined */ -} - -TAO_END_VERSIONED_NAMESPACE_DECL - - - -// TAO_IDL - Generated from -// .\be\be_interface.cpp:1555 - -class TAO_Coffee_Perfect_Hash_OpTable - : public TAO_Perfect_Hash_OpTable -{ -private: - unsigned int hash (const char *str, unsigned int len); - -public: - const TAO_operation_db_entry * lookup (const char *str, unsigned int len); -}; - -/* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: ace_gperf -m -M -J -c -C -D -E -T -f 0 -F 0,0 -a -o -t -p -K opname -L C++ -Z TAO_Coffee_Perfect_Hash_OpTable -N lookup */ -unsigned int -TAO_Coffee_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) -{ - static const unsigned char asso_values[] = - { -#if defined (ACE_MVS) - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, - 17, 17, 0, 5, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 0, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 0, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, -#else - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 0, 17, 0, 17, 17, - 0, 5, 17, 17, 17, 17, 17, 17, 17, 17, - 0, 17, 17, 17, 17, 17, 0, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, -#endif /* ACE_MVS */ - }; - return len + asso_values[(int) str[len - 1]] + asso_values[(int) str[0]]; -} - -const TAO_operation_db_entry * -TAO_Coffee_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) -{ - enum - { - TOTAL_KEYWORDS = 7, - MIN_WORD_LENGTH = 5, - MAX_WORD_LENGTH = 16, - MIN_HASH_VALUE = 5, - MAX_HASH_VALUE = 16, - HASH_VALUE_RANGE = 12, - DUPLICATES = 2, - WORDLIST_SIZE = 12 - }; - - static const TAO_operation_db_entry wordlist[] = - { - {"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0}, - {"_is_a", &POA_Coffee::_is_a_skel, 0}, - {"_component", &POA_Coffee::_component_skel, 0}, - {"_non_existent", &POA_Coffee::_non_existent_skel, 0}, - {"_repository_id", &POA_Coffee::_repository_id_skel, 0}, - {"_interface", &POA_Coffee::_interface_skel, 0}, - {"_get_description", &POA_Coffee::_get_description_skel, 0}, - {"_set_description", &POA_Coffee::_set_description_skel, 0}, - }; - - static const signed char lookup[] = - { - -1, -1, -1, -1, -1, 5, -1, -1, -1, -1, 6, -10, -2, 7, - 8, 9, -21, - }; - - if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) - { - unsigned int key = hash (str, len); - - if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) - { - int slot = lookup[key]; - - if (slot >= 0 && slot < WORDLIST_SIZE) - { - const char *s = wordlist[slot].opname; - - if (*str == *s && !ACE_OS::strncmp (str + 1, s + 1, len - 1)) - return &wordlist[slot]; - } - else if (slot < 0 && slot >= -MAX_HASH_VALUE) - return 0; - else - { - unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); - const TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; - const TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; - - while (--ptr >= base) - if (*str == *ptr->opname && !ACE_OS::strncmp (str + 1, ptr->opname + 1, len - 1)) - return ptr; - } - } - } - return 0; -} - -static TAO_Coffee_Perfect_Hash_OpTable tao_Coffee_optable; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:988 - -TAO::Collocation_Proxy_Broker * -_TAO_Coffee_Proxy_Broker_Factory_function ( ::CORBA::Object_ptr) -{ - return reinterpret_cast<TAO::Collocation_Proxy_Broker *> (0xdead); // Dummy -} - -int -_TAO_Coffee_Proxy_Broker_Factory_Initializer (size_t) -{ - _TAO_Coffee_Proxy_Broker_Factory_function_pointer = - _TAO_Coffee_Proxy_Broker_Factory_function; - - return 0; -} - -static int -_TAO_Coffee_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = - _TAO_Coffee_Proxy_Broker_Factory_Initializer ( - reinterpret_cast<size_t> (_TAO_Coffee_Proxy_Broker_Factory_Initializer) - ); - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:103 - -POA_Coffee::POA_Coffee (void) - : TAO_ServantBase () -{ - this->optable_ = &tao_Coffee_optable; -} - -POA_Coffee::POA_Coffee (const POA_Coffee& rhs) - : TAO_Abstract_ServantBase (rhs), - TAO_ServantBase (rhs) -{ -} - -POA_Coffee::~POA_Coffee (void) -{ -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _get_description_Coffee - : public TAO::Upcall_Command -{ -public: - inline _get_description_Coffee ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Coffee::Desc>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Coffee::Desc> ( - this->operation_details_, - this->args_); - - retval = - this->servant_->description (); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Coffee::_get_description_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Coffee::Desc>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _get_description_Coffee command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _set_description_Coffee - : public TAO::Upcall_Command -{ -public: - inline _set_description_Coffee ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Coffee::Desc>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Coffee::Desc> ( - this->operation_details_, - this->args_, - 1); - - this->servant_->description ( - arg_1); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Coffee::_set_description_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< void>::ret_val retval; - TAO::SArg_Traits< ::Coffee::Desc>::in_arg_val _tao_description; - - TAO::Argument * const args[] = - { - &retval, - &_tao_description - }; - - static size_t const nargs = 2; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _set_description_Coffee command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:169 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _is_a_Coffee_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _is_a_Coffee_Upcall_Command ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::ACE_InputCDR::to_boolean> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< char *>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< char *> ( - this->operation_details_, - this->args_, - 1); - - retval = - this->servant_-> _is_a ( - arg_1); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Coffee::_is_a_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_val retval; - TAO::SArg_Traits< char *>::in_arg_val _tao_repository_id; - - TAO::Argument * const args[] = - { - &retval, - &_tao_repository_id - }; - - static size_t const nargs = 2; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _is_a_Coffee_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _non_existent_Coffee_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _non_existent_Coffee_Upcall_Command ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::ACE_InputCDR::to_boolean> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _non_existent (); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Coffee::_non_existent_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _non_existent_Coffee_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _repository_id_Coffee_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _repository_id_Coffee_Upcall_Command ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< char *>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< char *> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _repository_id (); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Coffee::_repository_id_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< char *>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _repository_id_Coffee_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:512 - -void POA_Coffee::_interface_skel ( - TAO_ServerRequest & server_request, - void * /* servant_upcall */, - void * servant) -{ - TAO_IFR_Client_Adapter *_tao_adapter = - ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( - TAO_ORB_Core::ifr_client_adapter_name () - ); - - if (!_tao_adapter) - { - throw ::CORBA::INTF_REPOS (::CORBA::OMGVMCID | 1, ::CORBA::COMPLETED_NO); - } - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - ::CORBA::InterfaceDef_ptr _tao_retval = impl->_get_interface (); - server_request.init_reply (); - TAO_OutputCDR &_tao_out = *server_request.outgoing (); - - ::CORBA::Boolean const _tao_result = - _tao_adapter->interfacedef_cdr_insert (_tao_out, _tao_retval); - - _tao_adapter->dispose (_tao_retval); - - if (!_tao_result) - { - throw ::CORBA::MARSHAL (); - } -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _get_component_Coffee_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _get_component_Coffee_Upcall_Command ( - POA_Coffee * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::Object>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::Object> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _get_component (); - } - -private: - POA_Coffee * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Coffee::_component_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant - ) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::Object>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Coffee * const impl = - static_cast<POA_Coffee *> (servant); - - _get_component_Coffee_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - -::CORBA::Boolean POA_Coffee::_is_a (const char* value) -{ - return - ( - !ACE_OS::strcmp ( - value, - "IDL:Coffee:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ); -} - -const char* POA_Coffee::_interface_repository_id (void) const -{ - return "IDL:Coffee:1.0"; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:930 - -void POA_Coffee::_dispatch (TAO_ServerRequest & req, void * servant_upcall) -{ - this->synchronous_upcall_dispatch (req, servant_upcall, this); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:856 - -Coffee * -POA_Coffee::_this (void) -{ - TAO_Stub *stub = this->_create_stub (); - - TAO_Stub_Auto_Ptr safe_stub (stub); - ::CORBA::Object_ptr tmp = CORBA::Object_ptr (); - - ::CORBA::Boolean const _tao_opt_colloc = - stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects (); - - ACE_NEW_RETURN ( - tmp, - ::CORBA::Object (stub, _tao_opt_colloc, this), - 0 - ); - - ::CORBA::Object_var obj = tmp; - (void) safe_stub.release (); - - typedef ::Coffee STUB_SCOPED_NAME; - return - TAO::Narrow_Utils<STUB_SCOPED_NAME>::unchecked_narrow ( - obj.in (), - _TAO_Coffee_Proxy_Broker_Factory_function_pointer - ); -} - -// TAO_IDL - Generated from -// .\be\be_interface.cpp:1555 - -class TAO_Param_Test_Perfect_Hash_OpTable - : public TAO_Perfect_Hash_OpTable -{ -private: - unsigned int hash (const char *str, unsigned int len); - -public: - const TAO_operation_db_entry * lookup (const char *str, unsigned int len); -}; - -/* C++ code produced by gperf version 2.8 (ACE version) */ -/* Command-line: ace_gperf -m -M -J -c -C -D -E -T -f 0 -F 0,0 -a -o -t -p -K opname -L C++ -Z TAO_Param_Test_Perfect_Hash_OpTable -N lookup */ -unsigned int -TAO_Param_Test_Perfect_Hash_OpTable::hash (const char *str, unsigned int len) -{ - static const unsigned char asso_values[] = - { -#if defined (ACE_MVS) - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 45, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 0, - 66, 66, 0, 10, 5, 25, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 5, 40, - 66, 66, 0, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 0, 0, 66, 66, 66, 0, 35, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, -#else - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, - 66, 66, 66, 66, 66, 45, 66, 0, 66, 66, - 0, 10, 5, 25, 66, 66, 66, 66, 66, 5, - 40, 66, 66, 0, 66, 0, 0, 66, 66, 66, - 0, 35, 66, 66, 66, 66, 66, 66, -#endif /* ACE_MVS */ - }; - return len + asso_values[(int) str[len - 1]] + asso_values[(int) str[0]]; -} - -const TAO_operation_db_entry * -TAO_Param_Test_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len) -{ - enum - { - TOTAL_KEYWORDS = 45, - MIN_WORD_LENGTH = 5, - MAX_WORD_LENGTH = 30, - MIN_HASH_VALUE = 10, - MAX_HASH_VALUE = 65, - HASH_VALUE_RANGE = 56, - DUPLICATES = 7, - WORDLIST_SIZE = 55 - }; - - static const TAO_operation_db_entry wordlist[] = - { - {"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0},{"",0,0}, - {"",0,0}, - {"test_short", &POA_Param_Test::test_short_skel, 0}, - {"test_strseq", &POA_Param_Test::test_strseq_skel, 0}, - {"test_anyseq", &POA_Param_Test::test_anyseq_skel, 0}, - {"test_wstrseq", &POA_Param_Test::test_wstrseq_skel, 0}, - {"test_coffe_mix", &POA_Param_Test::test_coffe_mix_skel, 0}, - {"test_var_struct", &POA_Param_Test::test_var_struct_skel, 0}, - {"test_objref", &POA_Param_Test::test_objref_skel, 0}, - {"test_fixed_struct", &POA_Param_Test::test_fixed_struct_skel, 0}, - {"test_nested_struct", &POA_Param_Test::test_nested_struct_skel, 0}, - {"test_objref_struct", &POA_Param_Test::test_objref_struct_skel, 0}, - {"test_bounded_strseq", &POA_Param_Test::test_bounded_strseq_skel, 0}, - {"test_bounded_wstrseq", &POA_Param_Test::test_bounded_wstrseq_skel, 0}, - {"test_recursive_struct", &POA_Param_Test::test_recursive_struct_skel, 0}, - {"test_bounded_coffe_mix", &POA_Param_Test::test_bounded_coffe_mix_skel, 0}, - {"test_typecode", &POA_Param_Test::test_typecode_skel, 0}, - {"make_coffee", &POA_Param_Test::make_coffee_skel, 0}, - {"test_long_sequence", &POA_Param_Test::test_long_sequence_skel, 0}, - {"test_short_sequence", &POA_Param_Test::test_short_sequence_skel, 0}, - {"test_array_sequence", &POA_Param_Test::test_array_sequence_skel, 0}, - {"test_struct_sequence", &POA_Param_Test::test_struct_sequence_skel, 0}, - {"test_bounded_long_sequence", &POA_Param_Test::test_bounded_long_sequence_skel, 0}, - {"test_bounded_short_sequence", &POA_Param_Test::test_bounded_short_sequence_skel, 0}, - {"test_bounded_array_sequence", &POA_Param_Test::test_bounded_array_sequence_skel, 0}, - {"test_bounded_struct_sequence", &POA_Param_Test::test_bounded_struct_sequence_skel, 0}, - {"test_ulonglong", &POA_Param_Test::test_ulonglong_skel, 0}, - {"test_unbounded_struct_sequence", &POA_Param_Test::test_unbounded_struct_sequence_skel, 0}, - {"test_any", &POA_Param_Test::test_any_skel, 0}, - {"test_bounded_string", &POA_Param_Test::test_bounded_string_skel, 0}, - {"test_bounded_wstring", &POA_Param_Test::test_bounded_wstring_skel, 0}, - {"test_unbounded_string", &POA_Param_Test::test_unbounded_string_skel, 0}, - {"test_unbounded_wstring", &POA_Param_Test::test_unbounded_wstring_skel, 0}, - {"shutdown", &POA_Param_Test::shutdown_skel, 0}, - {"test_var_array", &POA_Param_Test::test_var_array_skel, 0}, - {"_is_a", &POA_Param_Test::_is_a_skel, 0}, - {"test_fixed_array", &POA_Param_Test::test_fixed_array_skel, 0}, - {"test_complex_any", &POA_Param_Test::test_complex_any_skel, 0}, - {"test_multdim_array", &POA_Param_Test::test_multdim_array_skel, 0}, - {"test_exception", &POA_Param_Test::test_exception_skel, 0}, - {"test_big_union", &POA_Param_Test::test_big_union_skel, 0}, - {"_component", &POA_Param_Test::_component_skel, 0}, - {"test_small_union", &POA_Param_Test::test_small_union_skel, 0}, - {"_non_existent", &POA_Param_Test::_non_existent_skel, 0}, - {"_repository_id", &POA_Param_Test::_repository_id_skel, 0}, - {"test_recursive_union", &POA_Param_Test::test_recursive_union_skel, 0}, - {"_interface", &POA_Param_Test::_interface_skel, 0}, - }; - - static const signed char lookup[] = - { - -1, -1, -1, -1, -1, -1, -11, -2, -18, -2, 10, -70, 13, -1, - 14, 15, 16, 17, -75, 20, 21, 22, 23, 24, -27, -2, 25, -1, - 26, -70, 29, -1, -31, -2, -44, -2, 30, -70, 33, 34, 35, -47, - -2, 36, 37, 38, 39, 40, 41, 42, 43, -82, -1, 46, -78, 49, - 50, -1, 51, 52, 53, -1, -1, -1, -1, 54, - }; - - if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) - { - unsigned int key = hash (str, len); - - if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE) - { - int slot = lookup[key]; - - if (slot >= 0 && slot < WORDLIST_SIZE) - { - const char *s = wordlist[slot].opname; - - if (*str == *s && !ACE_OS::strncmp (str + 1, s + 1, len - 1)) - return &wordlist[slot]; - } - else if (slot < 0 && slot >= -MAX_HASH_VALUE) - return 0; - else - { - unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE); - const TAO_operation_db_entry *base = &wordlist[-lookup[offset]]; - const TAO_operation_db_entry *ptr = base + -lookup[offset + 1]; - - while (--ptr >= base) - if (*str == *ptr->opname && !ACE_OS::strncmp (str + 1, ptr->opname + 1, len - 1)) - return ptr; - } - } - } - return 0; -} - -static TAO_Param_Test_Perfect_Hash_OpTable tao_Param_Test_optable; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:988 - -TAO::Collocation_Proxy_Broker * -_TAO_Param_Test_Proxy_Broker_Factory_function ( ::CORBA::Object_ptr) -{ - return reinterpret_cast<TAO::Collocation_Proxy_Broker *> (0xdead); // Dummy -} - -int -_TAO_Param_Test_Proxy_Broker_Factory_Initializer (size_t) -{ - _TAO_Param_Test_Proxy_Broker_Factory_function_pointer = - _TAO_Param_Test_Proxy_Broker_Factory_function; - - return 0; -} - -static int -_TAO_Param_Test_Proxy_Broker_Stub_Factory_Initializer_Scarecrow = - _TAO_Param_Test_Proxy_Broker_Factory_Initializer ( - reinterpret_cast<size_t> (_TAO_Param_Test_Proxy_Broker_Factory_Initializer) - ); - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:103 - -POA_Param_Test::POA_Param_Test (void) - : TAO_ServantBase () -{ - this->optable_ = &tao_Param_Test_optable; -} - -POA_Param_Test::POA_Param_Test (const POA_Param_Test& rhs) - : TAO_Abstract_ServantBase (rhs), - TAO_ServantBase (rhs) -{ -} - -POA_Param_Test::~POA_Param_Test (void) -{ -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_short_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_short_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::Short>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::Short> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::Short>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::Short> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::Short>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::Short> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::Short>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::Short> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_short ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_short_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::Short>::ret_val retval; - TAO::SArg_Traits< ::CORBA::Short>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::Short>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::Short>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_short_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_ulonglong_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_ulonglong_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::ULongLong>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::ULongLong> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::ULongLong>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::ULongLong> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::ULongLong>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::ULongLong> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::ULongLong>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::ULongLong> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_ulonglong ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_ulonglong_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::ULongLong>::ret_val retval; - TAO::SArg_Traits< ::CORBA::ULongLong>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::ULongLong>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::ULongLong>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_ulonglong_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_unbounded_string_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_unbounded_string_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< std::string>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< std::string> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< std::string>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< std::string> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< std::string>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< std::string> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< std::string>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< std::string> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_unbounded_string ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_unbounded_string_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< std::string>::ret_val retval; - TAO::SArg_Traits< std::string>::in_arg_val _tao_s1; - TAO::SArg_Traits< std::string>::inout_arg_val _tao_s2; - TAO::SArg_Traits< std::string>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_unbounded_string_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_string_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_string_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::TAO::short_string_128>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::TAO::short_string_128> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::TAO::short_string_128>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::TAO::short_string_128> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::TAO::short_string_128>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::TAO::short_string_128> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::TAO::short_string_128>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::TAO::short_string_128> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_bounded_string ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_string_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::TAO::short_string_128>::ret_val retval; - TAO::SArg_Traits< ::TAO::short_string_128>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::TAO::short_string_128>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::TAO::short_string_128>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_string_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_unbounded_wstring_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_unbounded_wstring_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::WChar *>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::WChar *> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::WChar *>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::WChar *> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::WChar *>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::WChar *> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::WChar *>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::WChar *> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_unbounded_wstring ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_unbounded_wstring_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::WChar *>::ret_val retval; - TAO::SArg_Traits< ::CORBA::WChar *>::in_arg_val _tao_ws1; - TAO::SArg_Traits< ::CORBA::WChar *>::inout_arg_val _tao_ws2; - TAO::SArg_Traits< ::CORBA::WChar *>::out_arg_val _tao_ws3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_unbounded_wstring_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_wstring_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_wstring_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::TAO::short_wstring_128>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::TAO::short_wstring_128> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::TAO::short_wstring_128>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::TAO::short_wstring_128> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::TAO::short_wstring_128>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::TAO::short_wstring_128> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::TAO::short_wstring_128>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::TAO::short_wstring_128> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_bounded_wstring ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_wstring_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::TAO::short_wstring_128>::ret_val retval; - TAO::SArg_Traits< ::TAO::short_wstring_128>::in_arg_val _tao_ws1; - TAO::SArg_Traits< ::TAO::short_wstring_128>::inout_arg_val _tao_ws2; - TAO::SArg_Traits< ::TAO::short_wstring_128>::out_arg_val _tao_ws3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_wstring_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_fixed_struct_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_fixed_struct_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Fixed_Struct> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Fixed_Struct> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Fixed_Struct> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Fixed_Struct> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_fixed_struct ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_fixed_struct_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Fixed_Struct>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_fixed_struct_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_unbounded_struct_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_unbounded_struct_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_unbounded_struct_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_unbounded_struct_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_unbounded_struct_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_short_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_short_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_short_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_short_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_short_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_short_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_short_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_bounded_short_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_short_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_short_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_long_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_long_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_long_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_long_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_long_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_long_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_long_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_bounded_long_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_long_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_long_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_strseq_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_strseq_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< std::vector<char *>>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< std::vector<char *>> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_strseq ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_strseq_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_strseq_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_strseq_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_strseq_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< std::vector<char *>>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< std::vector<char *>> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_bounded_strseq ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_strseq_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_strseq_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_wstrseq_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_wstrseq_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_wstrseq ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_wstrseq_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_wstrseq_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_wstrseq_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_wstrseq_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_bounded_wstrseq ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_wstrseq_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_ws1, - &_tao_ws2, - &_tao_ws3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_wstrseq_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_struct_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_struct_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_struct_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_struct_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_struct_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_struct_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_struct_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_bounded_struct_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_struct_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_struct_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_coffe_mix_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_coffe_mix_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< std::vector<Coffee>>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< std::vector<Coffee>> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_coffe_mix ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_coffe_mix_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_coffe_mix_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_coffe_mix_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_coffe_mix_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< std::vector<Coffee>>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< std::vector<Coffee>> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_bounded_coffe_mix ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_coffe_mix_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_coffe_mix_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_anyseq_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_anyseq_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_anyseq ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_anyseq_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_anyseq_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_var_struct_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_var_struct_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Var_Struct>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Var_Struct> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Var_Struct>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Var_Struct> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Var_Struct>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Var_Struct> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Var_Struct>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Var_Struct> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_var_struct ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_var_struct_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Var_Struct>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Var_Struct>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Var_Struct>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Var_Struct>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_var_struct_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_nested_struct_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_nested_struct_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Nested_Struct> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Nested_Struct> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Nested_Struct> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Nested_Struct> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_nested_struct ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_nested_struct_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::Param_Test::Nested_Struct>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_nested_struct_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class make_coffee_Param_Test - : public TAO::Upcall_Command -{ -public: - inline make_coffee_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Coffee>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Coffee> ( - this->operation_details_, - this->args_); - - retval = - this->servant_->make_coffee (); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::make_coffee_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Coffee>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - make_coffee_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_objref_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_objref_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Coffee>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Coffee> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Coffee>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Coffee> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Coffee>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Coffee> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Coffee>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Coffee> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_objref ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_objref_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Coffee>::ret_val retval; - TAO::SArg_Traits< ::Coffee>::in_arg_val _tao_o1; - TAO::SArg_Traits< ::Coffee>::inout_arg_val _tao_o2; - TAO::SArg_Traits< ::Coffee>::out_arg_val _tao_o3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_o1, - &_tao_o2, - &_tao_o3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_objref_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_typecode_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_typecode_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::TypeCode>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::TypeCode> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::TypeCode>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::TypeCode> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::TypeCode>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::TypeCode> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::TypeCode>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::TypeCode> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_typecode ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_typecode_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::TypeCode>::ret_val retval; - TAO::SArg_Traits< ::CORBA::TypeCode>::in_arg_val _tao_t1; - TAO::SArg_Traits< ::CORBA::TypeCode>::inout_arg_val _tao_t2; - TAO::SArg_Traits< ::CORBA::TypeCode>::out_arg_val _tao_t3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_t1, - &_tao_t2, - &_tao_t3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_typecode_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_any_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_any_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::Any>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::Any>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::Any>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::Any>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_any ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_any_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::Any>::ret_val retval; - TAO::SArg_Traits< ::CORBA::Any>::in_arg_val _tao_a1; - TAO::SArg_Traits< ::CORBA::Any>::inout_arg_val _tao_a2; - TAO::SArg_Traits< ::CORBA::Any>::out_arg_val _tao_a3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_a1, - &_tao_a2, - &_tao_a3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_any_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_objref_struct_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_objref_struct_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Objref_Struct> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Objref_Struct> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Objref_Struct> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Objref_Struct> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_objref_struct ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_objref_struct_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::in_arg_val _tao_t1; - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::inout_arg_val _tao_t2; - TAO::SArg_Traits< ::Param_Test::Objref_Struct>::out_arg_val _tao_t3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_t1, - &_tao_t2, - &_tao_t3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_objref_struct_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_fixed_array_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_fixed_array_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Fixed_Array_tag> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Fixed_Array_tag> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Fixed_Array_tag> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Fixed_Array_tag> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_fixed_array ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_fixed_array_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::in_arg_val _tao_l1; - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::inout_arg_val _tao_l2; - TAO::SArg_Traits< ::Param_Test::Fixed_Array_tag>::out_arg_val _tao_l3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_l1, - &_tao_l2, - &_tao_l3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_fixed_array_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_var_array_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_var_array_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Var_Array_tag> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Var_Array_tag> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Var_Array_tag> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Var_Array_tag> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_var_array ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_var_array_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::in_arg_val _tao_v1; - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::inout_arg_val _tao_v2; - TAO::SArg_Traits< ::Param_Test::Var_Array_tag>::out_arg_val _tao_v3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_v1, - &_tao_v2, - &_tao_v3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_var_array_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_array_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_array_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_array_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_array_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_array_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_bounded_array_sequence_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_bounded_array_sequence_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - 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< 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< 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< 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); - - retval = - this->servant_->test_bounded_array_sequence ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_bounded_array_sequence_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - 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[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_bounded_array_sequence_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_exception_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_exception_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::ULong>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::ULong> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::ULong>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::ULong> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::ULong>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::ULong> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::ULong>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::ULong> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_exception ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_exception_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const exceptions[] = - { - Param_Test::_tc_Ooops - }; - static ::CORBA::ULong const nexceptions = 1; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::ULong>::ret_val retval; - TAO::SArg_Traits< ::CORBA::ULong>::in_arg_val _tao_s1; - TAO::SArg_Traits< ::CORBA::ULong>::inout_arg_val _tao_s2; - TAO::SArg_Traits< ::CORBA::ULong>::out_arg_val _tao_s3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_s1, - &_tao_s2, - &_tao_s3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_exception_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_big_union_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_big_union_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Big_Union>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Big_Union> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Big_Union>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Big_Union> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Big_Union>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Big_Union> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Big_Union>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Big_Union> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_big_union ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_big_union_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Big_Union>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Big_Union>::in_arg_val _tao_u1; - TAO::SArg_Traits< ::Param_Test::Big_Union>::inout_arg_val _tao_u2; - TAO::SArg_Traits< ::Param_Test::Big_Union>::out_arg_val _tao_u3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_u1, - &_tao_u2, - &_tao_u3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_big_union_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_small_union_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_small_union_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Small_Union>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Small_Union> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Small_Union>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Small_Union> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Small_Union>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Small_Union> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Small_Union>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Small_Union> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_small_union ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_small_union_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Small_Union>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Small_Union>::in_arg_val _tao_u1; - TAO::SArg_Traits< ::Param_Test::Small_Union>::inout_arg_val _tao_u2; - TAO::SArg_Traits< ::Param_Test::Small_Union>::out_arg_val _tao_u3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_u1, - &_tao_u2, - &_tao_u3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_small_union_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_complex_any_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_complex_any_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::Any>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::CORBA::Any>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::CORBA::Any>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::CORBA::Any>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::CORBA::Any> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_complex_any ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_complex_any_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::Any>::ret_val retval; - TAO::SArg_Traits< ::CORBA::Any>::in_arg_val _tao_ca1; - TAO::SArg_Traits< ::CORBA::Any>::inout_arg_val _tao_ca2; - TAO::SArg_Traits< ::CORBA::Any>::out_arg_val _tao_ca3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_ca1, - &_tao_ca2, - &_tao_ca3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_complex_any_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_recursive_struct_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_recursive_struct_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Recursive_Struct> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Recursive_Struct> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Recursive_Struct> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Recursive_Struct> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_recursive_struct ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_recursive_struct_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::in_arg_val _tao_rs1; - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::inout_arg_val _tao_rs2; - TAO::SArg_Traits< ::Param_Test::Recursive_Struct>::out_arg_val _tao_rs3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_rs1, - &_tao_rs2, - &_tao_rs3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_recursive_struct_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_recursive_union_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_recursive_union_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Recursive_Union> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Recursive_Union> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Recursive_Union> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Recursive_Union> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_recursive_union ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_recursive_union_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::in_arg_val _tao_ru1; - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::inout_arg_val _tao_ru2; - TAO::SArg_Traits< ::Param_Test::Recursive_Union>::out_arg_val _tao_ru3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_ru1, - &_tao_ru2, - &_tao_ru3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_recursive_union_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class test_multdim_array_Param_Test - : public TAO::Upcall_Command -{ -public: - inline test_multdim_array_Param_Test ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::Param_Test::Multdim_Array_tag> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< ::Param_Test::Multdim_Array_tag> ( - this->operation_details_, - this->args_, - 1); - - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::inout_arg_type arg_2 = - TAO::Portable_Server::get_inout_arg< ::Param_Test::Multdim_Array_tag> ( - this->operation_details_, - this->args_, - 2); - - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::out_arg_type arg_3 = - TAO::Portable_Server::get_out_arg< ::Param_Test::Multdim_Array_tag> ( - this->operation_details_, - this->args_, - 3); - - retval = - this->servant_->test_multdim_array ( - arg_1 - , arg_2 - , arg_3); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::test_multdim_array_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::ret_val retval; - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::in_arg_val _tao_m1; - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::inout_arg_val _tao_m2; - TAO::SArg_Traits< ::Param_Test::Multdim_Array_tag>::out_arg_val _tao_m3; - - TAO::Argument * const args[] = - { - &retval, - &_tao_m1, - &_tao_m2, - &_tao_m3 - }; - - static size_t const nargs = 4; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - test_multdim_array_Param_Test command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class shutdown_Param_Test - : public TAO::Upcall_Command -{ -public: - inline shutdown_Param_Test ( - POA_Param_Test * servant) - : servant_ (servant) - { - } - - virtual void execute (void) - { - this->servant_->shutdown (); - } - -private: - POA_Param_Test * const servant_; -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/operation_ss.cpp:190 - -void POA_Param_Test::shutdown_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< void>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - shutdown_Param_Test command ( - impl); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:169 - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _is_a_Param_Test_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _is_a_Param_Test_Upcall_Command ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::ACE_InputCDR::to_boolean> ( - this->operation_details_, - this->args_); - - TAO::SArg_Traits< char *>::in_arg_type arg_1 = - TAO::Portable_Server::get_in_arg< char *> ( - this->operation_details_, - this->args_, - 1); - - retval = - this->servant_-> _is_a ( - arg_1); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Param_Test::_is_a_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_val retval; - TAO::SArg_Traits< char *>::in_arg_val _tao_repository_id; - - TAO::Argument * const args[] = - { - &retval, - &_tao_repository_id - }; - - static size_t const nargs = 2; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - _is_a_Param_Test_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _non_existent_Param_Test_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _non_existent_Param_Test_Upcall_Command ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::ACE_InputCDR::to_boolean> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _non_existent (); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Param_Test::_non_existent_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::ACE_InputCDR::to_boolean>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - _non_existent_Param_Test_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _repository_id_Param_Test_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _repository_id_Param_Test_Upcall_Command ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< char *>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< char *> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _repository_id (); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Param_Test::_repository_id_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< char *>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - _repository_id_Param_Test_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:512 - -void POA_Param_Test::_interface_skel ( - TAO_ServerRequest & server_request, - void * /* servant_upcall */, - void * servant) -{ - TAO_IFR_Client_Adapter *_tao_adapter = - ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( - TAO_ORB_Core::ifr_client_adapter_name () - ); - - if (!_tao_adapter) - { - throw ::CORBA::INTF_REPOS (::CORBA::OMGVMCID | 1, ::CORBA::COMPLETED_NO); - } - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - ::CORBA::InterfaceDef_ptr _tao_retval = impl->_get_interface (); - server_request.init_reply (); - TAO_OutputCDR &_tao_out = *server_request.outgoing (); - - ::CORBA::Boolean const _tao_result = - _tao_adapter->interfacedef_cdr_insert (_tao_out, _tao_retval); - - _tao_adapter->dispose (_tao_retval); - - if (!_tao_result) - { - throw ::CORBA::MARSHAL (); - } -} - - - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_operation/upcall_command_ss.cpp:136 - -class _get_component_Param_Test_Upcall_Command - : public TAO::Upcall_Command -{ -public: - inline _get_component_Param_Test_Upcall_Command ( - POA_Param_Test * servant, - TAO_Operation_Details const * operation_details, - TAO::Argument * const args[]) - : servant_ (servant) - , operation_details_ (operation_details) - , args_ (args) - { - } - - virtual void execute (void) - { - TAO::SArg_Traits< ::CORBA::Object>::ret_arg_type retval = - TAO::Portable_Server::get_ret_arg< ::CORBA::Object> ( - this->operation_details_, - this->args_); - - retval = - this->servant_-> _get_component (); - } - -private: - POA_Param_Test * const servant_; - TAO_Operation_Details const * const operation_details_; - TAO::Argument * const * const args_; -}; - -void POA_Param_Test::_component_skel ( - TAO_ServerRequest & server_request, - void * TAO_INTERCEPTOR (servant_upcall), - void * servant - ) -{ -#if TAO_HAS_INTERCEPTORS == 1 - static ::CORBA::TypeCode_ptr const * const exceptions = 0; - static ::CORBA::ULong const nexceptions = 0; -#endif /* TAO_HAS_INTERCEPTORS */ - - TAO::SArg_Traits< ::CORBA::Object>::ret_val retval; - - TAO::Argument * const args[] = - { - &retval - }; - - static size_t const nargs = 1; - - POA_Param_Test * const impl = - static_cast<POA_Param_Test *> (servant); - - _get_component_Param_Test_Upcall_Command command ( - impl, - server_request.operation_details (), - args); - - TAO::Upcall_Wrapper upcall_wrapper; - upcall_wrapper.upcall (server_request - , args - , nargs - , command -#if TAO_HAS_INTERCEPTORS == 1 - , servant_upcall - , exceptions - , nexceptions -#endif /* TAO_HAS_INTERCEPTORS == 1 */ - ); -} - -::CORBA::Boolean POA_Param_Test::_is_a (const char* value) -{ - return - ( - !ACE_OS::strcmp ( - value, - "IDL:Param_Test:1.0" - ) || - !ACE_OS::strcmp ( - value, - "IDL:omg.org/CORBA/Object:1.0" - ) - ); -} - -const char* POA_Param_Test::_interface_repository_id (void) const -{ - return "IDL:Param_Test:1.0"; -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:930 - -void POA_Param_Test::_dispatch (TAO_ServerRequest & req, void * servant_upcall) -{ - this->synchronous_upcall_dispatch (req, servant_upcall, this); -} - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_ss.cpp:856 - -Param_Test * -POA_Param_Test::_this (void) -{ - TAO_Stub *stub = this->_create_stub (); - - TAO_Stub_Auto_Ptr safe_stub (stub); - ::CORBA::Object_ptr tmp = CORBA::Object_ptr (); - - ::CORBA::Boolean const _tao_opt_colloc = - stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects (); - - ACE_NEW_RETURN ( - tmp, - ::CORBA::Object (stub, _tao_opt_colloc, this), - 0 - ); - - ::CORBA::Object_var obj = tmp; - (void) safe_stub.release (); - - typedef ::Param_Test STUB_SCOPED_NAME; - return - TAO::Narrow_Utils<STUB_SCOPED_NAME>::unchecked_narrow ( - obj.in (), - _TAO_Param_Test_Proxy_Broker_Factory_function_pointer - ); -} - -#endif /* ifndef */ - diff --git a/modules/TAO/tests/Param_Test/param_testS.h b/modules/TAO/tests/Param_Test/param_testS.h deleted file mode 100644 index cbd75a54f36..00000000000 --- a/modules/TAO/tests/Param_Test/param_testS.h +++ /dev/null @@ -1,780 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:477 - -#ifndef _TAO_IDL_PARAM_TESTS_H_ -#define _TAO_IDL_PARAM_TESTS_H_ - -#include /**/ "ace/pre.h" - -#include "param_testC.h" -#include "tao/BooleanSeqS.h" -#include "tao/CharSeqS.h" -#include "tao/DoubleSeqS.h" -#include "tao/FloatSeqS.h" -#include "tao/LongDoubleSeqS.h" -#include "tao/LongSeqS.h" -#include "tao/OctetSeqS.h" -#include "tao/ShortSeqS.h" -#include "tao/StringSeqS.h" -#include "tao/ULongSeqS.h" -#include "tao/UShortSeqS.h" -#include "tao/WCharSeqS.h" -#include "tao/WStringSeqS.h" -#include "tao/LongLongSeqS.h" -#include "tao/ULongLongSeqS.h" -#include "tao/PolicyS.h" -#include "tao/Policy_ManagerS.h" -#include "tao/Policy_CurrentS.h" -#include "tao/ServicesS.h" -#include "tao/ParameterModeS.h" -#include "tao/orb_typesS.h" -#include "tao/Typecode_typesS.h" -#include "tao/WrongTransactionS.h" -#include "tao/AnyTypeCode/AnySeqS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Collocation_Proxy_Broker.h" -#include "tao/PortableServer/PortableServer.h" -#include "tao/PortableServer/Servant_Base.h" - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_sh.cpp:87 - -class POA_Coffee; -typedef POA_Coffee *POA_Coffee_ptr; - -class POA_Coffee - : public virtual PortableServer::ServantBase -{ -protected: - POA_Coffee (void); - -public: - // Useful for template programming. - typedef ::Coffee _stub_type; - typedef ::Coffee_ptr _stub_ptr_type; - typedef ::Coffee_var _stub_var_type; - - POA_Coffee (const POA_Coffee& rhs); - virtual ~POA_Coffee (void); - - virtual ::CORBA::Boolean _is_a (const char* logical_type_id); - - static void _is_a_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _non_existent_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _interface_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _component_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _repository_id_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant); - - virtual void _dispatch ( - TAO_ServerRequest & req, - void * servant_upcall); - - ::Coffee *_this (void); - - virtual const char* _interface_repository_id (void) const; - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual ::Coffee::Desc * description (void) = 0; - - static void _get_description_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual void description ( - const Coffee::Desc & description) = 0; - - static void _set_description_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); -}; - -// TAO_IDL - Generated from -// w:\tao\tao_idl\be\be_visitor_interface/interface_sh.cpp:87 - -class POA_Param_Test; -typedef POA_Param_Test *POA_Param_Test_ptr; - -class POA_Param_Test - : public virtual PortableServer::ServantBase -{ -protected: - POA_Param_Test (void); - -public: - // Useful for template programming. - typedef ::Param_Test _stub_type; - typedef ::Param_Test_ptr _stub_ptr_type; - typedef ::Param_Test_var _stub_var_type; - - POA_Param_Test (const POA_Param_Test& rhs); - virtual ~POA_Param_Test (void); - - virtual ::CORBA::Boolean _is_a (const char* logical_type_id); - - static void _is_a_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _non_existent_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _interface_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _component_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant - ); - - static void _repository_id_skel ( - TAO_ServerRequest & req, - void * servant_upcall, - void * servant); - - virtual void _dispatch ( - TAO_ServerRequest & req, - void * servant_upcall); - - ::Param_Test *_this (void); - - virtual const char* _interface_repository_id (void) const; - - // TAO_IDL - Generated from - // 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; - - static void test_short_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_ulonglong_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual std::string test_unbounded_string ( - const std::string s1, - std::string & s2, - std::string & s3) = 0; - - static void test_unbounded_string_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual char * test_bounded_string ( - const char * s1, - char *& s2, - ::CORBA::String_out s3) = 0; - - static void test_bounded_string_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual ::CORBA::WChar * test_unbounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3) = 0; - - static void test_unbounded_wstring_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual ::CORBA::WChar * test_bounded_wstring ( - const ::CORBA::WChar * ws1, - ::CORBA::WChar *& ws2, - ::CORBA::WString_out ws3) = 0; - - static void test_bounded_wstring_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_fixed_struct_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_var_struct_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_nested_struct_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual ::Coffee_ptr make_coffee (void) = 0; - - static void make_coffee_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_objref_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_typecode_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_any_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_objref_struct_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_fixed_array_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_var_array_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - 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, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_exception_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_big_union_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_small_union_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_complex_any_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_recursive_struct_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_recursive_union_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // 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; - - static void test_multdim_array_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); - - // TAO_IDL - Generated from - // w:\tao\tao_idl\be\be_visitor_operation/operation_sh.cpp:45 - - virtual void shutdown (void) = 0; - - static void shutdown_skel ( - TAO_ServerRequest & server_request, - void * servant_upcall, - void * servant - ); -}; - -// TAO_IDL - Generated from -// .\be\be_codegen.cpp:1520 - - -#if defined (__ACE_INLINE__) -#include "param_testS.inl" -#endif /* defined INLINE */ - -#include /**/ "ace/post.h" -#endif /* ifndef */ - diff --git a/modules/TAO/tests/Param_Test/param_testS.inl b/modules/TAO/tests/Param_Test/param_testS.inl deleted file mode 100644 index c3a6743463a..00000000000 --- a/modules/TAO/tests/Param_Test/param_testS.inl +++ /dev/null @@ -1,29 +0,0 @@ -// -*- C++ -*- -// $Id$ - -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.5 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * http://doc.ece.uci.edu/ - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - **/ - - diff --git a/modules/TAO/tests/Param_Test/param_test_i.cpp b/modules/TAO/tests/Param_Test/param_test_i.cpp index 00dee6f43a4..f0b9a3ee916 100644 --- a/modules/TAO/tests/Param_Test/param_test_i.cpp +++ b/modules/TAO/tests/Param_Test/param_test_i.cpp @@ -104,14 +104,17 @@ Param_Test_i::test_ulonglong (CORBA::ULongLong s1, // test unbounded strings. For return and out types, we return duplicates of // the in string. For the inout, we append the same string to itself and send // it back -std::string -Param_Test_i::test_unbounded_string (std::string s1, - std::string &s2, - std::string &s3) +char * +Param_Test_i::test_unbounded_string (const char *s1, + char *&s2, + CORBA::String_out s3) { - std::string retstr = s1; - s3 = s1; - s2 = s1 + s1; + char *retstr = CORBA::string_dup (s1); + s3 = CORBA::string_dup (s1); + char *tmp = CORBA::string_alloc (2*ACE_OS::strlen (s2)); + ACE_OS::sprintf (tmp, "%s%s", s2, s2); + CORBA::string_free (s2); + s2 = tmp; return retstr; } @@ -187,17 +190,19 @@ Param_Test_i::test_fixed_struct (const Param_Test::Fixed_Struct &s1, // = Sequences -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) +CORBA::LongSeq * +Param_Test_i::test_long_sequence (const CORBA::LongSeq & s1, + CORBA::LongSeq & s2, + CORBA::LongSeq_out s3) { - std::vector<CORBA::Long> ret; + CORBA::LongSeq + *ret = new CORBA::LongSeq, + *out = new CORBA::LongSeq; s2 = s1; - s3 = s1; - ret = s1; - + *out = s1; + *ret = s1; + s3 = out; return ret; } @@ -379,18 +384,32 @@ Param_Test_i::test_bounded_struct_sequence (const Param_Test::Bounded_StructSeq } -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 * +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> ret; + 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; s2 = s1; - s3 = s1; - ret = s1; - + *out = s1; + *ret = s1; + s3 = out; + 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 f08f19a7c8a..321df2bb9b3 100644 --- a/modules/TAO/tests/Param_Test/param_test_i.h +++ b/modules/TAO/tests/Param_Test/param_test_i.h @@ -67,9 +67,9 @@ public: CORBA::ULongLong_out s3); // test for unsigned long long - virtual std::string test_unbounded_string (const std::string s1, - std::string &s2, - std::string &s3); + virtual char *test_unbounded_string (const char *s1, + char *&s2, + CORBA::String_out s3); // test for unbounded strings virtual char *test_bounded_string (const char *s1, @@ -94,81 +94,66 @@ public: // test for fixed structures // = Start of sequences tests... - 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 CORBA::LongSeq * test_long_sequence ( + const CORBA::LongSeq & s1, + CORBA::LongSeq & s2, + CORBA::LongSeq_out s3); 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); - virtual CORBA::ShortSeq * test_short_sequence ( const CORBA::ShortSeq & s1, CORBA::ShortSeq & s2, CORBA::ShortSeq_out s3); - 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); - virtual CORBA::StringSeq * test_strseq ( const CORBA::StringSeq & s1, CORBA::StringSeq & s2, CORBA::StringSeq_out s3); - 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); - virtual CORBA::WStringSeq * test_wstrseq ( const CORBA::WStringSeq & ws1, CORBA::WStringSeq & ws2, CORBA::WStringSeq_out ws3); - 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); - virtual Param_Test::StructSeq * test_struct_sequence ( const Param_Test::StructSeq & s1, Param_Test::StructSeq & s2, Param_Test::StructSeq_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::PathSpec * test_unbounded_struct_sequence ( + const Param_Test::PathSpec & s1, + Param_Test::PathSpec & s2, + Param_Test::PathSpec_out s3); 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); - virtual Param_Test::ArraySeq * test_array_sequence ( const Param_Test::ArraySeq & s1, Param_Test::ArraySeq & s2, Param_Test::ArraySeq_out s3); - 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); - 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); - 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); - virtual CORBA::AnySeq * test_anyseq ( const CORBA::AnySeq & s1, CORBA::AnySeq & s2, diff --git a/modules/TAO/tests/Param_Test/ub_long_seq.cpp b/modules/TAO/tests/Param_Test/ub_long_seq.cpp index 1f5537e36a9..698c50e153b 100644 --- a/modules/TAO/tests/Param_Test/ub_long_seq.cpp +++ b/modules/TAO/tests/Param_Test/ub_long_seq.cpp @@ -19,12 +19,20 @@ #include "helper.h" #include "ub_long_seq.h" +ACE_RCSID (Param_Test, + ub_long_seq, + "$Id$") + // ************************************************************************ // Test_Long_Sequence // ************************************************************************ Test_Long_Sequence::Test_Long_Sequence (void) - : opname_ (CORBA::string_dup ("test_long_sequence")) + : opname_ (CORBA::string_dup ("test_long_sequence")), + in_ (new CORBA::LongSeq), + inout_ (new CORBA::LongSeq), + out_ (new CORBA::LongSeq), + ret_ (new CORBA::LongSeq) { } @@ -41,9 +49,8 @@ Test_Long_Sequence::opname (void) const } void -Test_Long_Sequence::dii_req_invoke (CORBA::Request * /* req */) +Test_Long_Sequence::dii_req_invoke (CORBA::Request *req) { -/* req->add_in_arg ("s1") <<= this->in_.in (); req->add_inout_arg ("s2") <<= this->inout_.in (); req->add_out_arg ("s3") <<= this->out_.in (); @@ -65,7 +72,6 @@ Test_Long_Sequence::dii_req_invoke (CORBA::Request * /* req */) req->arguments ()->item (2); *o3->value () >>= tmp; this->out_ = CORBA::LongSeq (*tmp); -*/ } int @@ -77,26 +83,23 @@ Test_Long_Sequence::init_parameters (Param_Test_ptr) CORBA::ULong len = (CORBA::ULong) (gen->gen_long () % 10) + 1; // set the length of the sequence - this->in_.resize (len); - this->inout_.resize (len); - + this->in_->length (len); + this->inout_->length (len); // now set each individual element - for (CORBA::ULong i = 0; i < len; ++i) + for (CORBA::ULong i=0; i < this->in_->length (); i++) { this->in_[i] = i; - this->inout_[i] = i + 1; + this->inout_[i] = i+1; } - return 0; } int Test_Long_Sequence::reset_parameters (void) { - this->inout_.clear (); - this->out_.clear (); - this->ret_.clear (); - + this->inout_ = new CORBA::LongSeq; // delete the previous ones + this->out_ = new CORBA::LongSeq; + this->ret_ = new CORBA::LongSeq; return 0; } @@ -105,18 +108,19 @@ Test_Long_Sequence::run_sii_test (Param_Test_ptr objref) { try { - this->ret_ = objref->test_long_sequence (this->in_, - this->inout_, - this->out_); + CORBA::LongSeq_out out (this->out_.out ()); + + this->ret_ = objref->test_long_sequence (this->in_.in (), + this->inout_.inout (), + out); return 0; } - catch (const CORBA::Exception& ex) { ex._tao_print_exception ("Test_Long_Sequence::run_sii_test\n"); + } - return -1; } @@ -124,22 +128,21 @@ CORBA::Boolean Test_Long_Sequence::check_validity (void) { CORBA::Boolean flag = 0; - if ((this->in_.size () == this->inout_.size ()) && - (this->in_.size () == this->out_.size ()) && - (this->in_.size () == this->ret_.size ())) + if ((this->in_->length () == this->inout_->length ()) && + (this->in_->length () == this->out_->length ()) && + (this->in_->length () == this->ret_->length ())) { flag = 1; // assume all are equal // lengths are same. Now compare the contents - for (CORBA::ULong i = 0; i < this->in_.size () && flag; ++i) + for (CORBA::ULong i=0; i < this->in_->length () && flag; i++) { - if (this->in_[i] != this->inout_[i] - || this->in_[i] != this->out_[i] - || this->in_[i] != this->ret_[i]) + if (this->in_[i] != this->inout_[i] || + this->in_[i] != this->out_[i] || + this->in_[i] != this->ret_[i]) // not equal flag = 0; } } - return flag; } @@ -154,8 +157,7 @@ Test_Long_Sequence::print_values (void) { CORBA::ULong i; ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n")); - - for (i = 0; !this->in_.empty () && (i < this->in_.size ()); ++i) + for (i=0; this->in_.ptr () && (i < this->in_->length ()); i++) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" @@ -163,15 +165,10 @@ Test_Long_Sequence::print_values (void) i, this->in_[i])); } - - if (this->in_.empty ()) - { - ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); - } - + if (!this->in_.ptr ()) + ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n")); - - for (i = 0; !this->inout_.empty () && (i < this->inout_.size ()); ++i) + for (i=0; this->inout_.ptr () && (i < this->inout_->length ()); i++) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" @@ -179,15 +176,10 @@ Test_Long_Sequence::print_values (void) i, this->inout_[i])); } - - if (this->inout_.empty ()) - { - ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); - } - + if (!this->inout_.ptr ()) + ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n")); - - for (i = 0; !this->out_.empty () && (i < this->out_.size ()); ++i) + for (i=0; this->out_.ptr () && (i < this->out_->length ()); i++) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" @@ -195,15 +187,10 @@ Test_Long_Sequence::print_values (void) i, this->out_[i])); } - - if (this->out_.empty ()) - { - ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); - } - + if (!this->out_.ptr ()) + ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n")); - - for (i = 0; !this->ret_.empty () && (i < this->ret_.size ()); ++i) + for (i=0; this->ret_.ptr () && (i < this->ret_->length ()); i++) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" @@ -211,11 +198,7 @@ Test_Long_Sequence::print_values (void) i, this->ret_[i])); } - - if (this->ret_.empty ()) - { - ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); - } - + if (!this->ret_.ptr ()) + ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n")); } diff --git a/modules/TAO/tests/Param_Test/ub_long_seq.h b/modules/TAO/tests/Param_Test/ub_long_seq.h index 8c31215eec2..4787743e140 100644 --- a/modules/TAO/tests/Param_Test/ub_long_seq.h +++ b/modules/TAO/tests/Param_Test/ub_long_seq.h @@ -62,13 +62,17 @@ private: char *opname_; // operation name - Param_Test::UB_Long_Seq in_; + CORBA::LongSeq_var in_; + // in parameter - Param_Test::UB_Long_Seq inout_; + CORBA::LongSeq_var inout_; + // inout parameter - Param_Test::UB_Long_Seq out_; + CORBA::LongSeq_var out_; + // out parameter - Param_Test::UB_Long_Seq ret_; + CORBA::LongSeq_var ret_; + // return value }; #endif /* PARAM_TEST_UNBOUNDED_LONG_SEQUENCE_H */ diff --git a/modules/TAO/tests/Param_Test/ub_string.cpp b/modules/TAO/tests/Param_Test/ub_string.cpp index bab6680a586..ae253a1e54b 100644 --- a/modules/TAO/tests/Param_Test/ub_string.cpp +++ b/modules/TAO/tests/Param_Test/ub_string.cpp @@ -19,19 +19,35 @@ #include "helper.h" #include "ub_string.h" +ACE_RCSID (Param_Test, + ub_string, + "$Id$") + // ************************************************************************ // Test_Unbounded_String // ************************************************************************ Test_Unbounded_String::Test_Unbounded_String (void) - : opname_ (CORBA::string_dup ("test_unbounded_string")) + : opname_ (CORBA::string_dup ("test_unbounded_string")), + in_ (0), + inout_ (0), + out_ (0), + ret_ (0) { } Test_Unbounded_String::~Test_Unbounded_String (void) { CORBA::string_free (this->opname_); + CORBA::string_free (this->in_); + CORBA::string_free (this->inout_); + CORBA::string_free (this->out_); + CORBA::string_free (this->ret_); this->opname_ = 0; + this->in_ = 0; + this->inout_ = 0; + this->out_ = 0; + this->ret_ = 0; } const char * @@ -41,9 +57,8 @@ Test_Unbounded_String::opname (void) const } void -Test_Unbounded_String::dii_req_invoke (CORBA::Request * /* req */) +Test_Unbounded_String::dii_req_invoke (CORBA::Request *req) { -/* req->add_in_arg ("s1") <<= this->in_; req->add_inout_arg ("s2") <<= this->inout_; req->add_out_arg ("s3") <<= this->out_; @@ -68,7 +83,6 @@ Test_Unbounded_String::dii_req_invoke (CORBA::Request * /* req */) req->arguments ()->item (2); *o3->value () >>= tmp; this->out_ = CORBA::string_dup (tmp); -*/ } int @@ -76,19 +90,34 @@ Test_Unbounded_String::init_parameters (Param_Test_ptr) { Generator *gen = GENERATOR::instance (); // value generator + + // release any previously occupied values + CORBA::string_free (this->in_); + CORBA::string_free (this->inout_); + CORBA::string_free (this->out_); + CORBA::string_free (this->ret_); + this->in_ = 0; + this->inout_ = 0; + this->out_ = 0; + this->ret_ = 0; + this->in_ = gen->gen_string (); - this->inout_ = this->in_.c_str (); - + this->inout_ = CORBA::string_dup (this->in_); return 0; } int Test_Unbounded_String::reset_parameters (void) { - this->inout_ = this->in_.c_str (); - this->out_.clear (); - this->ret_.clear (); - + // release any previously occupied values + CORBA::string_free (this->inout_); + CORBA::string_free (this->out_); + CORBA::string_free (this->ret_); + this->inout_ = 0; + this->out_ = 0; + this->ret_ = 0; + + this->inout_ = CORBA::string_dup (this->in_); return 0; } @@ -97,33 +126,35 @@ Test_Unbounded_String::run_sii_test (Param_Test_ptr objref) { try { + CORBA::String_out str_out (this->out_); + this->ret_ = objref->test_unbounded_string (this->in_, this->inout_, - this->out_);//str_out); + str_out); return 0; } catch (const CORBA::Exception& ex) { ex._tao_print_exception ("Test_Unbounded_String::run_sii_test\n"); + } - return -1; } CORBA::Boolean Test_Unbounded_String::check_validity (void) { - CORBA::ULong len = this->in_.length (); - - std::string first_half = this->inout_.substr (0, len); - std::string second_half = this->inout_.substr (len, len); - - return (this->in_ == this->out_ - && this->in_ == this->ret_ - && this->inout_.length () == 2 * len - && this->in_ == first_half - && this->in_ == second_half); + CORBA::ULong len = ACE_OS::strlen (this->in_); + + if (!ACE_OS::strcmp (this->in_, this->out_) && + !ACE_OS::strcmp (this->in_, this->ret_) && + ACE_OS::strlen (this->inout_) == 2*len && + !ACE_OS::strncmp (this->in_, this->inout_, len) && + !ACE_OS::strncmp (this->in_, &this->inout_[len], len)) + return 1; + + return 0; // otherwise } CORBA::Boolean @@ -144,12 +175,12 @@ Test_Unbounded_String::print_values (void) "out with len (%d) = %s\n" "ret with len (%d) = %s\n" "\n=*=*=*=*=*=*\n", - this->in_.length (), - this->in_.c_str (), - this->inout_.length (), - this->inout_.c_str (), - this->out_.length (), - this->out_.c_str (), - this->ret_.length (), - this->ret_.c_str ())); + (this->in_ ? ACE_OS::strlen (this->in_):0), + (this->in_ ? this->in_:"<nul string>"), + (this->inout_ ? ACE_OS::strlen (this->inout_):0), + (this->inout_ ? this->inout_:"<nul string>"), + (this->out_ ? ACE_OS::strlen (this->out_):0), + (this->out_ ? this->out_:"<nul string>"), + (this->ret_ ? ACE_OS::strlen (this->ret_):0), + (this->ret_ ? this->ret_:"<nul string>"))); } diff --git a/modules/TAO/tests/Param_Test/ub_string.h b/modules/TAO/tests/Param_Test/ub_string.h index 074589622e8..834c4bfbcb2 100644 --- a/modules/TAO/tests/Param_Test/ub_string.h +++ b/modules/TAO/tests/Param_Test/ub_string.h @@ -60,11 +60,18 @@ public: private: char *opname_; // operation name - - std::string in_; - std::string inout_; - std::string out_; - std::string ret_; + + char *in_; + // in parameter + + char *inout_; + // inout parameter + + char *out_; + // out parameter + + char *ret_; + // return value }; #endif /* PARAM_TEST_UNBOUNDED_STRING_H */ |