IPriorityQueue(TValue, TCont) Interface

IPriorityQueue<TValue, TCont> Interface

 

Defines the interface for an STL/CLR priority_queue object.

Namespace:   Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public interface IPriorityQueue<TValue, TCont> : ICloneable

Type Parameters

TValue

The type of an element in the controlled sequence.

TCont

The type of the underlying container.

NameDescription
System_CAPS_pubpropertytop_item

Accesses the highest-priority element of the container.

NameDescription
System_CAPS_pubmethodassign(IPriorityQueue<TValue, TCont>)

Replaces all elements of the container.

System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Inherited from ICloneable.)

System_CAPS_pubmethodempty()

Determines whether the container contains no elements.

System_CAPS_pubmethodget_container()

Accesses the underlying container.

System_CAPS_pubmethodpop()

Removes the highest-priority element of the container.

System_CAPS_pubmethodpush(TValue)

Adds a new element to the container.

System_CAPS_pubmethodsize()

Counts the number of elements in the container.

System_CAPS_pubmethodtop()

Accesses the highest-priority element of the container.

System_CAPS_pubmethodvalue_comp()

Copies the ordering delegate for two elements.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft