Astra Unity 2.6.6
Astra Unity Plugin
Astra.Serialization.TupletsSF Class Reference
Inheritance diagram for Astra.Serialization.TupletsSF:

Additional Inherited Members

- Public Member Functions inherited from Astra.Serialization.Tuplets< string, float >
Tuplet< A, B > GetFromFirst (A a)
 Finds a tuplet, using the 1st element More...
 
Tuplet< A, B, C > GetFromFirst (A a)
 Retrieve the Tuplet by 1st element value More...
 
Tuplet< A, B > GetFromSecond (B b)
 Finds a tuplet, using the 2nd element More...
 
Tuplet< A, B, C > GetFromSecond (B b)
 Retrieve the Tuplet by 2nd element value More...
 
Tuplet< A, B > GetFromSlot (int slot)
 Retrieves the tuplet at the given index More...
 
virtual Tuplet< A, B, C > GetFromSlot (int slot)
 Retrieves the Tuplet at the given index More...
 
void Upsert (Tuplet< A, B > tuplet)
 Adds the given tuplet into the list if it is not there, updates it if it is More...
 
void Upsert (Tuplet< A, B, C > tuplet)
 Adds or updates the given tuplet in the list More...
 
int GetSlotFromFirst (A a)
 Find the index of the Tuplet by 1st element value More...
 
int GetSlotFromFirst (A a)
 Find the index of the Tuplet by 1st element value More...
 
int GetSlotFromSecond (B b)
 Find the index of the Tuplet by 2nd element value More...
 
int GetSlotFromSecond (B b)
 Find the index of the Tuplet by 2nd element value More...
 
void Clear ()
 Clears the list of Tuplets
 
void Clear ()
 Clears the list of tuplets
 
void OnBeforeSerialize ()
 Implementation for Unity ISerializationCallbackReceiver
 
void OnBeforeSerialize ()
 Implementation for Unity ISerializationCallbackReceiver
 
void BuildFirstSecond ()
 Update the lists of First and Second elements
 
void OnAfterDeserialize ()
 Implementation for Unity ISerializationCallbackReceiver
 
void OnAfterDeserialize ()
 Implementation for Unity ISerializationCallbackReceiver
 
void MarkLookupsDirty ()
 
void Reindex (bool force=false)
 Update the indices of the Tuplets in the list
 
void Reindex ()
 Update the indices of the Tuplets in the list
 
void ReindexAdd (Tuplet< A, B > record)
 A more efficient way to index the tuplet lookups knowing we just added to the list More...
 
virtual void UpsertBySlot (int slot, System.Object a, System.Object b)
 Adds or updates an entry, using generic values. Replaces an entry by slot, not by key/values More...
 
virtual void UpsertBySlot (int slot, A a, B b)
 Adds or updates an entry, using typed values. Replaces an entry by slot, not by key/values More...
 
virtual void UpsertBySlot (int slot, Tuplet< A, B > tuplet)
 Adds or updates an entry, using a passed in tuplet. Replaces an entry by slot, not by key/values More...
 
virtual void UpsertBySlot (int slot, System.Object a, System.Object b, System.Object c)
 Adds or updates an entry, using generic values. Replaces an entry by slot, not by key/values More...
 
virtual void UpsertBySlot (int slot, A a, B b, C c)
 Adds or updates an entry, using typed values. Replaces an entry by slot, not by key/values More...
 
virtual void UpsertBySlot (int slot, Tuplet< A, B, C > tuplet)
 Adds or updates an entry, using a passed in tuplet. Replaces an entry by slot, not by key/values More...
 
virtual void Add (System.Object a, System.Object b)
 Adds a Tuple using the given elements More...
 
virtual void Add (Tuplet< A, B > tuplet)
 Adds a Tuple to the list More...
 
virtual void Add (System.Object a, System.Object b, System.Object c)
 Adds a Tuple using the given elements More...
 
virtual void Add (Tuplet< A, B, C > tuplet)
 Adds a Tuple to the list More...
 
virtual void RemoveBySlot (int slot, bool reindex=false)
 Removes a tuplet at the given index More...
 
virtual void RemoveBySlot (int slot, bool reindex=true)
 Removes a tuplet at the given index More...
 
virtual void RemoveByFirst (A a)
 Removes the tuplet with the given 1st element value More...
 
virtual void RemoveBySecond (B b)
 Removes the tuplet with the given 2nd element value More...
 
Tuplet< System.Object, System.Object > GetFromSlotGeneric (int slot)
 Retrieve a generic tuplet from the given index More...
 
Tuplet< System.Object, System.Object, System.Object > GetFromSlotGeneric (int slot)
 Retrieve a generic tuplet from the given index More...
 
virtual IEnumerator GetEnumerator ()
 Retrieves a typed enumerator
 
new IEnumerator< T > GetEnumerator ()
 
virtual IEnumerator GetEnumerator ()
 Retrieves a typed enumerator
 
IEnumerator GetEnumeratorGeneric ()
 Retrieves a generic enumerator
 
IEnumerator GetEnumeratorGeneric ()
 Retrieves a generic enumerator
 
GetFromSlot< R > (int slot)
 Yields a tuplet back as the T type Warning: this gives you a COPY of the original, not a reference to the original! If you modify your result, you must re-upsert back in! More...
 
bool MoveNext ()
 
void Reset ()
 
System.Type GetFirstType ()
 
System.Type GetSecondType ()
 
System.Type GetThirdType ()
 
int GetSlotFromThird (C c)
 Find the index of the Tuplet by 3rd element value More...
 
Tuplet< A, B, C > GetFromThird (C c)
 Retrieve the Tuplet by 3rd element value More...
 
virtual bool ContainsFirst (A a)
 Whether the list contains a 1st element with the given value More...
 
virtual bool ContainsSecond (B b)
 Whether the list contains a 2nd element with the given value More...
 
virtual bool ContainsThird (C c)
 Whether the list contains a 3rd element with the given value More...
 
virtual bool RemoveFromFirst (A a)
 Removes the tuplet with the given 1st element value More...
 
virtual bool RemoveFromSecond (B b)
 Removes the tuplet with the given 2nd element value More...
 
virtual bool RemoveFromThird (C c)
 Removes the tuplet with the given 3rd element value More...
 
- Public Attributes inherited from Astra.Serialization.Tuplets< string, float >
List< Tuplet< A, B > > Items
 
List< Tuplet< A, B, C > > Items
 
List< A > First
 
List< B > Second
 
bool UniqueByPair
 
System.Type FirstType
 
System.Type SecondType
 
System.Type ThirdType
 
- Protected Attributes inherited from Astra.Serialization.Tuplets< string, float >
int _position
 
List< C > Third
 
Dictionary< C, int > _lookupC
 
- Properties inherited from Astra.Serialization.Tuplets< string, float >
int Count [get]
 Count of tuplets in the list
 
object Current [get]
 

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