template<class TYPE>
FXArray<TYPE>& FX::FXArray< TYPE >::prepend ( const TYPE &  src  )  [inline]

Prepend object.

Definition at line 159 of file FXArray.h.

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

00159                                          {
00160     if(no(num+1)){ moveElms(ptr+1,ptr,num-1); ptr[0]=src; }
00161     return *this;
00162     }


(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