Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Poly_MakeLoops::HeapOfInteger Class Reference

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.

#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 ()

Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: