tlx
BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::result_t Struct Reference

B+ tree recursive deletion has much information which is needs to be passed upward. More...

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. More...
 
 result_t (result_flags_t f, const key_type &k)
 Constructor with a lastkey value. More...
 
bool has (result_flags_t f) const
 Test if this result object has a given flag set. More...
 
result_toperator|= (const result_t &other)
 Merge two results OR-ing the result flags and overwriting lastkeys. More...
 

Public Attributes

result_flags_t flags
 Merged result flags. More...
 
key_type lastkey
 The key to be updated at the parent's slot. More...
 

Detailed Description

template<typename Key, typename Value, typename KeyOfValue, typename Compare = std::less<Key>, typename Traits = btree_default_traits<Key, Value>, bool Duplicates = false, typename Allocator = std::allocator<Value>>
struct tlx::BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::result_t

B+ tree recursive deletion has much information which is needs to be passed upward.

Definition at line 2325 of file btree.hpp.

Constructor & Destructor Documentation

result_t ( result_flags_t  f = btree_ok)
inline

Constructor of a result with a specific flag, this can also be used as for implicit conversion.

Definition at line 2334 of file btree.hpp.

result_t ( result_flags_t  f,
const key_type k 
)
inline

Constructor with a lastkey value.

Definition at line 2339 of file btree.hpp.

Member Function Documentation

bool has ( result_flags_t  f) const
inline

Test if this result object has a given flag set.

Definition at line 2344 of file btree.hpp.

result_t& operator|= ( const result_t other)
inline

Merge two results OR-ing the result flags and overwriting lastkeys.

Definition at line 2349 of file btree.hpp.

Member Data Documentation

Merged result flags.

Definition at line 2327 of file btree.hpp.

key_type lastkey

The key to be updated at the parent's slot.

Definition at line 2330 of file btree.hpp.


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