StrArray miscellaneous methods

Web Site  Methods

 
StrArray::Copy
 
void Copy (const StrArray& src)

Copy will copy all elements from the source array into the called object, destroying any previously existing data at the destination.

 

 
StrArray::CopyElements
 
void CopyElements(int destStartIndex, int srcStartIndex,
                  int count, const StrArray& srcArray)

CopyElements will copy count elements starting at srcStartIndex from srcArray, and place the results at destStartIndex. The destination array must be large enough to accomodate the copied elements.  Previous elements in the destination at the affected positions are destroyed.

 

See alsoStrArray class