stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t Struct Reference

List of all members.

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_toperator|= (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.

Detailed Description

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
struct stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t

Definition at line 1844 of file btree.h.


Constructor & Destructor Documentation

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::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 1854 of file btree.h.

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::result_t::result_t ( result_flags_t  f,
const key_type k 
) [inline]

Constructor with a lastkey value.

Definition at line 1859 of file btree.h.


Member Function Documentation

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
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|=().

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
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.


Member Data Documentation

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
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|=().

template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
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|=().


The documentation for this struct was generated from the following file:
Generated on Sun May 13 19:24:42 2007 for STX B+ Tree Template Classes by  doxygen 1.5.2