Tanoda
Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H > Class Template Referenceabstract

Represents an ordered collection of objects of type BaseType. More...

Inheritance diagram for Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >:
Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G > Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F > Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E > Leap.Unity.MultiTypedList< BaseType, A, B, C, D > Leap.Unity.MultiTypedList< BaseType, A, B, C > Leap.Unity.MultiTypedList< BaseType, A, B > Leap.Unity.MultiTypedList< BaseType >

Classes

struct  Enumerator
 
struct  Key
 

Public Member Functions

abstract void Add (BaseType obj)
 
abstract void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void Add (BaseType obj)
 
override void Clear ()
 
override void Insert (int index, BaseType obj)
 
override void RemoveAt (int index)
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 
- Public Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G >
abstract void Add (BaseType obj)
 
override void Add (BaseType obj)
 
abstract void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
override void Clear ()
 
bool Contains (BaseType item)
 
void CopyTo (BaseType[] array, int arrayIndex)
 
Enumerator GetEnumerator ()
 
int IndexOf (BaseType item)
 
abstract void Insert (int index, BaseType item)
 
override void Insert (int index, BaseType obj)
 
bool Remove (BaseType item)
 
abstract void RemoveAt (int index)
 
override void RemoveAt (int index)
 

Protected Member Functions

Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
override Key addInternal (BaseType obj)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
- Protected Member Functions inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G >
Key addHelper (IList list, BaseType instance, int id)
 
virtual Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
override Key addInternal (BaseType obj)
 
virtual IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 
override IList getList (int id)
 

Properties

abstract int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override int Count [get]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 
- Properties inherited from Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G >
abstract int Count [get]
 
override int Count [get]
 
bool IsReadOnly [get]
 
abstract BaseType this[int index] [get, set]
 
override BaseType this[int index] [get, set]
 

Detailed Description

Represents an ordered collection of objects of type BaseType.

Unlike normal List objects, when MultiTypedList is serialized it is able to support a certain amount of polymorphism. To use MultiTypedList you must specify exactly which types could possibly added. You must also pre-declare a non-generic version of the chosen class, much in the same style as UnityEvent.

Type Constraints
A :BaseType 
B :BaseType 
C :BaseType 
D :BaseType 
E :BaseType 
F :BaseType 
G :BaseType 
H :BaseType 

Definition at line 395 of file MultiTypedList.cs.

Member Function Documentation

◆ Add() [1/2]

abstract void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Add ( BaseType  obj)
pure virtual

◆ Add() [2/2]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Add ( BaseType  obj)
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 201 of file MultiTypedList.cs.

◆ addHelper()

Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addHelper ( IList  list,
BaseType  instance,
int  id 
)
protected

Definition at line 245 of file MultiTypedList.cs.

◆ addInternal() [1/7]

◆ addInternal() [2/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 283 of file MultiTypedList.cs.

◆ addInternal() [3/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 306 of file MultiTypedList.cs.

◆ addInternal() [4/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 330 of file MultiTypedList.cs.

◆ addInternal() [5/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 355 of file MultiTypedList.cs.

◆ addInternal() [6/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 381 of file MultiTypedList.cs.

◆ addInternal() [7/7]

override Key Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.addInternal ( BaseType  obj)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 408 of file MultiTypedList.cs.

◆ Clear() [1/8]

◆ Clear() [2/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 205 of file MultiTypedList.cs.

◆ Clear() [3/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 291 of file MultiTypedList.cs.

◆ Clear() [4/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 314 of file MultiTypedList.cs.

◆ Clear() [5/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 338 of file MultiTypedList.cs.

◆ Clear() [6/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 363 of file MultiTypedList.cs.

◆ Clear() [7/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 389 of file MultiTypedList.cs.

◆ Clear() [8/8]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Clear ( )
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 416 of file MultiTypedList.cs.

◆ Contains()

bool Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Contains ( BaseType  item)

Definition at line 51 of file MultiTypedList.cs.

◆ CopyTo()

void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.CopyTo ( BaseType[]  array,
int  arrayIndex 
)

Definition at line 60 of file MultiTypedList.cs.

◆ GetEnumerator()

Enumerator Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.GetEnumerator ( )

Definition at line 66 of file MultiTypedList.cs.

◆ getList() [1/7]

◆ getList() [2/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 287 of file MultiTypedList.cs.

◆ getList() [3/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 310 of file MultiTypedList.cs.

◆ getList() [4/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 334 of file MultiTypedList.cs.

◆ getList() [5/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 359 of file MultiTypedList.cs.

◆ getList() [6/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 385 of file MultiTypedList.cs.

◆ getList() [7/7]

override IList Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.getList ( int  id)
protectedvirtual

Reimplemented from Leap.Unity.MultiTypedList< BaseType >.

Definition at line 412 of file MultiTypedList.cs.

◆ IndexOf()

int Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.IndexOf ( BaseType  item)

Definition at line 70 of file MultiTypedList.cs.

◆ Insert() [1/2]

abstract void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Insert ( int  index,
BaseType  item 
)
pure virtual

◆ Insert() [2/2]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Insert ( int  index,
BaseType  obj 
)
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 211 of file MultiTypedList.cs.

◆ Remove()

bool Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Remove ( BaseType  item)

Definition at line 81 of file MultiTypedList.cs.

◆ RemoveAt() [1/2]

abstract void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.RemoveAt ( int  index)
pure virtual

◆ RemoveAt() [2/2]

override void Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.RemoveAt ( int  index)
virtual

Implements Leap.Unity.MultiTypedList< BaseType >.

Definition at line 216 of file MultiTypedList.cs.

Property Documentation

◆ Count [1/2]

abstract int Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Count
get

Definition at line 37 of file MultiTypedList.cs.

◆ Count [2/2]

override int Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.Count
get

Definition at line 195 of file MultiTypedList.cs.

◆ IsReadOnly

bool Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.IsReadOnly
get

Definition at line 39 of file MultiTypedList.cs.

◆ this[int index] [1/2]

abstract BaseType Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.this[int index]
getset

Definition at line 45 of file MultiTypedList.cs.

◆ this[int index] [2/2]

override BaseType Leap.Unity.MultiTypedList< BaseType, A, B, C, D, E, F, G, H >.this[int index]
getset

Definition at line 231 of file MultiTypedList.cs.


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