|
klee
|
#include <ImmutableTree.h>

Public Member Functions | |
| Node (Node *_left, Node *_right, const value_type &_value) | |
| ~Node () | |
| void | decref () |
| Node * | incref () |
| bool | isTerminator () |
| size_t | size () |
| Node * | popMin (value_type &valueOut) |
| Node * | popMax (value_type &valueOut) |
| Node * | insert (const value_type &v) |
| Node * | replace (const value_type &v) |
| Node * | remove (const key_type &k) |
Public Attributes | |
| Node * | left |
| Node * | right |
| value_type | value |
| unsigned | height |
| unsigned | references |
Static Public Attributes | |
| static Node | terminator |
Protected Member Functions | |
| Node () | |
Static Protected Member Functions | |
| static Node * | balance (Node *left, const value_type &value, Node *right) |
Definition at line 72 of file ImmutableTree.h.
|
protected |
Definition at line 247 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::Node::terminator.
| klee::ImmutableTree< K, V, KOV, CMP >::Node::Node | ( | Node * | _left, |
| Node * | _right, | ||
| const value_type & | _value | ||
| ) |
Definition at line 256 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::allocated.
| klee::ImmutableTree< K, V, KOV, CMP >::Node::~Node |
Definition at line 267 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::allocated.
|
staticprotected |
Definition at line 294 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::Node::decref(), klee::ImmutableTree< K, V, KOV, CMP >::Node::height, klee::ImmutableTree< K, V, KOV, CMP >::Node::incref(), klee::ImmutableTree< K, V, KOV, CMP >::Node::left, klee::ImmutableTree< K, V, KOV, CMP >::Node::right, and klee::ImmutableTree< K, V, KOV, CMP >::Node::value.

|
inline |
Definition at line 274 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance(), klee::ImmutableTree< K, V, KOV, CMP >::operator=(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator=(), and klee::ImmutableTree< K, V, KOV, CMP >::iterator::~iterator().

|
inline |
Definition at line 280 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance(), klee::ImmutableTree< K, V, KOV, CMP >::operator=(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator=(), klee::ImmutableTree< K, V, KOV, CMP >::Node::popMax(), and klee::ImmutableTree< K, V, KOV, CMP >::Node::popMin().

| ImmutableTree< K, V, KOV, CMP >::Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::insert | ( | const value_type & | v | ) |
Definition at line 367 of file ImmutableTree.h.
|
inline |
Definition at line 286 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::count(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::iterator(), klee::ImmutableTree< K, V, KOV, CMP >::lookup(), klee::ImmutableTree< K, V, KOV, CMP >::lookup_previous(), klee::ImmutableTree< K, V, KOV, CMP >::lower_bound(), klee::ImmutableTree< K, V, KOV, CMP >::max(), klee::ImmutableTree< K, V, KOV, CMP >::min(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator++(), and klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator--().

| ImmutableTree< K, V, KOV, CMP >::Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::popMax | ( | value_type & | valueOut | ) |
Definition at line 356 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::Node::incref().

| ImmutableTree< K, V, KOV, CMP >::Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::popMin | ( | value_type & | valueOut | ) |
Definition at line 345 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::Node::incref().
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::remove().


| ImmutableTree< K, V, KOV, CMP >::Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::remove | ( | const key_type & | k | ) |
Definition at line 399 of file ImmutableTree.h.
References klee::ImmutableTree< K, V, KOV, CMP >::min(), and klee::ImmutableTree< K, V, KOV, CMP >::Node::popMin().

| ImmutableTree< K, V, KOV, CMP >::Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::replace | ( | const value_type & | v | ) |
Definition at line 383 of file ImmutableTree.h.
| size_t klee::ImmutableTree< K, V, KOV, CMP >::Node::size |
Definition at line 335 of file ImmutableTree.h.
| unsigned klee::ImmutableTree< K, V, KOV, CMP >::Node::height |
Definition at line 77 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance().
| Node* klee::ImmutableTree< K, V, KOV, CMP >::Node::left |
Definition at line 75 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance(), klee::ImmutableTree< K, V, KOV, CMP >::count(), klee::ImmutableTree< K, V, KOV, CMP >::lookup(), klee::ImmutableTree< K, V, KOV, CMP >::lookup_previous(), klee::ImmutableTree< K, V, KOV, CMP >::min(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator++(), and klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator--().
| unsigned klee::ImmutableTree< K, V, KOV, CMP >::Node::references |
Definition at line 77 of file ImmutableTree.h.
| Node * klee::ImmutableTree< K, V, KOV, CMP >::Node::right |
Definition at line 75 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance(), klee::ImmutableTree< K, V, KOV, CMP >::count(), klee::ImmutableTree< K, V, KOV, CMP >::lookup(), klee::ImmutableTree< K, V, KOV, CMP >::lookup_previous(), klee::ImmutableTree< K, V, KOV, CMP >::max(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator++(), and klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator--().
|
static |
Definition at line 74 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::Node().
| value_type klee::ImmutableTree< K, V, KOV, CMP >::Node::value |
Definition at line 76 of file ImmutableTree.h.
Referenced by klee::ImmutableTree< K, V, KOV, CMP >::Node::balance(), klee::ImmutableTree< K, V, KOV, CMP >::count(), klee::ImmutableTree< K, V, KOV, CMP >::lookup(), klee::ImmutableTree< K, V, KOV, CMP >::lookup_previous(), klee::ImmutableTree< K, V, KOV, CMP >::lower_bound(), klee::ImmutableTree< K, V, KOV, CMP >::max(), klee::ImmutableTree< K, V, KOV, CMP >::min(), klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator*(), and klee::ImmutableTree< K, V, KOV, CMP >::iterator::operator->().