• Home
  • Raw
  • Download

Lines Matching refs:_v

415   CPointerVector _v;  variable
417 unsigned Size() const { return _v.Size(); } in Size()
418 bool IsEmpty() const { return _v.IsEmpty(); } in IsEmpty()
419 void ReserveDown() { _v.ReserveDown(); } in ReserveDown()
421 void ClearAndReserve(unsigned newCapacity) { Clear(); _v.ClearAndReserve(newCapacity); } in ClearAndReserve()
427 _v.ConstructReserve(size); in CObjectVector()
429 _v.AddInReserved(new T(v[i])); in CObjectVector()
437 _v.Reserve(size);
439 _v.AddInReserved(new T(v[i]));
446 _v.Reserve(Size() + size);
448 _v.AddInReserved(new T(v[i]));
452 const T& operator[](unsigned index) const { return *((T *)_v[index]); }
453 T& operator[](unsigned index) { return *((T *)_v[index]); }
456 const T& Back() const { return operator[](_v.Size() - 1); } in Back()
457 T& Back() { return operator[](_v.Size() - 1); } in Back()
459 void MoveToFront(unsigned index) { _v.MoveToFront(index); } in MoveToFront()
461 unsigned Add(const T& item) { return _v.Add(new T(item)); } in Add()
463 void AddInReserved(const T& item) { _v.AddInReserved(new T(item)); } in AddInReserved()
468 _v.Add(p); in AddNew()
475 _v.AddInReserved(p); in AddNewInReserved()
479 void Insert(unsigned index, const T& item) { _v.Insert(index, new T(item)); } in Insert()
484 _v.Insert(index, p); in InsertNew()
490 for (unsigned i = _v.Size(); i != 0;) in ~CObjectVector()
491 delete (T *)_v[--i]; in ~CObjectVector()
497 _v.ClearAndFree(); in ClearAndFree()
502 for (unsigned i = _v.Size(); i != 0;) in Clear()
503 delete (T *)_v[--i]; in Clear()
504 _v.Clear(); in Clear()
509 unsigned size = _v.Size(); in DeleteFrom()
511 delete (T *)_v[i]; in DeleteFrom()
512 _v.DeleteFrom(index); in DeleteFrom()
518 delete (T *)_v[i]; in DeleteFrontal()
519 _v.DeleteFrontal(num); in DeleteFrontal()
524 delete (T *)_v[_v.Size() - 1]; in DeleteBack()
525 _v.DeleteBack(); in DeleteBack()
530 delete (T *)_v[index]; in Delete()
531 _v.Delete(index); in Delete()
616 { _v.Sort(compare, param); } in Sort()
621 void Sort() { _v.Sort(CompareObjectItems, 0); } in Sort()