Sign in Join
FPDoc Onlineexperiment

TObjectStack class

In unit Contnrs

Object instances stack.

Declaration

pascal
TObjectStack = class(TStack)

Inheritance

  1. TObjectStack
  2. TStack
  3. TOrderedList
  4. TObject

Description

TObjectStack is a stack implementation which manages pointers only.

TObjectStack introduces no new behaviour, it simply overrides some methods to accept and/or return TObject instances instead of pointers.

See also

Methods

PushpublicPush an object on the stack.
PoppublicPop the top object of the stack.
PeekpublicLook at the top object in the stack.

Inherited

From TStack (1)

PushItem

From TOrderedList (7)

AtLeast Count Create Destroy List PeekItem PopItem

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.