|
STX B+ Tree Template Classes 0.8.6
|
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 > |
| 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 >::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 >::value_compare::operator() | ( | const value_type & | x, |
| const value_type & | y | ||
| ) | const [inline] |
Function call "less"-operator resulting in true if x < y.
Definition at line 1334 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::value_compare::key_comp.
friend class btree< key_type, data_type, value_type, key_compare, traits, allow_duplicates > [friend] |
key_compare stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::value_compare::key_comp [protected] |
Key comparison function from the template parameter.
Definition at line 1322 of file btree.h.
Referenced by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates, _Alloc >::value_compare::operator()().
1.7.3