Public Member Functions | |
result_t (result_flags_t f=btree_ok) | |
Constructor of a result with a specific flag, this can also be used as for implicit conversion. | |
result_t (result_flags_t f, const key_type &k) | |
Constructor with a lastkey value. | |
bool | has (result_flags_t f) const |
Test if this result object has a given flag set. | |
result_t & | operator|= (const result_t &other) |
Merge two results OR-ing the result flags and overwriting lastkeys. | |
Public Attributes | |
result_flags_t | flags |
Merged result flags. | |
key_type | lastkey |
The key to be updated at the parent's slot. |
Definition at line 1844 of file btree.h.
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::result_t | ( | result_flags_t | f = btree_ok |
) | [inline] |
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::result_t | ( | result_flags_t | f, | |
const key_type & | k | |||
) | [inline] |
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::has | ( | result_flags_t | f | ) | const [inline] |
Test if this result object has a given flag set.
Definition at line 1864 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::flags.
Referenced by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::erase_one(), and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::operator|=().
result_t& stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::operator|= | ( | const result_t & | other | ) | [inline] |
Merge two results OR-ing the result flags and overwriting lastkeys.
Definition at line 1870 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::btree_update_lastkey, stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::flags, stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::has(), and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::lastkey.
result_flags_t stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::flags |
Merged result flags.
Definition at line 1847 of file btree.h.
Referenced by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::has(), and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::operator|=().
key_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::lastkey |
The key to be updated at the parent's slot.
Definition at line 1850 of file btree.h.
Referenced by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::operator|=().