Beef Corlib
Public Member Functions | List of all members
System.Collections.ListWithAlloc< T > Class Template Reference
Inheritance diagram for System.Collections.ListWithAlloc< T >:
System.Collections.List< T > System.Collections.IEnumerable< T > System.Collections.IList System.Collections.ICollection< T >

Public Member Functions

 ListWithAlloc (IRawAllocator alloc)
 
- Public Member Functions inherited from System.Collections.List< T >
 List (IEnumerator< T > enumerator)
 
 List (Span< T > span)
 
 List (int capacity)
 
void Add (T item)
 Adds an item to the back of the list.
 
void AddFront (T item)
 Adds an item to the front of the list.
 
void AddRange (Span< T > addSpan)
 Adds an item to the back of the list.
 
void AddRange (IEnumerator< T > items)
 
void AddRange< TEnumable > (TEnumable items)
 
Span< T > GetRange (int offset)
 
Span< T > GetRange (int offset, int count)
 
T * GrowUnitialized (int addSize)
 Returns a pointer to the start of the added uninitialized section.
 
void Clear ()
 
bool Contains (T item)
 
bool ContainsStrict (T item)
 
bool ContainsAlt< TAlt > (TAlt item)
 
void CopyTo (T[] array)
 
void CopyTo (List< T > destList)
 
void CopyTo (Span< T > span)
 
void CopyTo (T[] array, int arrayIndex)
 
void CopyTo (int index, T[] array, int arrayIndex, int count)
 
T * EnsureCapacity (int min, bool autoFree)
 
void Reserve (int size)
 
void Resize (int size)
 
void Resize (int newSize, T fillValue)
 
Enumerator GetEnumerator ()
 
int FindIndex (Predicate< T > match)
 
int IndexOf (T item)
 
int IndexOf (T item, int index)
 
int IndexOf (T item, int index, int count)
 
int IndexOfStrict (T item)
 
int IndexOfStrict (T item, int index)
 
int IndexOfStrict (T item, int index, int count)
 
int IndexOfAlt< TAlt > (TAlt item)
 
int LastIndexOf (T item)
 
int LastIndexOfStrict (T item)
 
void Set (Span< T > span)
 
void SetAll (T value)
 
void Insert (int index, T item)
 
void Insert (int index, Span< T > items)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int count)
 
void RemoveAtFast (int index)
 Will change the order of items in the list.
 
void RemoveRangeFast (int index, int count)
 Will change the order of items in the list.
 
void Sort (Comparison< T > comp)
 
void Sort (Comparison< T > comp, int index, int count)
 
int RemoveAll (Predicate< T > match)
 
PopBack ()
 
PopBack ()
 
PopFront ()
 
PopFront ()
 
bool Remove (T item)
 
bool RemoveStrict (T item)
 
bool RemoveAlt< TAlt > (TAlt item)
 
Result< T > GetAndRemove (T item)
 
Result< T > GetAndRemoveStrict (T item)
 
Result< T > GetAndRemoveAlt< TAlt > (TAlt item)
 
int BinarySearch (T item, delegate int(T lhs, T rhs) comparer)
 The method returns the index of the given value in the list. More...
 
int BinarySearchAlt< TAlt > (TAlt item, delegate int(T lhs, TAlt rhs) comparer)
 
int BinarySearch (int index, int count, T item, delegate int(T lhs, T rhs) comparer)
 

Additional Inherited Members

- Static Public Member Functions inherited from System.Collections.List< T >
static operator Span< T > (List< T > list)
 
- Protected Member Functions inherited from System.Collections.List< T >
virtual T * Alloc (int size)
 
virtual void Free (T *val)
 
override void GCMarkMembers ()
 
- Properties inherited from System.Collections.List< T >
int AllocSize [get]
 
bool IsDynAlloc [get]
 
T * Ptr [get]
 
int Capacity [get, set]
 
int Count [get, set]
 
bool IsEmpty [get]
 
ref T this[int index] [get, set]
 
ref T this[Index index] [get, set]
 
Span< T > this[IndexRange range] [get]
 
ref T Front [get]
 
ref T Back [get]
 
- Properties inherited from System.Collections.IList
Variant this[int index] [get, set]
 
- Properties inherited from System.Collections.ICollection< T >
abstract int Count [get]