klee
klee::ImmutableTree< K, V, KOV, CMP >::iterator Class Reference

#include <ImmutableTree.h>

Collaboration diagram for klee::ImmutableTree< K, V, KOV, CMP >::iterator:

Public Member Functions

 iterator (Node *_root, bool atBeginning)
 
 iterator (const iterator &i)
 
 ~iterator ()
 
iteratoroperator= (const iterator &b)
 
const value_typeoperator* ()
 
const value_typeoperator-> ()
 
bool operator== (const iterator &b)
 
bool operator!= (const iterator &b)
 
iteratoroperator-- ()
 
iteratoroperator++ ()
 

Private Attributes

Noderoot
 
FixedStack< Node * > stack
 

Friends

class ImmutableTree< K, V, KOV, CMP >
 

Detailed Description

template<class K, class V, class KOV, class CMP>
class klee::ImmutableTree< K, V, KOV, CMP >::iterator

Definition at line 140 of file ImmutableTree.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<class K , class V , class KOV , class CMP >
klee::ImmutableTree< K, V, KOV, CMP >::iterator::iterator ( Node _root,
bool  atBeginning 
)
inline

Definition at line 147 of file ImmutableTree.h.

References klee::ImmutableTree< K, V, KOV, CMP >::Node::isTerminator(), and klee::FixedStack< T >::push_back().

Here is the call graph for this function:

◆ iterator() [2/2]

template<class K , class V , class KOV , class CMP >
klee::ImmutableTree< K, V, KOV, CMP >::iterator::iterator ( const iterator i)
inline

Definition at line 154 of file ImmutableTree.h.

◆ ~iterator()

template<class K , class V , class KOV , class CMP >
klee::ImmutableTree< K, V, KOV, CMP >::iterator::~iterator ( )
inline

Definition at line 157 of file ImmutableTree.h.

References klee::ImmutableTree< K, V, KOV, CMP >::Node::decref().

Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

template<class K , class V , class KOV , class CMP >
bool klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator!= ( const iterator b)
inline

◆ operator*()

template<class K , class V , class KOV , class CMP >
const value_type & klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator* ( )
inline

Definition at line 169 of file ImmutableTree.h.

References klee::FixedStack< T >::back(), and klee::ImmutableTree< K, V, KOV, CMP >::Node::value.

Here is the call graph for this function:

◆ operator++()

◆ operator--()

◆ operator->()

template<class K , class V , class KOV , class CMP >
const value_type * klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator-> ( )
inline

Definition at line 174 of file ImmutableTree.h.

References klee::FixedStack< T >::back(), and klee::ImmutableTree< K, V, KOV, CMP >::Node::value.

Here is the call graph for this function:

◆ operator=()

template<class K , class V , class KOV , class CMP >
iterator & klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator= ( const iterator b)
inline

◆ operator==()

template<class K , class V , class KOV , class CMP >
bool klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator== ( const iterator b)
inline

Friends And Related Function Documentation

◆ ImmutableTree< K, V, KOV, CMP >

template<class K , class V , class KOV , class CMP >
friend class ImmutableTree< K, V, KOV, CMP >
friend

Definition at line 136 of file ImmutableTree.h.

Member Data Documentation

◆ root

template<class K , class V , class KOV , class CMP >
Node* klee::ImmutableTree< K, V, KOV, CMP >::iterator::root
private

◆ stack


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