Open CASCADE Technology
7.3.0
|
This class implements a heap of integers. The most effective usage of it is first to add there all items, and then get top item and remove any items till it becomes empty. More...
#include <Poly_MakeLoops.hxx>
Public Member Functions | |
HeapOfInteger (const Standard_Integer theNbPreAllocated=1) | |
void | Clear () |
void | Add (const Standard_Integer theValue) |
Standard_Integer | Top () |
Standard_Boolean | Contains (const Standard_Integer theValue) const |
void | Remove (const Standard_Integer theValue) |
Standard_Boolean | IsEmpty () |
This class implements a heap of integers. The most effective usage of it is first to add there all items, and then get top item and remove any items till it becomes empty.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |