Example #1
0
//-----------------------------------------------------------------------------
EStatus BaseArray::Remove (INT  iStartIndex,
                           INT  iNumToRemove)
  {
  if (iLength == 0) return (EStatus::kFailure);
  
  RemoveSequentialValues (iStartIndex, iNumToRemove);

  // update siblings
  BaseArray *  pCurr = pNext;
  while (pCurr != this)
    {
    pCurr->Remove (iStartIndex, iNumToRemove);
    pCurr = pCurr->pNext;
    };

  return (EStatus::kSuccess);
  };