help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TObjectStack

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Object instances stack

Declaration

Source position: contnrs.pp line 156

type TObjectStack = class(TStack)

public

  function Push();

  

Push an object on the stack.

  function Pop;

  

Pop the top object of the stack.

  function Peek;

  

Look at the top object in the stack.

end;

Inheritance

TObjectStack

  

Object instances stack

|

TStack

  

Pointer Stack

|

TOrderedList

  

Base class for queues and stacks.

|

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

TOrderedList

  

Base class for queues and stacks.

TStack

  

Pointer Stack

TQueue

  

Pointer queue

TObjectQueue

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505