Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
USet< T, TKey, TKeyFuncs > Class Template Reference
Inheritance diagram for USet< T, TKey, TKeyFuncs >:
USet< T, T, DefaultKeyFuncs< T > >

Classes

struct  SetElementId
 

Public Member Functions

 USet ()
 
 USet (int capacity)
 
void Empty (int newCapacity=0)
 
void Shrink ()
 
void Compact ()
 
void Relax ()
 
bool IsValidId (SetElementId id)
 
void Add (T value, bool alwaysReplace=false)
 
bool TryAddUnique (T value)
 
void AddRange (IEnumerable< T > enumerable)
 
void Remove (SetElementId id)
 
int Remove (TKey key)
 
bool Contains (TKey key)
 
SetElementId FindId (TKey key)
 
IEnumerable< SetElementIdMultiFindId (TKey key)
 
bool TryGet (TKey key, out T value)
 
IEnumerator< T > GetEnumerator ()
 
- Public Member Functions inherited from USet< T, T, DefaultKeyFuncs< T > >
 USet ()
 
 USet (int capacity)
 
void Empty (int newCapacity=0)
 
void Shrink ()
 
void Compact ()
 
void Relax ()
 
bool IsValidId (SetElementId id)
 
void Add (T value, bool alwaysReplace=false)
 
bool TryAddUnique (T value)
 
void AddRange (IEnumerable< T > enumerable)
 
void Remove (SetElementId id)
 
int Remove (TKey key)
 
bool Contains (TKey key)
 
SetElementId FindId (TKey key)
 
IEnumerable< SetElementId > MultiFindId (TKey key)
 
bool TryGet (TKey key, out T value)
 
IEnumerator< T > GetEnumerator ()
 

Properties

int Count [get]
 
- Properties inherited from USet< T, T, DefaultKeyFuncs< T > >
int Count [get]
 

Constructor & Destructor Documentation

◆ USet() [1/2]

USet< T, TKey, TKeyFuncs >.USet ( )
inline

◆ USet() [2/2]

USet< T, TKey, TKeyFuncs >.USet ( int  capacity)
inline

Member Function Documentation

◆ Empty()

void USet< T, TKey, TKeyFuncs >.Empty ( int  newCapacity = 0)
inline

◆ Shrink()

void USet< T, TKey, TKeyFuncs >.Shrink ( )
inline

◆ Compact()

void USet< T, TKey, TKeyFuncs >.Compact ( )
inline

◆ Relax()

void USet< T, TKey, TKeyFuncs >.Relax ( )
inline

◆ IsValidId()

bool USet< T, TKey, TKeyFuncs >.IsValidId ( SetElementId  id)
inline

◆ Add()

void USet< T, TKey, TKeyFuncs >.Add ( value,
bool  alwaysReplace = false 
)
inline

◆ TryAddUnique()

bool USet< T, TKey, TKeyFuncs >.TryAddUnique ( value)
inline

◆ AddRange()

void USet< T, TKey, TKeyFuncs >.AddRange ( IEnumerable< T >  enumerable)
inline

◆ Remove() [1/2]

void USet< T, TKey, TKeyFuncs >.Remove ( SetElementId  id)
inline

◆ Remove() [2/2]

int USet< T, TKey, TKeyFuncs >.Remove ( TKey  key)
inline

◆ Contains()

bool USet< T, TKey, TKeyFuncs >.Contains ( TKey  key)

◆ FindId()

SetElementId USet< T, TKey, TKeyFuncs >.FindId ( TKey  key)
inline

◆ MultiFindId()

IEnumerable< SetElementId > USet< T, TKey, TKeyFuncs >.MultiFindId ( TKey  key)
inline

◆ TryGet()

bool USet< T, TKey, TKeyFuncs >.TryGet ( TKey  key,
out T  value 
)
inline

◆ GetEnumerator()

IEnumerator< T > USet< T, TKey, TKeyFuncs >.GetEnumerator ( )

Property Documentation

◆ Count

int USet< T, TKey, TKeyFuncs >.Count
get

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