diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-28 04:28:27 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-28 04:28:27 +0000 |
commit | 8a9e2e86cfda8de4b96f33cba6ea002bfc5083c0 (patch) | |
tree | 55428b646361b006afdc0a913166ff7816098a45 /TAO/tao/Sequence.i | |
parent | ac1b8040446001bbf754b8b4f46780a04b72d5f9 (diff) | |
download | ATCD-8a9e2e86cfda8de4b96f33cba6ea002bfc5083c0.tar.gz |
.
Diffstat (limited to 'TAO/tao/Sequence.i')
-rw-r--r-- | TAO/tao/Sequence.i | 13 |
1 files changed, 13 insertions, 0 deletions
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<CORBA::Octet>::allocbuf (CORBA::ULong size) { return new CORBA::Octet[size]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence<CORBA::Octet>::freebuf (CORBA::Octet *buffer) { delete [] buffer; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence<CORBA::Octet>::TAO_Unbounded_Sequence (void) : mb_ (0) { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence<CORBA::Octet>::TAO_Unbounded_Sequence (CORBA::ULong maximum) : TAO_Unbounded_Base_Sequence (maximum, @@ -215,6 +220,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::TAO_Unbounded_Sequence (CORBA::ULong maxim { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE TAO_Unbounded_Sequence<CORBA::Octet>::TAO_Unbounded_Sequence (CORBA::ULong maximum, CORBA::ULong length, @@ -225,6 +231,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::TAO_Unbounded_Sequence (CORBA::ULong maxim { } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE const CORBA::Octet * TAO_Unbounded_Sequence<CORBA::Octet>::get_buffer (void) const { @@ -233,6 +240,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::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<CORBA::Octet>::get_buffer (CORBA::Boolean orphan) { @@ -283,6 +291,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::get_buffer (CORBA::Boolean orphan) return result; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE CORBA::Octet & TAO_Unbounded_Sequence<CORBA::Octet>::operator[] (CORBA::ULong i) { @@ -291,6 +300,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::operator[] (CORBA::ULong i) return tmp[i]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE const CORBA::Octet & TAO_Unbounded_Sequence<CORBA::Octet>::operator[] (CORBA::ULong i) const { @@ -299,12 +309,14 @@ TAO_Unbounded_Sequence<CORBA::Octet>::operator[] (CORBA::ULong i) const return tmp[i]; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE ACE_Message_Block* TAO_Unbounded_Sequence<CORBA::Octet>::mb (void) const { return this->mb_; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence<CORBA::Octet>::replace (CORBA::ULong length, const ACE_Message_Block* mb) @@ -317,6 +329,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::replace (CORBA::ULong length, this->release_ = 0; } +ACE_TEMPLATE_METHOD_SPECIALIZATION ACE_INLINE void TAO_Unbounded_Sequence<CORBA::Octet>::replace (CORBA::ULong max, CORBA::ULong length, |