Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
USparseArray< T > Struct Template Reference
Inheritance diagram for USparseArray< T >:

Classes

struct  SparseArrayEnumerator
 

Public Member Functions

 USparseArray ()
 
 USparseArray (int capacity)
 
int Add (T element)
 
void RemoveAt (int index, int count=1)
 
void Empty (int newCapacity=0)
 
void Reset ()
 
void EnsureCapacity (int capacity)
 
void Shrink ()
 
bool Compact ()
 
bool TryGetAt (int index, out T val)
 
bool IsAllocated (int index)
 
SparseArrayEnumerator GetEnumerator ()
 
IEnumerator< T > IEnumerable< T >. GetEnumerator ()
 
IEnumerator IEnumerable. GetEnumerator ()
 

Properties

ref T this[int index] [get]
 
int MaxIndex [get]
 
int Count [get]
 

Constructor & Destructor Documentation

◆ USparseArray() [1/2]

USparseArray< T >.USparseArray ( )
inline

◆ USparseArray() [2/2]

USparseArray< T >.USparseArray ( int  capacity)
inline

Member Function Documentation

◆ Add()

int USparseArray< T >.Add ( element)
inline

◆ RemoveAt()

void USparseArray< T >.RemoveAt ( int  index,
int  count = 1 
)
inline

◆ Empty()

void USparseArray< T >.Empty ( int  newCapacity = 0)
inline

◆ Reset()

void USparseArray< T >.Reset ( )
inline

◆ EnsureCapacity()

void USparseArray< T >.EnsureCapacity ( int  capacity)
inline

◆ Shrink()

void USparseArray< T >.Shrink ( )
inline

◆ Compact()

bool USparseArray< T >.Compact ( )
inline

◆ TryGetAt()

bool USparseArray< T >.TryGetAt ( int  index,
out T  val 
)
inline

◆ IsAllocated()

bool USparseArray< T >.IsAllocated ( int  index)

◆ GetEnumerator() [1/3]

SparseArrayEnumerator USparseArray< T >.GetEnumerator ( )

◆ GetEnumerator() [2/3]

IEnumerator< T > IEnumerable< T >. USparseArray< T >.GetEnumerator ( )

◆ GetEnumerator() [3/3]

IEnumerator IEnumerable. USparseArray< T >.GetEnumerator ( )

Property Documentation

◆ this[int index]

ref T USparseArray< T >.this[int index]
get

◆ MaxIndex

int USparseArray< T >.MaxIndex
get

◆ Count

int USparseArray< T >.Count
get

The documentation for this struct was generated from the following file: