Lines Matching defs:other
47 * are no iterators or any other high level access/modifier methods (e.g.
185 * This is the base class for all other list classes. It implements the
225 * The other list will be fully copied and the capacity will be the same as
226 * the size of the other list.
228 * @param other The list to copy.
231 RTCListBase(const RTCListBase<T, ITYPE, MT>& other)
236 other.m_guard.enterRead();
238 size_t const cElementsOther = other.m_cElements;
240 RTCListHelper<T, ITYPE>::copyTo(m_pArray, other.m_pArray, 0, cElementsOther);
243 other.m_guard.leaveRead();
352 * @param other The other list. This MUST not be the same as the destination
358 RTCListBase<T, ITYPE, MT> &insert(size_t i, const RTCListBase<T, ITYPE, MT> &other)
360 AssertReturn(this != &other, *this);
362 other.m_guard.enterRead();
367 size_t cElementsOther = other.m_cElements;
375 RTCListHelper<T, ITYPE>::copyTo(&m_pArray[i], other.m_pArray, 0, cElementsOther);
380 other.m_guard.leaveRead();
399 * @param other The list to prepend.
403 RTCListBase<T, ITYPE, MT> &prepend(const RTCListBase<T, ITYPE, MT> &other)
405 return insert(0, other);
430 * @param other The list to append. Must not be the same as the destination
435 RTCListBase<T, ITYPE, MT> &append(const RTCListBase<T, ITYPE, MT> &other)
437 AssertReturn(this != &other, *this);
439 other.m_guard.enterRead();
442 insert(m_cElements, other);
445 other.m_guard.leaveRead();
450 * Copy the items of the other list into this list.
454 * @param other The list to copy.
457 RTCListBase<T, ITYPE, MT> &operator=(const RTCListBase<T, ITYPE, MT>& other)
460 if (RT_UNLIKELY(this == &other))
463 other.m_guard.enterRead();
470 if (other.m_cElements != m_cCapacity)
471 resizeArrayNoErase(other.m_cElements);
472 m_cElements = other.m_cElements;
475 RTCListHelper<T, ITYPE>::copyTo(m_pArray, other.m_pArray, 0, other.m_cElements);
478 other.m_guard.leaveRead();
685 * The other builds will quietly ignore the request.
696 * The other builds will quietly ignore the request.
931 RTCList(const BASE &other)
932 : BASE(other) {}