CoreClasses Xojo Plugin

ObjectStack Class (console safe)

ObjectStack is a class that implements a stack (first in last out algorithm) for objects.

Object
   ObjectStack

class ObjectStack implements

IIterator

IObjectAddable

Properties

Size (console safe) Use this property to get the size (element count) of the stack.

Methods

Add (console safe) Use this method to add a object to the stack.
AddItems (console safe) Use this method to add multiple objects from any container that implements the IIterator interface.
GetNext (console safe) Use to get next item from the ObjectStack.
HasNext (console safe) Use to get info if there are more items in the ObjectStack.
MoveFirst (console safe) Use to reset the iterator in the ObjectStack.
PeekNext (console safe) Use this function to peek at next item from the ObjectStack without causing iteration.
Pop (console safe) Use this method to pop one item off the stack.
Push (console safe) Use this method to push one item onto the stack.
Top (console safe) Use this function to read from the top of the stack.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM