Show: Delphi C++
Display Preferences

System.Generics.Collections.TObjectQueue

From RAD Studio API Documentation
Jump to: navigation, search

System.Generics.Collections.TQueueSystem.Generics.Collections.TEnumerableSystem.TObjectTObjectQueue

Delphi

TObjectQueue<T: class> = class(TQueue<T>)

C++

template<typename T> class PASCALIMPLEMENTATION TObjectQueue__1 : public TQueue__1<T>

Properties

Type Visibility Source Unit Parent
class public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections System.Generics.Collections

Description

Queue of objects.

TObjectQueue represents a queue of objects.

TObjectQueue is a TQueue with the capability of automatically freeing object entries when they are removed from the queue. When a TObjectQueue is instantiated, an AOwnsObjects parameter specifies whether the queue owns the queue entries. If the entry is owned, when the entry object is removed from the queue, the entry object is freed.

The OwnsObjects property gets or sets the object ownership.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance