| 343 | |
| 344 | |
| 345 | void ArrayBase::Insert(int inPos) |
| 346 | { |
| 347 | if (inPos>=length) |
| 348 | resize(length+1); |
| 349 | else |
| 350 | { |
| 351 | resize(length+1); |
| 352 | int s = GetElementSize(); |
| 353 | memmove(mBase + inPos*s + s, mBase+inPos*s, (length-inPos-1)*s ); |
| 354 | } |
| 355 | } |
| 356 | |
| 357 | void ArrayBase::Splice(ArrayBase *outResult,int inPos,int inLen) |
| 358 | { |
nothing calls this directly
no test coverage detected