This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.EDI.SEF.Util.Stack


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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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 (Including Private)

method Clear()
This method clears the stack
method Display()
method Empty() as %Boolean
This method determines if the stack is empty
method Pop()
This method pops an item off the stack, if the stack is empty an underflow exception will be thrown
method Push(Item As %String)
This method pushes an item onto the stack
method Top() as %String
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 (Including Private)

FeedbackOpens in a new window