template<class TYPE>
FXArray<TYPE>& FX::FXArray< TYPE >::insert ( FXint  pos,
const TYPE &  src,
FXint  n 
) [inline]

Insert n copies of object at specified position.

Definition at line 141 of file FXArray.h.

References FX::fillElms(), FX::moveElms(), FX::FXArray< TYPE >::no(), FX::FXArray< TYPE >::num, and FX::FXArray< TYPE >::ptr.

00141                                                           {
00142     if(no(num+n)){ moveElms(ptr+pos+n,ptr+pos,num-pos-n); fillElms(ptr+pos,src,n); }
00143     return *this;
00144     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:41 2009 for TnFOX by doxygen v1.4.7