Open CASCADE Technology  7.2.0
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. 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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HeapOfInteger()

Poly_MakeLoops::HeapOfInteger::HeapOfInteger ( const Standard_Integer  theNbPreAllocated = 1)
inline

Member Function Documentation

◆ Add()

void Poly_MakeLoops::HeapOfInteger::Add ( const Standard_Integer  theValue)
inline

◆ Clear()

void Poly_MakeLoops::HeapOfInteger::Clear ( )
inline

◆ Contains()

Standard_Boolean Poly_MakeLoops::HeapOfInteger::Contains ( const Standard_Integer  theValue) const
inline

◆ IsEmpty()

Standard_Boolean Poly_MakeLoops::HeapOfInteger::IsEmpty ( void  )
inline

◆ Remove()

void Poly_MakeLoops::HeapOfInteger::Remove ( const Standard_Integer  theValue)
inline

◆ Top()

Standard_Integer Poly_MakeLoops::HeapOfInteger::Top ( )
inline

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