summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-03-26 19:25:11 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-03-26 19:25:11 +0000
commit9f639682d973679843480013bf8b633c85e6b5ee (patch)
treec5a454f01f8b3b20280fdf00971bd651df90bedf /TAO
parent0f6775fe1efba05bb8d5dce9a3b8b9b9a798b04f (diff)
downloadATCD-9f639682d973679843480013bf8b633c85e6b5ee.tar.gz
ChangeLogTag: Fri Mar 26 13:23:12 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog14
-rw-r--r--TAO/tao/BooleanSeq.pidl30
-rw-r--r--TAO/tao/BooleanSeqC.cpp252
-rw-r--r--TAO/tao/BooleanSeqC.h196
-rw-r--r--TAO/tao/BooleanSeqC.i46
-rw-r--r--TAO/tao/BooleanSeqS.h80
-rw-r--r--TAO/tao/tao.mpc3
7 files changed, 621 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b8a184bd863..a748bcc54a2 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,17 @@
+Fri Mar 26 13:23:12 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * tao/BooleanSeq.pidl:
+ * tao/BooleanSeqC.cpp:
+ * tao/BooleanSeqC.h:
+ * tao/BooleanSeqC.i:
+ * tao/BooleanSeqS.h:
+
+ New files, generating and defining CORBA::BooleanSeq in the ORB.
+
+ * tao/tao.mpc:
+
+ Added new files to project generator.
+
Thu Mar 25 23:06:01 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
* TAO_IDL/be/be_home.cpp:
diff --git a/TAO/tao/BooleanSeq.pidl b/TAO/tao/BooleanSeq.pidl
new file mode 100644
index 00000000000..fd7ac9a6ac6
--- /dev/null
+++ b/TAO/tao/BooleanSeq.pidl
@@ -0,0 +1,30 @@
+// -*- IDL -*-
+//
+// $Id$
+
+// ================================================================
+/**
+ * This file was used to generate the code in BooleanSeq*.*
+ * The command used to generate code is:
+ *
+ * tao_idl
+ * -o orig -Ge 1 -Sc -GT -GA
+ * -Wb,export_macro=TAO_Export
+ * -Wb,pre_include="ace/pre.h"
+ * -Wb,post_include="ace/post.h"
+ * BooleanSeq.pidl
+ *
+ */
+// ================================================================
+
+#ifndef TAO_CORBA_BOOLEAN_SEQ_IDL
+#define TAO_CORBA_BOOLEAN_SEQ_IDL
+
+#pragma prefix "omg.org"
+
+module CORBA
+{
+ typedef sequence<boolean> BooleanSeq;
+};
+
+#endif /* TAO_CORBA_BOOLEAN_SEQ_IDL */
diff --git a/TAO/tao/BooleanSeqC.cpp b/TAO/tao/BooleanSeqC.cpp
new file mode 100644
index 00000000000..10183d7297a
--- /dev/null
+++ b/TAO/tao/BooleanSeqC.cpp
@@ -0,0 +1,252 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-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:323
+
+
+#include "BooleanSeqC.h"
+#include "tao/Typecode.h"
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "BooleanSeqC.i"
+#endif /* !defined INLINE */
+
+// TAO_IDL - Generated from
+// .\be\be_visitor_arg_traits.cpp:64
+
+// Arg traits specializations.
+namespace TAO
+{
+}
+
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/sequence_cs.cpp:65
+
+#if !defined (_CORBA_BOOLEANSEQ_CS_)
+#define _CORBA_BOOLEANSEQ_CS_
+
+CORBA::BooleanSeq::BooleanSeq (void)
+{}
+
+CORBA::BooleanSeq::BooleanSeq (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ CORBA::Boolean
+ >
+ (max)
+{}
+
+CORBA::BooleanSeq::BooleanSeq (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Boolean * buffer,
+ CORBA::Boolean release
+ )
+ : TAO_Unbounded_Sequence<
+ CORBA::Boolean
+ >
+ (max, length, buffer, release)
+{}
+
+CORBA::BooleanSeq::BooleanSeq (
+ const BooleanSeq &seq
+ )
+ : TAO_Unbounded_Sequence<
+ CORBA::Boolean
+ >
+ (seq)
+{}
+
+CORBA::BooleanSeq::~BooleanSeq (void)
+{}
+
+void CORBA::BooleanSeq::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
+{
+ BooleanSeq * _tao_tmp_pointer =
+ ACE_static_cast (BooleanSeq *, _tao_void_pointer);
+ delete _tao_tmp_pointer;
+}
+
+#endif /* end #if !defined */
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_defn.cpp:284
+
+static const CORBA::Long _oc_CORBA_BooleanSeq[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f426f),
+ ACE_NTOHL (0x6f6c6561),
+ ACE_NTOHL (0x6e536571),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/BooleanSeq:1.0
+ 11,
+ ACE_NTOHL (0x426f6f6c),
+ ACE_NTOHL (0x65616e53),
+ ACE_NTOHL (0x65710000), // name = BooleanSeq
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_boolean,
+
+ 0U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_CORBA_BooleanSeq (
+ CORBA::tk_alias,
+ sizeof (_oc_CORBA_BooleanSeq),
+ (char *) &_oc_CORBA_BooleanSeq,
+ 0,
+ sizeof (CORBA::BooleanSeq)
+ );
+
+namespace CORBA
+{
+ ::CORBA::TypeCode_ptr _tc_BooleanSeq =
+ &_tc_TAO_tc_CORBA_BooleanSeq;
+}
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/cdr_op_cs.cpp:95
+
+#if !defined _TAO_CDR_OP_CORBA_BooleanSeq_CPP_
+#define _TAO_CDR_OP_CORBA_BooleanSeq_CPP_
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const CORBA::BooleanSeq &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
+ {
+ // Encode all elements.
+ return strm.write_boolean_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+ }
+
+ return 0;
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ CORBA::BooleanSeq &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+
+ if (strm >> _tao_seq_len)
+ {
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ return strm.read_boolean_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
+ }
+
+ return 0;
+}
+
+#endif /* _TAO_CDR_OP_CORBA_BooleanSeq_CPP_ */
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_root/root.cpp:1712
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+ template class
+ TAO_FixedSeq_Var_T<
+ CORBA::BooleanSeq,
+ CORBA::Boolean
+ >;
+
+ template class
+ TAO_Seq_Var_Base_T<
+ CORBA::BooleanSeq,
+ CORBA::Boolean
+ >;
+
+ template class
+ TAO_Seq_Out_T<
+ CORBA::BooleanSeq,
+ CORBA::BooleanSeq_var,
+ CORBA::Boolean
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_FixedSeq_Var_T< \
+ CORBA::BooleanSeq, \
+ CORBA::Boolean \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Var_Base_T< \
+ CORBA::BooleanSeq, \
+ CORBA::Boolean \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Out_T< \
+ CORBA::BooleanSeq, \
+ CORBA::BooleanSeq_var, \
+ CORBA::Boolean \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
diff --git a/TAO/tao/BooleanSeqC.h b/TAO/tao/BooleanSeqC.h
new file mode 100644
index 00000000000..be8fce28671
--- /dev/null
+++ b/TAO/tao/BooleanSeqC.h
@@ -0,0 +1,196 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-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:171
+
+#ifndef _TAO_IDL_ORIG_BOOLEANSEQC_H_
+#define _TAO_IDL_ORIG_BOOLEANSEQC_H_
+
+#include /**/ "ace/pre.h"
+
+#include "tao/ORB.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/CDR.h"
+#include "tao/Environment.h"
+#include "tao/Sequence_T.h"
+#include "tao/Seq_Var_T.h"
+#include "tao/Seq_Out_T.h"
+
+#if defined (TAO_EXPORT_MACRO)
+#undef TAO_EXPORT_MACRO
+#endif
+#define TAO_EXPORT_MACRO TAO_Export
+
+#if defined (TAO_EXPORT_NESTED_CLASSES)
+# if defined (TAO_EXPORT_NESTED_MACRO)
+# undef TAO_EXPORT_NESTED_MACRO
+# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
+# define TAO_EXPORT_NESTED_MACRO TAO_Export
+#endif /* TAO_EXPORT_NESTED_CLASSES */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:48
+
+namespace CORBA
+{
+
+ // TAO_IDL - Generated from
+ // w:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/sequence_ch.cpp:101
+
+#if !defined (_CORBA_BOOLEANSEQ_CH_)
+#define _CORBA_BOOLEANSEQ_CH_
+
+ class BooleanSeq;
+
+ typedef
+ TAO_FixedSeq_Var_T<
+ BooleanSeq,
+ CORBA::Boolean
+ >
+ BooleanSeq_var;
+
+ typedef
+ TAO_Seq_Out_T<
+ BooleanSeq,
+ BooleanSeq_var,
+ CORBA::Boolean
+ >
+ BooleanSeq_out;
+
+ class TAO_Export BooleanSeq
+ : public
+ TAO_Unbounded_Sequence<
+ CORBA::Boolean
+ >
+ {
+ public:
+ BooleanSeq (void);
+ BooleanSeq (CORBA::ULong max);
+ BooleanSeq (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Boolean* buffer,
+ CORBA::Boolean release = 0
+ );
+ BooleanSeq (const BooleanSeq &);
+ ~BooleanSeq (void);
+
+ static void _tao_any_destructor (void *);
+
+ typedef BooleanSeq_var _var_type;
+ };
+
+#endif /* end #if !defined */
+
+ // TAO_IDL - Generated from
+ // w:\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44
+
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BooleanSeq;
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:66
+
+} // module CORBA
+
+// TAO_IDL - Generated from
+// .\be\be_visitor_traits.cpp:59
+
+// Traits specializations.
+namespace TAO
+{
+}
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/any_op_ch.cpp:52
+
+TAO_Export void operator<<= (CORBA::Any &, const CORBA::BooleanSeq &); // copying version
+TAO_Export void operator<<= (CORBA::Any &, CORBA::BooleanSeq*); // noncopying version
+TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::BooleanSeq *&); // deprecated
+TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::BooleanSeq *&);
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_root/cdr_op.cpp:48
+
+#ifndef __ACE_INLINE__
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/cdr_op_ch.cpp:70
+
+#if !defined _TAO_CDR_OP_CORBA_BooleanSeq_H_
+#define _TAO_CDR_OP_CORBA_BooleanSeq_H_
+
+TAO_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const CORBA::BooleanSeq &
+ );
+TAO_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ CORBA::BooleanSeq &
+ );
+
+#endif /* _TAO_CDR_OP_CORBA_BooleanSeq_H_ */
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_root/cdr_op.cpp:64
+
+#endif /* __ACE_INLINE__ */
+
+// TAO_IDL - Generated from
+// .\be\be_codegen.cpp:978
+
+#if defined (__ACE_INLINE__)
+#include "BooleanSeqC.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include /**/ "ace/post.h"
+
+#endif /* ifndef */
+
diff --git a/TAO/tao/BooleanSeqC.i b/TAO/tao/BooleanSeqC.i
new file mode 100644
index 00000000000..d6a88b14e32
--- /dev/null
+++ b/TAO/tao/BooleanSeqC.i
@@ -0,0 +1,46 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-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:\ace_wrappers\tao\tao_idl\be\be_visitor_sequence/cdr_op_ci.cpp:81
+
+#if !defined _TAO_CDR_OP_CORBA_BooleanSeq_I_
+#define _TAO_CDR_OP_CORBA_BooleanSeq_I_
+
+CORBA::Boolean TAO_Export operator<< (
+ TAO_OutputCDR &,
+ const CORBA::BooleanSeq &
+ );
+
+CORBA::Boolean TAO_Export operator>> (
+ TAO_InputCDR &,
+ CORBA::BooleanSeq &
+ );
+
+#endif /* _TAO_CDR_OP_CORBA_BooleanSeq_I_ */
+
diff --git a/TAO/tao/BooleanSeqS.h b/TAO/tao/BooleanSeqS.h
new file mode 100644
index 00000000000..44d3b8c0c81
--- /dev/null
+++ b/TAO/tao/BooleanSeqS.h
@@ -0,0 +1,80 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-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:411
+
+#ifndef _TAO_IDL_ORIG_BOOLEANSEQS_H_
+#define _TAO_IDL_ORIG_BOOLEANSEQS_H_
+
+#include /**/ "ace/pre.h"
+
+#include "BooleanSeqC.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"
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_sh.cpp:49
+
+namespace POA_CORBA
+{
+
+// TAO_IDL - Generated from
+// w:\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_sh.cpp:80
+
+} // module CORBA
+
+// TAO_IDL - Generated from
+// .\be\be_codegen.cpp:1014
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include /**/ "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/tao.mpc b/TAO/tao/tao.mpc
index 5a14a574184..faa0c361875 100644
--- a/TAO/tao/tao.mpc
+++ b/TAO/tao/tao.mpc
@@ -135,6 +135,8 @@ project(TAO) : acelib, taoversion, core, tao_output, taodefaults, extra_core {
Dynamic_ParameterC.cpp
Dynamic_ParameterA.cpp
ParameterMode.cpp
+ BooleanSeqA.cpp
+ BooleanSeqC.cpp
FloatSeqA.cpp
FloatSeqC.cpp
OctetSeqA.cpp
@@ -271,6 +273,7 @@ project(TAO) : acelib, taoversion, core, tao_output, taodefaults, extra_core {
CONV_FRAMES.h
GIOPS.h
IOPS.h
+ BooleanSeqS.h
FloatSeqS.h
OctetSeqS.h
PolicyS.h