carl  24.04
Computer ARithmetic Library
carl::Heap< C >::c_iterator Class Reference

#include <Heap.h>

Collaboration diagram for carl::Heap< C >::c_iterator:

Public Member Functions

 c_iterator (const Tree &tree)
 
 c_iterator (const Tree &tree, Heap::Node startpos)
 
const Entry get () const
 
void next ()
 
const NodegetNode () const
 

Protected Attributes

const Heap::TreemTree
 
Heap::Node pos
 

Friends

bool operator== (c_iterator lhs, c_iterator rhs)
 
bool operator!= (c_iterator lhs, c_iterator rhs)
 

Detailed Description

template<class C>
class carl::Heap< C >::c_iterator

Definition at line 127 of file Heap.h.

Constructor & Destructor Documentation

◆ c_iterator() [1/2]

template<class C >
carl::Heap< C >::c_iterator::c_iterator ( const Tree tree)
inlineexplicit

Definition at line 130 of file Heap.h.

◆ c_iterator() [2/2]

template<class C >
carl::Heap< C >::c_iterator::c_iterator ( const Tree tree,
Heap::Node  startpos 
)
inline

Definition at line 138 of file Heap.h.

Member Function Documentation

◆ get()

template<class C >
const Entry carl::Heap< C >::c_iterator::get ( ) const
inline

Definition at line 144 of file Heap.h.

◆ getNode()

template<class C >
const Node& carl::Heap< C >::c_iterator::getNode ( ) const
inline

Definition at line 166 of file Heap.h.

Here is the caller graph for this function:

◆ next()

template<class C >
void carl::Heap< C >::c_iterator::next ( )
inline

Definition at line 149 of file Heap.h.

Friends And Related Function Documentation

◆ operator!=

template<class C >
bool operator!= ( c_iterator  lhs,
c_iterator  rhs 
)
friend

Definition at line 161 of file Heap.h.

◆ operator==

template<class C >
bool operator== ( c_iterator  lhs,
c_iterator  rhs 
)
friend

Definition at line 154 of file Heap.h.

Field Documentation

◆ mTree

template<class C >
const Heap::Tree& carl::Heap< C >::c_iterator::mTree
protected

Definition at line 176 of file Heap.h.

◆ pos

template<class C >
Heap::Node carl::Heap< C >::c_iterator::pos
protected

Definition at line 177 of file Heap.h.


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