| lab_btree
    Belligerent BTrees | 
A fancy key-value pair which acts as elements in the BTree. More...
| Public Member Functions | |
| DataPair (K key, V value) | |
| Constructs a DataPair from the given key and value.  More... | |
| bool | operator< (const DataPair &rhs) const | 
| Less than operator for a DataPair.  More... | |
| bool | operator< (const K &rhs) const | 
| Less than operator for a DataPair and a K.  More... | |
| bool | operator> (const DataPair &rhs) const | 
| Greater than operator for a DataPair.  More... | |
| bool | operator> (const K &rhs) const | 
| Greater than operator for a DataPair and a K.  More... | |
| bool | operator== (const DataPair &rhs) const | 
| Equality operator for a DataPair.  More... | |
| bool | operator== (const K &rhs) const | 
| Equality operator for a DataPair and a K.  More... | |
| Public Attributes | |
| K | key | 
| V | value | 
| Friends | |
| bool | operator< (const K &lhs, const DataPair &rhs) | 
| Less than operator for a K and a DataPair.  More... | |
| bool | operator> (const K &lhs, const DataPair &rhs) | 
| Greater than operator for a K and a DataPair.  More... | |
| bool | operator== (const K &lhs, const DataPair &rhs) | 
| Equality operator for a K and a DataPair.  More... | |
A fancy key-value pair which acts as elements in the BTree.
Can be compared with <, >, ==. Additionally they can be compared against a K with <, > and == based on its key.
| 
 | inline | 
Constructs a DataPair from the given key and value.
| key | The key of the pair. | 
| value | The value of the pair. | 
| 
 | inline | 
Less than operator for a DataPair.
The object is less than another if its key is less than the other's key.
| rhs | The right hand of the < operator. | 
| 
 | inline | 
Less than operator for a DataPair and a K.
| rhs | The right hand side (K) of the < operator. | 
| 
 | inline | 
Equality operator for a DataPair.
One is equal to another if its key is equal to the other's key.
| rhs | The right hand of the == operator. | 
| 
 | inline | 
Equality operator for a DataPair and a K.
| rhs | The right hand side (K) of the == operator. | 
| 
 | inline | 
Greater than operator for a DataPair and a K.
| rhs | The right hand side (K) of the > operator. | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend |