STX B+ Tree Template Classes
0.9
|
Function class to compare value_type objects. Required by the STL. More...
#include <btree.h>
Public Member Functions | |
bool | operator() (const value_type &x, const value_type &y) const |
Function call "less"-operator resulting in true if x < y. | |
Protected Member Functions | |
value_compare (key_compare kc) | |
Constructor called from btree::value_comp() | |
Protected Attributes | |
key_compare | key_comp |
Key comparison function from the template parameter. | |
Friends | |
class | btree< key_type, data_type, value_type, key_compare, traits, allow_duplicates, allocator_type, used_as_set > |
Friendly to the btree class so it may call the constructor. |
Function class to compare value_type objects. Required by the STL.
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc, _UsedAsSet >::value_compare::value_compare | ( | key_compare | kc | ) | [inline, protected] |
Constructor called from btree::value_comp()
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc, _UsedAsSet >::value_compare::operator() | ( | const value_type & | x, |
const value_type & | y | ||
) | const [inline] |
friend class btree< key_type, data_type, value_type, key_compare,traits, allow_duplicates, allocator_type, used_as_set > [friend] |
key_compare stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc, _UsedAsSet >::value_compare::key_comp [protected] |
Key comparison function from the template parameter.
Definition at line 1375 of file btree.h.
Referenced by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc, _UsedAsSet >::value_compare::operator()().