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

EnsLib.EDI.SEF.Util.Stack


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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 6


Summary


Properties
CurrentIndex Items

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Clear Display Empty Pop
Push Top


Properties


• property CurrentIndex as %Integer [ InitialExpression = 0 ];
This holds the index of top of the stack
• property Items  [ MultiDimensional ];
This property holds the stack items

Methods


• 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