Space Engineers
|
Public Member Functions | |
MyTransparentQueue (int capacity) | |
MyTransparentQueue (IEnumerable< T > collection) | |
new bool | Enqueue (T item) |
void | AdvanceHead (int amount) |
int | QueueIndexForArray (int arrayIndex) |
![]() | |
MyQueue (int capacity) | |
MyQueue (IEnumerable< T > collection) | |
void | Clear () |
void | Enqueue (T item) |
T | Peek () |
T | Dequeue () |
bool | Contains (T item) |
bool | Remove (T item) |
void | Remove (int idx) |
void | TrimExcess () |
override string | ToString () |
Properties | |
new T | this[int index] [get, set] |
int | Head [get] |
int | Tail [get, set] |
int | ArraySize [get] |
![]() | |
T[] | InternalArray [get] |
int | Count [get] |
T | this[int index] [get, set] |
Additional Inherited Members | |
![]() | |
void | SetCapacity (int capacity) |
![]() | |
T[] | m_array |
int | m_head |
int | m_tail |
int | m_size |
Helper queue class that exposes the internals of the queue.
Useful when custom operations are necessary but one does not want to extend the queue itself to keep code organised.
Definition at line 16 of file MyTransparentQueue.cs.
|
inline |
Definition at line 18 of file MyTransparentQueue.cs.
|
inline |
Definition at line 23 of file MyTransparentQueue.cs.
|
inline |
Definition at line 54 of file MyTransparentQueue.cs.
|
inline |
Returns true if the queue had to be resized.
Definition at line 31 of file MyTransparentQueue.cs.
|
inline |
Definition at line 79 of file MyTransparentQueue.cs.
|
get |
Definition at line 75 of file MyTransparentQueue.cs.
|
get |
Definition at line 64 of file MyTransparentQueue.cs.
|
getset |
Definition at line 69 of file MyTransparentQueue.cs.
|
getset |
Definition at line 49 of file MyTransparentQueue.cs.