Tanoda
Leap.Unity.ReadonlySlice< T > Struct Template Reference
Inheritance diagram for Leap.Unity.ReadonlySlice< T >:
Leap.Unity.IIndexableStruct< T, ReadonlySlice< T > >

Public Member Functions

 ReadonlySlice (ReadonlyList< T > list, int beginIdx, int endIdx)
 Creates a readonlySlice into the ReadonlyList with an inclusive beginIdx and an exclusive endIdx. A readonlySlice with identical begin and end indices would be an empty readonlySlice. More...
 
IndexableStructEnumerator< T, ReadonlySlice< T > > GetEnumerator ()
 
Query< T > Query ()
 

Properties

this[int index] [get]
 
int Count [get]
 
- Properties inherited from Leap.Unity.IIndexableStruct< T, ReadonlySlice< T > >
this[int idx] [get]
 
int Count [get]
 

Detailed Description

Definition at line 53 of file ReadonlySlice.cs.

Constructor & Destructor Documentation

◆ ReadonlySlice()

Leap.Unity.ReadonlySlice< T >.ReadonlySlice ( ReadonlyList< T >  list,
int  beginIdx,
int  endIdx 
)

Creates a readonlySlice into the ReadonlyList with an inclusive beginIdx and an exclusive endIdx. A readonlySlice with identical begin and end indices would be an empty readonlySlice.

A readonlySlice whose endIdx is smaller than its beginIdx will index backwards along the underlying ReadonlyList.

Definition at line 69 of file ReadonlySlice.cs.

Member Function Documentation

◆ GetEnumerator()

Definition at line 91 of file ReadonlySlice.cs.

◆ Query()

Definition at line 95 of file ReadonlySlice.cs.

Property Documentation

◆ Count

int Leap.Unity.ReadonlySlice< T >.Count
get

Definition at line 83 of file ReadonlySlice.cs.

◆ this[int index]

T Leap.Unity.ReadonlySlice< T >.this[int index]
get

Definition at line 76 of file ReadonlySlice.cs.


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