CBMC
|
#include <sharing_node.h>
Public Types | |
typedef small_shared_n_way_ptrt< d_containert< keyT, valueT, equalT >, d_leaft< keyT, valueT, equalT >, d_internalt< keyT, valueT, equalT > > | datat |
typedef datat::use_countt | use_countt |
typedef d_internalt< keyT, valueT, equalT > | d_it |
typedef d_containert< keyT, valueT, equalT > | d_ct |
typedef d_leaft< keyT, valueT, equalT > | d_lt |
typedef d_it::to_mapt | to_mapt |
typedef d_ct::leaft | leaft |
typedef d_ct::leaf_listt | leaf_listt |
Public Member Functions | |
sharing_nodet () | |
template<class valueU > | |
sharing_nodet (const keyT &k, valueU &&v) | |
bool | empty () const |
void | clear () |
bool | shares_with (const sharing_nodet &other) const |
use_countt | use_count () const |
void | swap (sharing_nodet &other) |
bool | is_internal () const |
bool | is_container () const |
bool | is_leaf () const |
bool | is_defined_internal () const |
bool | is_defined_container () const |
bool | is_defined_leaf () const |
const d_it & | read_internal () const |
const d_ct & | read_container () const |
const d_lt & | read_leaf () const |
const to_mapt & | get_to_map () const |
to_mapt & | get_to_map () |
const leaf_listt & | get_container () const |
leaf_listt & | get_container () |
const leaft * | find_leaf (const keyT &k) const |
leaft * | find_leaf (const keyT &k) |
template<class valueU > | |
void | place_leaf (const keyT &k, valueU &&v) |
void | remove_leaf (const keyT &k) |
const d_it::innert * | find_child (const std::size_t n) const |
d_it::innert & | add_child (const std::size_t n) |
void | remove_child (const std::size_t n) |
const keyT & | get_key () const |
const valueT & | get_value () const |
template<class valueU > | |
void | make_leaf (const keyT &k, valueU &&v) |
template<class valueU > | |
void | set_value (valueU &&v) |
void | mutate_value (std::function< void(valueT &)> mutator) |
Protected Member Functions | |
d_it & | write_internal () |
d_ct & | write_container () |
Protected Attributes | |
datat | data |
Definition at line 109 of file sharing_node.h.
typedef d_containert< keyT, valueT, equalT > sharing_nodet< keyT, valueT, equalT >::d_ct |
Definition at line 116 of file sharing_node.h.
typedef d_internalt< keyT, valueT, equalT > sharing_nodet< keyT, valueT, equalT >::d_it |
Definition at line 115 of file sharing_node.h.
typedef d_leaft< keyT, valueT, equalT > sharing_nodet< keyT, valueT, equalT >::d_lt |
Definition at line 117 of file sharing_node.h.
typedef small_shared_n_way_ptrt< d_containert< keyT, valueT, equalT >, d_leaft< keyT, valueT, equalT >, d_internalt< keyT, valueT, equalT > > sharing_nodet< keyT, valueT, equalT >::datat |
Definition at line 112 of file sharing_node.h.
typedef d_ct::leaf_listt sharing_nodet< keyT, valueT, equalT >::leaf_listt |
Definition at line 122 of file sharing_node.h.
typedef d_ct::leaft sharing_nodet< keyT, valueT, equalT >::leaft |
Definition at line 121 of file sharing_node.h.
typedef d_it::to_mapt sharing_nodet< keyT, valueT, equalT >::to_mapt |
Definition at line 119 of file sharing_node.h.
typedef datat::use_countt sharing_nodet< keyT, valueT, equalT >::use_countt |
Definition at line 113 of file sharing_node.h.
|
inline |
Definition at line 124 of file sharing_node.h.
|
inline |
Definition at line 129 of file sharing_node.h.
|
inline |
Definition at line 360 of file sharing_node.h.
|
inline |
Definition at line 147 of file sharing_node.h.
|
inline |
Definition at line 142 of file sharing_node.h.
|
inline |
Definition at line 342 of file sharing_node.h.
|
inline |
Definition at line 267 of file sharing_node.h.
|
inline |
Definition at line 250 of file sharing_node.h.
|
inline |
Definition at line 243 of file sharing_node.h.
|
inline |
Definition at line 238 of file sharing_node.h.
|
inline |
Definition at line 380 of file sharing_node.h.
|
inline |
Definition at line 233 of file sharing_node.h.
|
inline |
Definition at line 228 of file sharing_node.h.
|
inline |
Definition at line 391 of file sharing_node.h.
|
inline |
Definition at line 180 of file sharing_node.h.
|
inline |
Definition at line 195 of file sharing_node.h.
|
inline |
Definition at line 190 of file sharing_node.h.
|
inline |
Definition at line 200 of file sharing_node.h.
|
inline |
Definition at line 175 of file sharing_node.h.
|
inline |
Definition at line 185 of file sharing_node.h.
|
inline |
Definition at line 399 of file sharing_node.h.
|
inline |
Definition at line 424 of file sharing_node.h.
|
inline |
Definition at line 287 of file sharing_node.h.
|
inline |
Definition at line 212 of file sharing_node.h.
|
inline |
Definition at line 205 of file sharing_node.h.
|
inline |
Definition at line 219 of file sharing_node.h.
|
inline |
Definition at line 368 of file sharing_node.h.
|
inline |
Definition at line 301 of file sharing_node.h.
|
inline |
Definition at line 407 of file sharing_node.h.
|
inline |
Definition at line 155 of file sharing_node.h.
|
inline |
Definition at line 168 of file sharing_node.h.
|
inline |
Definition at line 163 of file sharing_node.h.
|
inlineprotected |
Definition at line 457 of file sharing_node.h.
|
inlineprotected |
Definition at line 439 of file sharing_node.h.
|
protected |
Definition at line 475 of file sharing_node.h.