Template Class StreamHeapVector
Defined in File StreamHeap.h
Class Documentation
-
template<class T>
class StreamHeapVector Stream Heap Vector implementation.
Vector of StreamHeap interface
- Template Parameters:
Type – of the elements of the Heap
Public Functions
-
inline StreamHeapVector()
Constructor
-
inline StreamHeapVector(size_t vectorSize)
Constructor
- Parameters:
vectorSize – Vector size
-
inline ~StreamHeapVector()
Destructor
-
StreamHeapVector(StreamHeapVector const &x) = delete
Disable copy constructor
- Parameters:
x – —
-
void operator=(StreamHeapVector const &x) = delete
Disable copy assignment
- Parameters:
x – —
-
inline T getTop(int index) const
Returns Heap top for the index
- Parameters:
index – Index of the container
- Returns:
T Heap top Value
-
inline void insertElement(T value, int index)
Insert element in one Heap
- Parameters:
value – New value
index – Heap index
-
inline void clear()
Clear All heap values