TOrderedList class
Base class for queues and stacks.
Declaration
TOrderedList = class(TObject)Inheritance
- TOrderedList
- TObject
Descends from it: TQueue TStack
Description
TOrderedList provides the base class for
TQueue and
TStack. It provides an interface for pushing and popping elements on
or off the list, and manages the internal list of pointers.
Note that TOrderedList does not manage objects on the stack, i.e.
objects are not freed when the ordered list is destroyed.
See also
Properties
List | protected |
Methods
PushItem | protected | |
PopItem | protected | |
PeekItem | protected | |
Create | public | Create a new ordered list. |
Destroy | public | Free an ordered list. |
Count | public | Number of elements on the list. |
AtLeast | public | Check whether the list contains a certain number of elements. |
Push | public | Push another element on the list. |
Pop | public | Remove an element from the list. |
Peek | public | Return the next element to be popped from the list. |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
