summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-23 18:35:33 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-23 18:35:33 +0000
commit91cb7119da3c2ea3a0c92d500d513fc4df50d740 (patch)
tree957bc417481cb2c7f03e787538f462d7a84bca0a
parentc8741cc6ff3ac17f1d96c4b0bfa4e825f5dc4052 (diff)
downloadATCD-91cb7119da3c2ea3a0c92d500d513fc4df50d740.tar.gz
ChangeLogTag: Sun Mar 23 12:30:36 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog15
-rw-r--r--TAO/tao/Makefile.bor2
-rw-r--r--TAO/tao/Services.cpp574
-rw-r--r--TAO/tao/Services.h551
-rw-r--r--TAO/tao/Services.i1245
5 files changed, 16 insertions, 2371 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 6e4d9a20e33..887c759e8dd 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,18 @@
+Sun Mar 23 12:30:36 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * tao/Services.cpp:
+ * tao/Services.h:
+ * tao/Services.i:
+
+ Removed these files from the respository, since they are replaced by the
+ corresponding ServicesC.* file. Apparently during a recent branch merge
+ the removal of the above files was overlooked or otherwise derailed.
+
+ * tao/Makefile.bor:
+
+ Updated the Borland makefile to reflect the change above. Thanks to
+ Johnny Willemsen <jwillemsen@remedy.nl> for reporting the problem.
+
Sat Mar 22 19:52:58 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* tests/Collocation_Tests: New test for Collocation. This test has
diff --git a/TAO/tao/Makefile.bor b/TAO/tao/Makefile.bor
index 55a804838e5..b68f531addf 100644
--- a/TAO/tao/Makefile.bor
+++ b/TAO/tao/Makefile.bor
@@ -177,7 +177,7 @@ OBJFILES = \
$(OBJDIR)\Server_Strategy_Factory.obj \
$(OBJDIR)\Service_Callbacks.obj \
$(OBJDIR)\Service_Context.obj \
- $(OBJDIR)\Services.obj \
+ $(OBJDIR)\ServicesC.obj \
$(OBJDIR)\Services_Activate.obj \
$(OBJDIR)\StringSeqC.obj \
$(OBJDIR)\Stub.obj \
diff --git a/TAO/tao/Services.cpp b/TAO/tao/Services.cpp
deleted file mode 100644
index 0274298a804..00000000000
--- a/TAO/tao/Services.cpp
+++ /dev/null
@@ -1,574 +0,0 @@
-//$Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#include "tao/Services.h"
-#include "tao/CDR.h"
-#include "tao/Any.h"
-#include "tao/Environment.h"
-#include "tao/Typecode.h"
-#include "tao/ORB_Core.h"
-
-#if !defined (__ACE_INLINE__)
-#include "Services.i"
-#endif /* !defined INLINE */
-
-
-#if !defined (_CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CS_)
-#define _CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CS_
-
-// *************************************************************
-// CORBA::ServiceDetail::_tao_seq_Octet
-// *************************************************************
-
-CORBA::ServiceDetail::_tao_seq_Octet::_tao_seq_Octet (void)
-{}
-CORBA::ServiceDetail::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) // uses max size
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-CORBA::ServiceDetail::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max, CORBA::ULong length, CORBA::Octet *buffer, CORBA::Boolean release)
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-CORBA::ServiceDetail::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) // copy ctor
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-CORBA::ServiceDetail::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
-{}
-
-static const CORBA::Long _oc_CORBA_ServiceDetail__tao_seq_Octet[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0,
-};
-static CORBA::TypeCode _tc_TAO_tc_CORBA_ServiceDetail__tao_seq_Octet (CORBA::tk_sequence, sizeof (_oc_CORBA_ServiceDetail__tao_seq_Octet), (char *) &_oc_CORBA_ServiceDetail__tao_seq_Octet, 0, sizeof (CORBA::ServiceDetail::_tao_seq_Octet));
-CORBA::TypeCode_ptr CORBA::ServiceDetail::_tc__tao_seq_Octet = &_tc_TAO_tc_CORBA_ServiceDetail__tao_seq_Octet;
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CS_
-
- void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_allocate_buffer (CORBA::ULong length)
- {
- CORBA::ULong* tmp = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- CORBA::ULong *old = ACE_reinterpret_cast (CORBA::ULong *,this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp[i] = old[i];
-
- if (this->release_)
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (old);
-
- }
- this->buffer_ = tmp;
- }
-
- void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_deallocate_buffer (void)
- {
- if (this->buffer_ == 0 || this->release_ == 0)
- return;
-
- CORBA::ULong *tmp = ACE_reinterpret_cast (CORBA::ULong *,this->buffer_);
-
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (tmp);
- this->buffer_ = 0;
- }
-
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void) // Dtor.
- {
- this->_deallocate_buffer ();
- }
-
-
-#endif /* end #if !defined */
-
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CS_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CS_
-
-// *************************************************************
-// CORBA::ServiceInformation::_tao_seq_ServiceOption
-// *************************************************************
-
-CORBA::ServiceInformation::_tao_seq_ServiceOption::_tao_seq_ServiceOption (void)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceOption::_tao_seq_ServiceOption (CORBA::ULong max) // uses max size
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceOption::_tao_seq_ServiceOption (CORBA::ULong max, CORBA::ULong length, CORBA::ULong *buffer, CORBA::Boolean release)
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceOption::_tao_seq_ServiceOption (const _tao_seq_ServiceOption &seq) // copy ctor
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceOption::~_tao_seq_ServiceOption (void) // dtor
-{}
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CS_
-
- void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_allocate_buffer (CORBA::ULong length)
- {
- CORBA::ServiceDetail* tmp = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- CORBA::ServiceDetail *old = ACE_reinterpret_cast (CORBA::ServiceDetail *,this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp[i] = old[i];
-
- if (this->release_)
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (old);
-
- }
- this->buffer_ = tmp;
- }
-
- void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_deallocate_buffer (void)
- {
- if (this->buffer_ == 0 || this->release_ == 0)
- return;
-
- CORBA::ServiceDetail *tmp = ACE_reinterpret_cast (CORBA::ServiceDetail *,this->buffer_);
-
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (tmp);
- this->buffer_ = 0;
- }
-
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void) // Dtor.
- {
- this->_deallocate_buffer ();
- }
-
-
-#endif /* end #if !defined */
-
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CS_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CS_
-
-// *************************************************************
-// CORBA::ServiceInformation::_tao_seq_ServiceDetail
-// *************************************************************
-
-CORBA::ServiceInformation::_tao_seq_ServiceDetail::_tao_seq_ServiceDetail (void)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceDetail::_tao_seq_ServiceDetail (CORBA::ULong max) // uses max size
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ServiceDetail>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceDetail::_tao_seq_ServiceDetail (CORBA::ULong max, CORBA::ULong length, CORBA::ServiceDetail *buffer, CORBA::Boolean release)
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ServiceDetail>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceDetail::_tao_seq_ServiceDetail (const _tao_seq_ServiceDetail &seq) // copy ctor
- :
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ServiceDetail>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-CORBA::ServiceInformation::_tao_seq_ServiceDetail::~_tao_seq_ServiceDetail (void) // dtor
-{}
-
-
-#endif /* end #if !defined */
-
-void operator<<= (CORBA::Any &_tao_any, const CORBA::ServiceDetail &_tao_elem)
-{
- TAO_OutputCDR stream;
- stream << _tao_elem;
-
- _tao_any._tao_replace (CORBA::_tc_ServiceDetail,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ());
-}
-
-void CORBA::ServiceDetail::_tao_any_destructor (void *x)
-{
- CORBA::ServiceDetail *tmp = ACE_static_cast(CORBA::ServiceDetail*,x);
- delete tmp;
-}
-
-void operator<<= (CORBA::Any &_tao_any, CORBA::ServiceDetail *_tao_elem) // non copying
-{
- TAO_OutputCDR stream;
- stream << *_tao_elem;
-
- _tao_any._tao_replace (CORBA::_tc_ServiceDetail,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- CORBA::ServiceDetail::_tao_any_destructor);
-}
-
-CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::ServiceDetail *&_tao_elem)
-{
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
- if (!type->equal (CORBA::_tc_ServiceDetail ACE_ENV_ARG_PARAMETER)) return 0; // not equal
- ACE_TRY_CHECK;
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = (CORBA::ServiceDetail *)_tao_any.value ();
- return 1;
- }
- else
- {
- ACE_NEW_RETURN (_tao_elem, CORBA::ServiceDetail, 0);
- TAO_InputCDR stream (_tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ());
- if (stream >> *_tao_elem)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- CORBA::_tc_ServiceDetail,
- 1,
- _tao_elem,
- CORBA::ServiceDetail::_tao_any_destructor);
- return 1;
- }
- else
- {
- delete _tao_elem;
- }
- }
- }
- ACE_CATCHANY
- {
- delete _tao_elem;
- return 0;
- }
- ACE_ENDTRY;
- return 0;
-}
-
-void operator<<= (CORBA::Any &_tao_any, const CORBA::ServiceInformation &_tao_elem) // copying
-{
- TAO_OutputCDR stream;
- stream << _tao_elem;
-
- _tao_any._tao_replace (CORBA::_tc_ServiceInformation,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ());
-}
-
-void CORBA::ServiceInformation::_tao_any_destructor (void *x)
-{
- CORBA::ServiceInformation *tmp = ACE_static_cast(CORBA::ServiceInformation*,x);
- delete tmp;
-}
-
-void operator<<= (CORBA::Any &_tao_any, CORBA::ServiceInformation *_tao_elem) // non copying
-{
- TAO_OutputCDR stream;
- stream << *_tao_elem;
- _tao_any._tao_replace (CORBA::_tc_ServiceInformation,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- CORBA::ServiceInformation::_tao_any_destructor);
-}
-
-CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::ServiceInformation *&_tao_elem)
-{
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
- if (!type->equal (CORBA::_tc_ServiceInformation ACE_ENV_ARG_PARAMETER)) return 0; // not equal
- ACE_TRY_CHECK;
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = (CORBA::ServiceInformation *)_tao_any.value ();
- return 1;
- }
- else
- {
- ACE_NEW_RETURN (_tao_elem, CORBA::ServiceInformation, 0);
- TAO_InputCDR stream (_tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ());
- if (stream >> *_tao_elem)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- CORBA::_tc_ServiceInformation,
- 1,
- _tao_elem,
- CORBA::ServiceInformation::_tao_any_destructor);
- return 1;
- }
- else
- {
- delete _tao_elem;
- }
- }
- }
- ACE_CATCHANY
- {
- delete _tao_elem;
- return 0;
- }
- ACE_ENDTRY;
- return 0;
-}
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const CORBA::ServiceDetail::_tao_seq_Octet &_tao_sequence
- )
-{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_dynamic_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (CORBA::ServiceDetail::_tao_seq_Octet *)&_tao_sequence);
- if (oseq->mb ())
- return strm.write_octet_array_mb (oseq->mb ());
- else
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
-
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
-}
-
-CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::ServiceDetail::_tao_seq_Octet &_tao_sequence)
-{
- CORBA::ULong _tao_seq_len;
- if (strm >> _tao_seq_len)
- {
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // retrieve all the elements
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- if (ACE_BIT_DISABLED (strm.start ()->flags (),
- ACE_Message_Block::DONT_DELETE))
- {
- TAO_ORB_Core* orb_core = strm.orb_core ();
-
- if (orb_core != 0 &&
- strm.orb_core ()->resource_factory ()->
- input_cdr_allocator_type_locked () == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence);
- oseq->replace (_tao_seq_len, strm.start ());
- oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len);
- strm.skip_bytes (_tao_seq_len);
- return 1;
- }
- }
-
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
-
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
-}
-
-CORBA::Boolean
-operator<< (TAO_OutputCDR &strm, const CORBA::ServiceDetail &_tao_aggregate)
-{
- if (
- (strm << _tao_aggregate.service_detail_type) &&
- (strm << _tao_aggregate.service_detail)
- )
- return 1;
- else
- return 0;
-
-}
-
-CORBA::Boolean
-operator>> (TAO_InputCDR &strm, CORBA::ServiceDetail &_tao_aggregate)
-{
- if (
- (strm >> _tao_aggregate.service_detail_type) &&
- (strm >> _tao_aggregate.service_detail)
- )
- return 1;
- else
- return 0;
-
-}
-
-CORBA::Boolean
-operator<< (
- TAO_OutputCDR &strm,
- const CORBA::ServiceInformation::_tao_seq_ServiceOption &_tao_sequence
- )
-{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- return strm.write_ulong_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
- return 0; // error
-}
-
-CORBA::Boolean
-operator>> (TAO_InputCDR &strm,
- CORBA::ServiceInformation::_tao_seq_ServiceOption &_tao_sequence)
-{
- CORBA::ULong _tao_seq_len;
- if (strm >> _tao_seq_len)
- {
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // retrieve all the elements
- return strm.read_ulong_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
- return 0; // error
-}
-
-CORBA::Boolean
-operator<< (
- TAO_OutputCDR &strm,
- const CORBA::ServiceInformation::_tao_seq_ServiceDetail &_tao_sequence
- )
-{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- return _tao_marshal_flag;
- }
- return 0; // error
-}
-
-CORBA::Boolean
-operator>> (TAO_InputCDR &strm,
- CORBA::ServiceInformation::_tao_seq_ServiceDetail &_tao_sequence)
-{
- CORBA::ULong _tao_seq_len;
- if (strm >> _tao_seq_len)
- {
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- return _tao_marshal_flag;
- }
- return 0; // error
-}
-
-CORBA::Boolean
-operator<< (TAO_OutputCDR &strm,
- const CORBA::ServiceInformation &_tao_aggregate)
-{
- if (
- (strm << _tao_aggregate.service_options) &&
- (strm << _tao_aggregate.service_details)
- )
- return 1;
- else
- return 0;
-
-}
-
-CORBA::Boolean operator>> (TAO_InputCDR &strm,
- CORBA::ServiceInformation &_tao_aggregate)
-{
- if (
- (strm >> _tao_aggregate.service_options) &&
- (strm >> _tao_aggregate.service_details)
- )
- return 1;
- else
- return 0;
-
-}
diff --git a/TAO/tao/Services.h b/TAO/tao/Services.h
deleted file mode 100644
index 3f556d4000f..00000000000
--- a/TAO/tao/Services.h
+++ /dev/null
@@ -1,551 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Services.h
- *
- * $Id$
- *
- * Service_Detail stubs. This code generated by the The ACE ORB (TAO) IDL
- * Compiler and was then hand crafted
- */
-//=============================================================================
-
-
-#ifndef TAO_SERVICES_H
-#define TAO_SERVICES_H
-#include "ace/pre.h"
-
-#include "tao/Sequence.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#if defined(_MSC_VER)
-#if (_MSC_VER >= 1200)
-#pragma warning(push)
-#endif /* _MSC_VER >= 1200 */
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-namespace CORBA
-{
- /**
- * @class ServiceDetail
- *
- * @brief CORBA::ServiceDetail implementation.
- *
- * CORBA::ServiceDetail implementation.
- */
- struct TAO_Export ServiceDetail
- {
- static void _tao_any_destructor (void*);
-
- CORBA::ServiceDetailType service_detail_type;
-
-#if !defined (_CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CH_)
-#define _CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CH_
-
- // *************************************************************
- // _tao_seq_Octet
- // *************************************************************
-
- class _tao_seq_Octet : public TAO_Unbounded_Sequence<CORBA::Octet>
- {
- public:
- _tao_seq_Octet (void); // default ctor
- _tao_seq_Octet (CORBA::ULong max); // uses max size
- _tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release=0
- );
- _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
- virtual ~_tao_seq_Octet (void); // dtor
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- _tao_seq_Octet (
- CORBA::ULong length,
- const ACE_Message_Block* mb
- )
- : TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
-#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
- };
-
- static CORBA::TypeCode_ptr _tc__tao_seq_Octet;
-#endif /* end #if !defined */
-
-#if !defined (_CORBA_SERVICEDETAIL__TAO_SEQ_OCTET___VAR_CH_)
-#define _CORBA_SERVICEDETAIL__TAO_SEQ_OCTET___VAR_CH_
-
- // *************************************************************
- // class CORBA::ServiceDetail::_tao_seq_Octet_var
- // *************************************************************
-
- class _tao_seq_Octet_var
- {
- public:
- _tao_seq_Octet_var (void); // default constructor
- _tao_seq_Octet_var (_tao_seq_Octet *);
- _tao_seq_Octet_var (const _tao_seq_Octet_var &); // copy constructor
- ~_tao_seq_Octet_var (void); // destructor
-
- _tao_seq_Octet_var &operator= (_tao_seq_Octet *);
- _tao_seq_Octet_var &operator= (const _tao_seq_Octet_var &);
- _tao_seq_Octet *operator-> (void);
- const _tao_seq_Octet *operator-> (void) const;
-
- operator const _tao_seq_Octet &() const;
- operator _tao_seq_Octet &();
- operator _tao_seq_Octet &() const;
- CORBA::Octet &operator[] (CORBA::ULong slot);
- // in, inout, out, _retn
- const _tao_seq_Octet &in (void) const;
- _tao_seq_Octet &inout (void);
- _tao_seq_Octet *&out (void);
- _tao_seq_Octet *_retn (void);
- _tao_seq_Octet *ptr (void) const;
-
- private:
- _tao_seq_Octet *ptr_;
- };
-
-#endif /* end #if !defined */
-
-
-#if !defined (_CORBA_SERVICEDETAIL__TAO_SEQ_OCTET___OUT_CH_)
-#define _CORBA_SERVICEDETAIL__TAO_SEQ_OCTET___OUT_CH_
-
- class _tao_seq_Octet_out
- {
- public:
- _tao_seq_Octet_out (_tao_seq_Octet *&);
- _tao_seq_Octet_out (_tao_seq_Octet_var &);
- _tao_seq_Octet_out (const _tao_seq_Octet_out &);
- _tao_seq_Octet_out &operator= (const _tao_seq_Octet_out &);
- _tao_seq_Octet_out &operator= (_tao_seq_Octet *);
- operator _tao_seq_Octet *&();
- _tao_seq_Octet *&ptr (void);
- _tao_seq_Octet *operator-> (void);
- CORBA::Octet &operator[] (CORBA::ULong slot);
-
- private:
- _tao_seq_Octet *&ptr_;
- // assignment from T_var not allowed
- void operator= (const _tao_seq_Octet_var &);
- };
-
-
-#endif /* end #if !defined */
-
- _tao_seq_Octet service_detail;
- };
-
- class ServiceDetail_var
- {
- public:
- ServiceDetail_var (void); // default constructor
- ServiceDetail_var (ServiceDetail *);
- ServiceDetail_var (const ServiceDetail_var &); // copy constructor
- ~ServiceDetail_var (void); // destructor
-
- ServiceDetail_var &operator= (ServiceDetail *);
- ServiceDetail_var &operator= (const ServiceDetail_var &);
- ServiceDetail *operator-> (void);
- const ServiceDetail *operator-> (void) const;
-
- /// in, inout, out, _retn
- operator const ServiceDetail &() const;
- operator ServiceDetail &();
- operator ServiceDetail &() const;
- const ServiceDetail &in (void) const;
- ServiceDetail &inout (void);
- ServiceDetail *&out (void);
- ServiceDetail *_retn (void);
- ServiceDetail *ptr (void) const;
-
- private:
- ServiceDetail *ptr_;
- };
-
- class ServiceDetail_out
- {
- public:
- ServiceDetail_out (ServiceDetail *&);
- ServiceDetail_out (ServiceDetail_var &);
- ServiceDetail_out (const ServiceDetail_out &);
- ServiceDetail_out &operator= (const ServiceDetail_out &);
- ServiceDetail_out &operator= (ServiceDetail *);
- operator ServiceDetail *&();
- ServiceDetail *&ptr (void);
- ServiceDetail *operator-> (void);
-
- private:
- /// assignment from T_var not allowed
- ServiceDetail *&ptr_;
- void operator= (const ServiceDetail_var &);
- };
-
- struct ServiceInformation
- {
- static void _tao_any_destructor (void*);
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_
-
- class _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption : public TAO_Unbounded_Base_Sequence
- {
- public:
- // = Initialization and termination methods.
-
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void); // Default constructor.
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum,
- CORBA::ULong length,
- CORBA::ULong *data,
- CORBA::Boolean release = 0);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption & rhs);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &operator= (const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs);
- virtual ~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void); // Dtor.
-
- // = Accessors.
- CORBA::ULong &operator[] (CORBA::ULong i);
- const CORBA::ULong &operator[] (CORBA::ULong i) const;
- // = Static operations.
- static CORBA::ULong *allocbuf (CORBA::ULong size);
- static void freebuf (CORBA::ULong *buffer);
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
-
- CORBA::ULong *get_buffer (CORBA::Boolean orphan = 0);
- const CORBA::ULong *get_buffer (void) const;
- void replace (CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ULong *data,
- CORBA::Boolean release);
- };
-
-#endif /* end #if !defined */
-
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_
-
- // *************************************************************
- // _tao_seq_ServiceOption
- // *************************************************************
-
- class _tao_seq_ServiceOption : public
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_ServiceOption (void); // default ctor
- _tao_seq_ServiceOption (CORBA::ULong max); // uses max size
- _tao_seq_ServiceOption (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ULong *buffer,
- CORBA::Boolean release=0
- );
- _tao_seq_ServiceOption (const _tao_seq_ServiceOption &); // copy ctor
- ~_tao_seq_ServiceOption (void); // dtor
- };
- typedef _tao_seq_ServiceOption *_tao_seq_ServiceOption_ptr;
- static CORBA::TypeCode_ptr _tc__tao_seq_ServiceOption;
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION___VAR_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION___VAR_CH_
-
- // *************************************************************
- // class CORBA::ServiceInformation::_tao_seq_ServiceOption_var
- // *************************************************************
-
- class _tao_seq_ServiceOption_var
- {
- public:
- _tao_seq_ServiceOption_var (void); // default constructor
- _tao_seq_ServiceOption_var (_tao_seq_ServiceOption *);
- _tao_seq_ServiceOption_var (const _tao_seq_ServiceOption_var &); // copy constructor
- ~_tao_seq_ServiceOption_var (void); // destructor
- _tao_seq_ServiceOption_var &operator= (_tao_seq_ServiceOption *);
- _tao_seq_ServiceOption_var &operator= (const _tao_seq_ServiceOption_var &);
- _tao_seq_ServiceOption *operator-> (void);
- const _tao_seq_ServiceOption *operator-> (void) const;
-
- operator const _tao_seq_ServiceOption &() const;
- operator _tao_seq_ServiceOption &();
- operator _tao_seq_ServiceOption &() const;
- CORBA::ServiceOption &operator[] (CORBA::ULong slot);
- // in, inout, out, _retn
- const _tao_seq_ServiceOption &in (void) const;
- _tao_seq_ServiceOption &inout (void);
- _tao_seq_ServiceOption *&out (void);
- _tao_seq_ServiceOption *_retn (void);
- _tao_seq_ServiceOption *ptr (void) const;
-
- private:
- _tao_seq_ServiceOption *ptr_;
- };
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION___OUT_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION___OUT_CH_
-
- class _tao_seq_ServiceOption_out
- {
- public:
- _tao_seq_ServiceOption_out (_tao_seq_ServiceOption *&);
- _tao_seq_ServiceOption_out (_tao_seq_ServiceOption_var &);
- _tao_seq_ServiceOption_out (const _tao_seq_ServiceOption_out &);
- _tao_seq_ServiceOption_out &operator= (const _tao_seq_ServiceOption_out &);
- _tao_seq_ServiceOption_out &operator= (_tao_seq_ServiceOption *);
- operator _tao_seq_ServiceOption *&();
- _tao_seq_ServiceOption *&ptr (void);
- _tao_seq_ServiceOption *operator-> (void);
- CORBA::ServiceOption &operator[] (CORBA::ULong slot);
- private:
- _tao_seq_ServiceOption *&ptr_;
- // assignment from T_var not allowed
- void operator= (const _tao_seq_ServiceOption_var &);
- };
-
-
-#endif /* end #if !defined */
-
- _tao_seq_ServiceOption service_options;
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_
-
- class _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail : public TAO_Unbounded_Base_Sequence
- {
- public:
- // = Initialization and termination methods.
-
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void); // Default constructor.
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum,
- CORBA::ULong length,
- CORBA::ServiceDetail *data,
- CORBA::Boolean release = 0);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail & rhs);
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &operator= (const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs);
- virtual ~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void); // Dtor.
- // = Accessors.
- CORBA::ServiceDetail &operator[] (CORBA::ULong i);
- const CORBA::ServiceDetail &operator[] (CORBA::ULong i) const;
- // = Static operations.
- static CORBA::ServiceDetail *allocbuf (CORBA::ULong size);
- static void freebuf (CORBA::ServiceDetail *buffer);
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
-
- CORBA::ServiceDetail *get_buffer (CORBA::Boolean orphan = 0);
- const CORBA::ServiceDetail *get_buffer (void) const;
- void replace (CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ServiceDetail *data,
- CORBA::Boolean release);
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_
-
- // *************************************************************
- // _tao_seq_ServiceDetail
- // *************************************************************
-
- class _tao_seq_ServiceDetail : public
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::ServiceDetail>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_ServiceDetail (void); // default ctor
- _tao_seq_ServiceDetail (CORBA::ULong max); // uses max size
- _tao_seq_ServiceDetail (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ServiceDetail *buffer,
- CORBA::Boolean release=0
- );
- _tao_seq_ServiceDetail (const _tao_seq_ServiceDetail &); // copy ctor
- ~_tao_seq_ServiceDetail (void); // dtor
- };
- typedef _tao_seq_ServiceDetail *_tao_seq_ServiceDetail_ptr;
- static CORBA::TypeCode_ptr _tc__tao_seq_ServiceDetail;
-
-
-#endif /* end #if !defined */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL___VAR_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL___VAR_CH_
-
- // *************************************************************
- // class CORBA::ServiceInformation::_tao_seq_ServiceDetail_var
- // *************************************************************
-
- class _tao_seq_ServiceDetail_var
- {
- public:
- _tao_seq_ServiceDetail_var (void); // default constructor
- _tao_seq_ServiceDetail_var (_tao_seq_ServiceDetail *);
- _tao_seq_ServiceDetail_var (const _tao_seq_ServiceDetail_var &); // copy constructor
- ~_tao_seq_ServiceDetail_var (void); // destructor
-
- _tao_seq_ServiceDetail_var &operator= (_tao_seq_ServiceDetail *);
- _tao_seq_ServiceDetail_var &operator= (const _tao_seq_ServiceDetail_var &);
- _tao_seq_ServiceDetail *operator-> (void);
- const _tao_seq_ServiceDetail *operator-> (void) const;
-
- operator const _tao_seq_ServiceDetail &() const;
- operator _tao_seq_ServiceDetail &();
- operator _tao_seq_ServiceDetail &() const;
- CORBA::ServiceDetail &operator[] (CORBA::ULong slot);
- // in, inout, out, _retn
- const _tao_seq_ServiceDetail &in (void) const;
- _tao_seq_ServiceDetail &inout (void);
- _tao_seq_ServiceDetail *&out (void);
- _tao_seq_ServiceDetail *_retn (void);
- _tao_seq_ServiceDetail *ptr (void) const;
-
- private:
- _tao_seq_ServiceDetail *ptr_;
- };
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL___OUT_CH_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL___OUT_CH_
-
- class _tao_seq_ServiceDetail_out
- {
- public:
- _tao_seq_ServiceDetail_out (_tao_seq_ServiceDetail *&);
- _tao_seq_ServiceDetail_out (_tao_seq_ServiceDetail_var &);
- _tao_seq_ServiceDetail_out (const _tao_seq_ServiceDetail_out &);
- _tao_seq_ServiceDetail_out &operator= (const _tao_seq_ServiceDetail_out &);
- _tao_seq_ServiceDetail_out &operator= (_tao_seq_ServiceDetail *);
- operator _tao_seq_ServiceDetail *&();
- _tao_seq_ServiceDetail *&ptr (void);
- _tao_seq_ServiceDetail *operator-> (void);
- CORBA::ServiceDetail &operator[] (CORBA::ULong slot);
-
- private:
- _tao_seq_ServiceDetail *&ptr_;
- // assignment from T_var not allowed
- void operator= (const _tao_seq_ServiceDetail_var &);
- };
-
-
-#endif /* end #if !defined */
-
- _tao_seq_ServiceDetail service_details;
- };
-
-
- class ServiceInformation_var
- {
- public:
- ServiceInformation_var (void); // default constructor
- ServiceInformation_var (ServiceInformation *);
- ServiceInformation_var (const ServiceInformation_var &); // copy constructor
- ~ServiceInformation_var (void); // destructor
-
- ServiceInformation_var &operator= (ServiceInformation *);
- ServiceInformation_var &operator= (const ServiceInformation_var &);
- ServiceInformation *operator-> (void);
- const ServiceInformation *operator-> (void) const;
-
- /// in, inout, out, _retn
- operator const ServiceInformation &() const;
- operator ServiceInformation &();
- operator ServiceInformation &() const;
- const ServiceInformation &in (void) const;
- ServiceInformation &inout (void);
- ServiceInformation *&out (void);
- ServiceInformation *_retn (void);
- ServiceInformation *ptr (void) const;
-
- private:
- ServiceInformation *ptr_;
- };
-
- class ServiceInformation_out
- {
- public:
- ServiceInformation_out (ServiceInformation *&);
- ServiceInformation_out (ServiceInformation_var &);
- ServiceInformation_out (const ServiceInformation_out &);
- ServiceInformation_out &operator= (const ServiceInformation_out &);
- ServiceInformation_out &operator= (ServiceInformation *);
-
- operator ServiceInformation *&();
- ServiceInformation *&ptr (void);
- ServiceInformation *operator-> (void);
-
- private:
- /// assignment from T_var not allowed
- ServiceInformation *&ptr_;
- void operator= (const ServiceInformation_var &);
- };
-} // End namespace CORBA
-
-void operator<<= (CORBA::Any &, const CORBA::ServiceDetail &); // copying version
-void operator<<= (CORBA::Any &, CORBA::ServiceDetail*); // noncopying version
- CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::ServiceDetail *&);
-void operator<<= (CORBA::Any &, const CORBA::ServiceInformation &); // copying version
-void operator<<= (CORBA::Any &, CORBA::ServiceInformation*); // noncopying version
-CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::ServiceInformation *&);
-
-CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceDetail &); //
-CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceDetail &);
-CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceDetail::_tao_seq_Octet &); //
-CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceDetail::_tao_seq_Octet &);
-
-CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceInformation &);
-CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceInformation &);
-CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceInformation::_tao_seq_ServiceOption &);
-CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceInformation::_tao_seq_ServiceOption &);
-CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ServiceInformation::_tao_seq_ServiceDetail &);
-CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ServiceInformation::_tao_seq_ServiceDetail &);
-
-#if defined (__ACE_INLINE__)
-#include "tao/Services.i"
-#endif /* defined INLINE */
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#include "ace/post.h"
-#endif /* TAO_SERVICES_H */
diff --git a/TAO/tao/Services.i b/TAO/tao/Services.i
deleted file mode 100644
index 2c1771b30ad..00000000000
--- a/TAO/tao/Services.i
+++ /dev/null
@@ -1,1245 +0,0 @@
-// -*- C++ -*-
-//
-//$Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceDetail_var
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceDetail_var::ServiceDetail_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-CORBA::ServiceDetail_var::ServiceDetail_var ( CORBA::ServiceDetail *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-CORBA::ServiceDetail_var::ServiceDetail_var (const CORBA::ServiceDetail_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new CORBA::ServiceDetail(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_var::~ServiceDetail_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail_var &
- CORBA::ServiceDetail_var::operator= ( CORBA::ServiceDetail *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceDetail_var &
- CORBA::ServiceDetail_var::operator= (const CORBA::ServiceDetail_var &p)
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new CORBA::ServiceDetail (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const CORBA::ServiceDetail *
- CORBA::ServiceDetail_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail *
- CORBA::ServiceDetail_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_var::operator const CORBA::ServiceDetail &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_var::operator CORBA::ServiceDetail &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_var::operator CORBA::ServiceDetail &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE const CORBA::ServiceDetail &
- CORBA::ServiceDetail_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail &
- CORBA::ServiceDetail_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE CORBA::ServiceDetail *&
- CORBA::ServiceDetail_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail *
- CORBA::ServiceDetail_var::_retn (void)
-{
- CORBA::ServiceDetail *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE CORBA::ServiceDetail *
- CORBA::ServiceDetail_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceDetail_out
-// *************************************************************
-
-ACE_INLINE
- CORBA::ServiceDetail_out::ServiceDetail_out ( CORBA::ServiceDetail *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_out::ServiceDetail_out ( CORBA::ServiceDetail_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
- CORBA::ServiceDetail_out::ServiceDetail_out (const CORBA::ServiceDetail_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA::ServiceDetail_out&,p).ptr_)
-{}
-
-ACE_INLINE CORBA::ServiceDetail_out &
- CORBA::ServiceDetail_out::operator= (const CORBA::ServiceDetail_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA::ServiceDetail_out&,p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceDetail_out &
-CORBA::ServiceDetail_out::operator= (CORBA::ServiceDetail *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail_out::operator CORBA::ServiceDetail *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail *&
-CORBA::ServiceDetail_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail *
-CORBA::ServiceDetail_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-#if !defined (_CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CI_)
-#define _CORBA_SERVICEDETAIL__TAO_SEQ_OCTET_CI_
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceDetail::_tao_seq_Octet_var
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::_tao_seq_Octet_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::_tao_seq_Octet_var (CORBA::ServiceDetail::_tao_seq_Octet *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::_tao_seq_Octet_var (const CORBA::ServiceDetail::_tao_seq_Octet_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new CORBA::ServiceDetail::_tao_seq_Octet(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::~_tao_seq_Octet_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet_var &
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator= (CORBA::ServiceDetail::_tao_seq_Octet *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet_var &
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator= (const CORBA::ServiceDetail::_tao_seq_Octet_var &p) // deep copy
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new CORBA::ServiceDetail::_tao_seq_Octet (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const CORBA::ServiceDetail::_tao_seq_Octet *
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator const CORBA::ServiceDetail::_tao_seq_Octet &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator CORBA::ServiceDetail::_tao_seq_Octet &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator CORBA::ServiceDetail::_tao_seq_Octet &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-CORBA::ServiceDetail::_tao_seq_Octet_var::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-ACE_INLINE const CORBA::ServiceDetail::_tao_seq_Octet &
-CORBA::ServiceDetail::_tao_seq_Octet_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet &
-CORBA::ServiceDetail::_tao_seq_Octet_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *&
-CORBA::ServiceDetail::_tao_seq_Octet_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *
-CORBA::ServiceDetail::_tao_seq_Octet_var::_retn (void)
-{
- CORBA::ServiceDetail::_tao_seq_Octet *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *
-CORBA::ServiceDetail::_tao_seq_Octet_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceDetail::_tao_seq_Octet_out
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_out::_tao_seq_Octet_out (CORBA::ServiceDetail::_tao_seq_Octet *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_out::_tao_seq_Octet_out (CORBA::ServiceDetail::_tao_seq_Octet_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_out::_tao_seq_Octet_out (const CORBA::ServiceDetail::_tao_seq_Octet_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA::ServiceDetail::_tao_seq_Octet_out&,p).ptr_)
-{}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet_out &
-CORBA::ServiceDetail::_tao_seq_Octet_out::operator= (const CORBA::ServiceDetail::_tao_seq_Octet_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA::ServiceDetail::_tao_seq_Octet_out&,p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet_out &
-CORBA::ServiceDetail::_tao_seq_Octet_out::operator= (CORBA::ServiceDetail::_tao_seq_Octet *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA::ServiceDetail::_tao_seq_Octet_out::operator CORBA::ServiceDetail::_tao_seq_Octet *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *&
-CORBA::ServiceDetail::_tao_seq_Octet_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail::_tao_seq_Octet *
-CORBA::ServiceDetail::_tao_seq_Octet_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::Octet &
-CORBA::ServiceDetail::_tao_seq_Octet_out::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-
-#endif /* end #if !defined */
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation_var
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation_var::ServiceInformation_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::ServiceInformation_var (CORBA::ServiceInformation *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::ServiceInformation_var (const CORBA::ServiceInformation_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new CORBA::ServiceInformation(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::~ServiceInformation_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation_var &
-CORBA::ServiceInformation_var::operator= (CORBA::ServiceInformation *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation_var &
-CORBA::ServiceInformation_var::operator= (const CORBA::ServiceInformation_var &p)
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new CORBA::ServiceInformation (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const CORBA::ServiceInformation *
-CORBA::ServiceInformation_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation *
-CORBA::ServiceInformation_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::operator const CORBA::ServiceInformation &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::operator CORBA::ServiceInformation &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_var::operator CORBA::ServiceInformation &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE const CORBA::ServiceInformation &
-CORBA::ServiceInformation_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation &
-CORBA::ServiceInformation_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE CORBA::ServiceInformation *&
-CORBA::ServiceInformation_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation *
-CORBA::ServiceInformation_var::_retn (void)
-{
- CORBA::ServiceInformation *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE CORBA::ServiceInformation *
-CORBA::ServiceInformation_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation_out
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation_out::ServiceInformation_out (CORBA::ServiceInformation *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_out::ServiceInformation_out (CORBA::ServiceInformation_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_out::ServiceInformation_out (const CORBA::ServiceInformation_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA::ServiceInformation_out&,p).ptr_)
-{}
-
-ACE_INLINE CORBA::ServiceInformation_out &
-CORBA::ServiceInformation_out::operator= (const CORBA::ServiceInformation_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA::ServiceInformation_out&,p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation_out &
-CORBA::ServiceInformation_out::operator= (CORBA::ServiceInformation *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation_out::operator CORBA::ServiceInformation *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation *&
-CORBA::ServiceInformation_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation *
-CORBA::ServiceInformation_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_
-
- // = Static operations.
- ACE_INLINE CORBA::ULong *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (CORBA::ULong size)
- // Allocate storage for the sequence.
- {
- return new CORBA::ULong[size];
- }
-
- ACE_INLINE void CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (CORBA::ULong *buffer)
- // Free the sequence.
- {
- delete [] buffer;
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void) // Default constructor.
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum) // Constructor using a maximum length value.
- : TAO_Unbounded_Base_Sequence (maximum, CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (maximum))
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum,
- CORBA::ULong length,
- CORBA::ULong *data,
- CORBA::Boolean release)
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs)
- // Copy constructor.
- : TAO_Unbounded_Base_Sequence (rhs)
- {
- CORBA::ULong *tmp1 = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (this->maximum_);
- CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
-
- this->buffer_ = tmp1;
- }
-
- ACE_INLINE CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator= (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs)
- // Assignment operator.
- {
- if (this == &rhs)
- return *this;
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // free the old buffer
- CORBA::ULong *tmp = ACE_reinterpret_cast (CORBA::ULong *, this->buffer_);
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (tmp);
- this->buffer_ = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (rhs.maximum_);
- }
- }
- else
- this->buffer_ = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (rhs.maximum_);
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- CORBA::ULong *tmp1 = ACE_reinterpret_cast (CORBA::ULong *, this->buffer_);
- CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
-
- return *this;
- }
-
- // = Accessors.
- ACE_INLINE CORBA::ULong &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator[] (CORBA::ULong i)
- // operator []
- {
- ACE_ASSERT (i < this->maximum_);
- CORBA::ULong* tmp = ACE_reinterpret_cast(CORBA::ULong*,this->buffer_);
- return tmp[i];
- }
-
- ACE_INLINE const CORBA::ULong &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator[] (CORBA::ULong i) const
- // operator []
- {
- ACE_ASSERT (i < this->maximum_);
- CORBA::ULong * const tmp = ACE_reinterpret_cast (CORBA::ULong* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
- }
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
-
- ACE_INLINE CORBA::ULong *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::get_buffer (CORBA::Boolean orphan)
- {
- CORBA::ULong *result = 0;
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result = ACE_reinterpret_cast (CORBA::ULong*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish
- // ownership.
- result = ACE_reinterpret_cast(CORBA::ULong*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
- return result;
- }
-
- ACE_INLINE const CORBA::ULong *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::get_buffer (void) const
- {
- return ACE_reinterpret_cast(const CORBA::ULong * ACE_CAST_CONST, this->buffer_);
- }
-
- ACE_INLINE void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::replace (CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ULong *data,
- CORBA::Boolean release)
- {
- this->maximum_ = max;
- this->length_ = length;
- if (this->buffer_ && this->release_ == 1)
- {
- CORBA::ULong *tmp = ACE_reinterpret_cast(CORBA::ULong*,this->buffer_);
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (tmp);
- }
- this->buffer_ = data;
- this->release_ = release;
- }
-
-#endif /* end #if !defined */
-
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation::_tao_seq_ServiceOption_var
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::_tao_seq_ServiceOption_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::_tao_seq_ServiceOption_var (CORBA::ServiceInformation::_tao_seq_ServiceOption *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::_tao_seq_ServiceOption_var (const CORBA::ServiceInformation::_tao_seq_ServiceOption_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new CORBA::ServiceInformation::_tao_seq_ServiceOption(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::~_tao_seq_ServiceOption_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption_var &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator= (CORBA::ServiceInformation::_tao_seq_ServiceOption *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption_var &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator= (const CORBA::ServiceInformation::_tao_seq_ServiceOption_var &p) // deep copy
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new CORBA::ServiceInformation::_tao_seq_ServiceOption (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const CORBA::ServiceInformation::_tao_seq_ServiceOption *
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator const CORBA::ServiceInformation::_tao_seq_ServiceOption &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA::ServiceInformation::_tao_seq_ServiceOption &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA::ServiceInformation::_tao_seq_ServiceOption &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceOption &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-ACE_INLINE const CORBA::ServiceInformation::_tao_seq_ServiceOption &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *&
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::_retn (void)
-{
- CORBA::ServiceInformation::_tao_seq_ServiceOption *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *
-CORBA::ServiceInformation::_tao_seq_ServiceOption_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation::_tao_seq_ServiceOption_out
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::_tao_seq_ServiceOption_out (CORBA::ServiceInformation::_tao_seq_ServiceOption *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::_tao_seq_ServiceOption_out (CORBA::ServiceInformation::_tao_seq_ServiceOption_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::_tao_seq_ServiceOption_out (const CORBA::ServiceInformation::_tao_seq_ServiceOption_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA::ServiceInformation::_tao_seq_ServiceOption_out&,p).ptr_)
-{}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption_out &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::operator= (const CORBA::ServiceInformation::_tao_seq_ServiceOption_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA::ServiceInformation::_tao_seq_ServiceOption_out&,p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption_out &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::operator= (CORBA::ServiceInformation::_tao_seq_ServiceOption *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::operator CORBA::ServiceInformation::_tao_seq_ServiceOption *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *&
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceOption *
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceOption &
-CORBA::ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_
-
- // = Static operations.
- ACE_INLINE CORBA::ServiceDetail *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (CORBA::ULong size)
- // Allocate storage for the sequence.
- {
- return new CORBA::ServiceDetail[size];
- }
-
- ACE_INLINE void CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (CORBA::ServiceDetail *buffer)
- // Free the sequence.
- {
- delete [] buffer;
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void) // Default constructor.
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum) // Constructor using a maximum length value.
- : TAO_Unbounded_Base_Sequence (maximum, CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (maximum))
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum,
- CORBA::ULong length,
- CORBA::ServiceDetail *data,
- CORBA::Boolean release)
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
- {
- }
-
- ACE_INLINE
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs)
- // Copy constructor.
- : TAO_Unbounded_Base_Sequence (rhs)
- {
- CORBA::ServiceDetail *tmp1 = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (this->maximum_);
- CORBA::ServiceDetail * const tmp2 = ACE_reinterpret_cast (CORBA::ServiceDetail * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
-
- this->buffer_ = tmp1;
- }
-
- ACE_INLINE CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator= (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs)
- // Assignment operator.
- {
- if (this == &rhs)
- return *this;
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // free the old buffer
- CORBA::ServiceDetail *tmp = ACE_reinterpret_cast (CORBA::ServiceDetail *, this->buffer_);
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (tmp);
- this->buffer_ = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (rhs.maximum_);
- }
- }
- else
- this->buffer_ = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (rhs.maximum_);
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- CORBA::ServiceDetail *tmp1 = ACE_reinterpret_cast (CORBA::ServiceDetail *, this->buffer_);
- CORBA::ServiceDetail * const tmp2 = ACE_reinterpret_cast (CORBA::ServiceDetail * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
-
- return *this;
- }
-
- // = Accessors.
- ACE_INLINE CORBA::ServiceDetail &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator[] (CORBA::ULong i)
- // operator []
- {
- ACE_ASSERT (i < this->maximum_);
- CORBA::ServiceDetail* tmp = ACE_reinterpret_cast(CORBA::ServiceDetail*,this->buffer_);
- return tmp[i];
- }
-
- ACE_INLINE const CORBA::ServiceDetail &
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator[] (CORBA::ULong i) const
- // operator []
- {
- ACE_ASSERT (i < this->maximum_);
- CORBA::ServiceDetail * const tmp = ACE_reinterpret_cast (CORBA::ServiceDetail* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
- }
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
-
- ACE_INLINE CORBA::ServiceDetail *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::get_buffer (CORBA::Boolean orphan)
- {
- CORBA::ServiceDetail *result = 0;
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result = CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result = ACE_reinterpret_cast (CORBA::ServiceDetail*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish
- // ownership.
- result = ACE_reinterpret_cast(CORBA::ServiceDetail*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
- return result;
- }
-
- ACE_INLINE const CORBA::ServiceDetail *
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::get_buffer (void) const
- {
- return ACE_reinterpret_cast(const CORBA::ServiceDetail * ACE_CAST_CONST, this->buffer_);
- }
-
- ACE_INLINE void
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::replace (CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ServiceDetail *data,
- CORBA::Boolean release)
- {
- this->maximum_ = max;
- this->length_ = length;
- if (this->buffer_ && this->release_ == 1)
- {
- CORBA::ServiceDetail *tmp = ACE_reinterpret_cast(CORBA::ServiceDetail*,this->buffer_);
- CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (tmp);
- }
- this->buffer_ = data;
- this->release_ = release;
- }
-
-#endif /* end #if !defined */
-
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_)
-#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation::_tao_seq_ServiceDetail_var
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::_tao_seq_ServiceDetail_var (void) // default constructor
- : ptr_ (0)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::_tao_seq_ServiceDetail_var (CORBA::ServiceInformation::_tao_seq_ServiceDetail *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::_tao_seq_ServiceDetail_var (const CORBA::ServiceInformation::_tao_seq_ServiceDetail_var &p) // copy constructor
-{
- if (p.ptr_)
- this->ptr_ = new CORBA::ServiceInformation::_tao_seq_ServiceDetail(*p.ptr_);
- else
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::~_tao_seq_ServiceDetail_var (void) // destructor
-{
- delete this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail_var &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator= (CORBA::ServiceInformation::_tao_seq_ServiceDetail *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail_var &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator= (const CORBA::ServiceInformation::_tao_seq_ServiceDetail_var &p) // deep copy
-{
- if (this != &p)
- {
- delete this->ptr_;
- this->ptr_ = new CORBA::ServiceInformation::_tao_seq_ServiceDetail (*p.ptr_);
- }
- return *this;
-}
-
-ACE_INLINE const CORBA::ServiceInformation::_tao_seq_ServiceDetail *
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator const CORBA::ServiceInformation::_tao_seq_ServiceDetail &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA::ServiceInformation::_tao_seq_ServiceDetail &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA::ServiceInformation::_tao_seq_ServiceDetail &() const// cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-ACE_INLINE const CORBA::ServiceInformation::_tao_seq_ServiceDetail &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for variable size
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *&
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::_retn (void)
-{
- CORBA::ServiceInformation::_tao_seq_ServiceDetail *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// *************************************************************
-// Inline operations for class CORBA::ServiceInformation::_tao_seq_ServiceDetail_out
-// *************************************************************
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::_tao_seq_ServiceDetail_out (CORBA::ServiceInformation::_tao_seq_ServiceDetail *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::_tao_seq_ServiceDetail_out (CORBA::ServiceInformation::_tao_seq_ServiceDetail_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::_tao_seq_ServiceDetail_out (const CORBA::ServiceInformation::_tao_seq_ServiceDetail_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA::ServiceInformation::_tao_seq_ServiceDetail_out&,p).ptr_)
-{}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail_out &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::operator= (const CORBA::ServiceInformation::_tao_seq_ServiceDetail_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA::ServiceInformation::_tao_seq_ServiceDetail_out&,p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail_out &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::operator= (CORBA::ServiceInformation::_tao_seq_ServiceDetail *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::operator CORBA::ServiceInformation::_tao_seq_ServiceDetail *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *&
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceInformation::_tao_seq_ServiceDetail *
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE CORBA::ServiceDetail &
-CORBA::ServiceInformation::_tao_seq_ServiceDetail_out::operator[] (CORBA::ULong slot)
-{
- return this->ptr_->operator[] (slot);
-}
-
-
-#endif /* end #if !defined */