Public Member Functions | Properties

Romulus.TransparentStack-g< T > Class Template Reference

Provides a stack with transparent access to all items in the stack, indexed by depth. More...

Inheritance diagram for Romulus.TransparentStack-g< T >:
ICollection IEnumerable

List of all members.

Public Member Functions

int IndexOf (T item)
void Push (T item)
Pop ()
IList< T > Pop (int count)
IList< T > PopTo (T item)
 Pops and returns all items up to and including the specfied item.
IList< T > PopUntil (T item)
 Pops and returns all items up to, but not including, the specfied item.
Peek ()
Peek (int depth)
void Crop (T item)
 Crops the item deepest in the stack that is equal to the specified gameItem.
void CropAt (int index)
void CropAll (Predicate< T > condition)
void Clear ()
bool Contains (T item)

Properties

this [int index] [get]
int Count [get]

Detailed Description

template<T>
class Romulus::TransparentStack-g< T >

Provides a stack with transparent access to all items in the stack, indexed by depth.

Template Parameters:
T The type of item the stack will store.

Member Function Documentation

template<T >
void Romulus.TransparentStack-g< T >.Crop ( item  ) 

Crops the item deepest in the stack that is equal to the specified gameItem.

template<T >
IList<T> Romulus.TransparentStack-g< T >.PopTo ( item  ) 

Pops and returns all items up to and including the specfied item.

template<T >
IList<T> Romulus.TransparentStack-g< T >.PopUntil ( item  ) 

Pops and returns all items up to, but not including, the specfied item.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events