From 8a9e2e86cfda8de4b96f33cba6ea002bfc5083c0 Mon Sep 17 00:00:00 2001 From: schmidt Date: Mon, 28 Jun 1999 04:28:27 +0000 Subject: . --- TAO/tao/Sequence.i | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'TAO/tao/Sequence.i') diff --git a/TAO/tao/Sequence.i b/TAO/tao/Sequence.i index 3919730220a..d1c262251fd 100644 --- a/TAO/tao/Sequence.i +++ b/TAO/tao/Sequence.i @@ -189,24 +189,29 @@ TAO_Unbounded_String_Sequence (CORBA::ULong maximum, // **************************************************************** #if defined (TAO_NO_COPY_OCTET_SEQUENCES) + +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE CORBA::Octet * TAO_Unbounded_Sequence::allocbuf (CORBA::ULong size) { return new CORBA::Octet[size]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence::freebuf (CORBA::Octet *buffer) { delete [] buffer; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence::TAO_Unbounded_Sequence (void) : mb_ (0) { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence::TAO_Unbounded_Sequence (CORBA::ULong maximum) : TAO_Unbounded_Base_Sequence (maximum, @@ -215,6 +220,7 @@ TAO_Unbounded_Sequence::TAO_Unbounded_Sequence (CORBA::ULong maxim { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence::TAO_Unbounded_Sequence (CORBA::ULong maximum, CORBA::ULong length, @@ -225,6 +231,7 @@ TAO_Unbounded_Sequence::TAO_Unbounded_Sequence (CORBA::ULong maxim { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE const CORBA::Octet * TAO_Unbounded_Sequence::get_buffer (void) const { @@ -233,6 +240,7 @@ TAO_Unbounded_Sequence::get_buffer (void) const // This function is a little too big to be inlined, but some compilers // (Sun/CC 4.1?) die if it isn't :-( +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE CORBA::Octet * TAO_Unbounded_Sequence::get_buffer (CORBA::Boolean orphan) { @@ -283,6 +291,7 @@ TAO_Unbounded_Sequence::get_buffer (CORBA::Boolean orphan) return result; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE CORBA::Octet & TAO_Unbounded_Sequence::operator[] (CORBA::ULong i) { @@ -291,6 +300,7 @@ TAO_Unbounded_Sequence::operator[] (CORBA::ULong i) return tmp[i]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE const CORBA::Octet & TAO_Unbounded_Sequence::operator[] (CORBA::ULong i) const { @@ -299,12 +309,14 @@ TAO_Unbounded_Sequence::operator[] (CORBA::ULong i) const return tmp[i]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE ACE_Message_Block* TAO_Unbounded_Sequence::mb (void) const { return this->mb_; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence::replace (CORBA::ULong length, const ACE_Message_Block* mb) @@ -317,6 +329,7 @@ TAO_Unbounded_Sequence::replace (CORBA::ULong length, this->release_ = 0; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence::replace (CORBA::ULong max, CORBA::ULong length, -- cgit v1.2.1