Public Types | |
typedef ACE_Vector< OpenDDS::DCPS::ReceivedDataElement *, DEF_MAX > | BASE |
Public Member Functions | |
ZeroCopyVector (const size_t init_size=DEF_MAX, ACE_Allocator *alloc=0) | |
void | swap (ZeroCopyVector &) |
Definition at line 150 of file ZeroCopySeq_T.h.
typedef ACE_Vector<OpenDDS::DCPS::ReceivedDataElement*, DEF_MAX> TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::ZeroCopyVector::BASE |
Definition at line 157 of file ZeroCopySeq_T.h.
ACE_INLINE TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::ZeroCopyVector::ZeroCopyVector | ( | const size_t | init_size = DEF_MAX , |
|
ACE_Allocator * | alloc = 0 | |||
) |
ACE_INLINE void TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::ZeroCopyVector::swap | ( | ZeroCopyVector & | ) |
Definition at line 32 of file ZeroCopySeq_T.inl.
References OpenDDS::DCPS::swap().
Referenced by TAO::DCPS::ZeroCopyDataSeq< Sample_T, DEF_MAX >::swap().
00033 { 00034 //Later versions of ACE do have a working ACE_Vector<T,MAX>::swap so we must 00035 //delegate up to ACE_Array<T> to get consistent swap behavior. 00036 ACE_Array<OpenDDS::DCPS::ReceivedDataElement*>::swap(rhs); 00037 std::swap(this->length_, rhs.length_); 00038 std::swap(this->curr_max_size_, rhs.curr_max_size_); 00039 }