EnsLib.EDI.SEF.Util.Stack

class EnsLib.EDI.SEF.Util.Stack extends %Library.RegisteredObject

Property Inventory

Method Inventory

Properties

property CurrentIndex as %Integer [ InitialExpression = 0 ];
This holds the index of top of the stack
Property methods: CurrentIndexDisplayToLogical(), CurrentIndexGet(), CurrentIndexIsValid(), CurrentIndexLogicalToDisplay(), CurrentIndexNormalize(), CurrentIndexSet()
property Items [ MultiDimensional ];
This property holds the stack items
Property methods: ItemsDisplayToLogical(), ItemsGet(), ItemsIsValid(), ItemsLogicalToDisplay(), ItemsLogicalToOdbc(), ItemsNormalize(), ItemsSet()

Methods

method Clear() [ Language = objectscript ]
This method clears the stack
method Display() [ Language = objectscript ]
method Empty() as %Boolean [ Language = objectscript ]
This method determines if the stack is empty
method Pop() [ Language = objectscript ]
This method pops an item off the stack, if the stack is empty an underflow exception will be thrown
method Push(Item As %String) [ Language = objectscript ]
This method pushes an item onto the stack
method Top() as %String [ Language = objectscript ]
This method retrieves the item at the top of the stack, if the stack is empty an underflow exception will be thrown

Inherited Members

Inherited Methods

Feedback