Kyoto Cabinet
|
Interfrace of comparator of record keys. More...
#include <kccompare.h>
Public Member Functions | |
virtual | ~Comparator () |
Destructor. | |
virtual int32_t | compare (const char *akbuf, size_t aksiz, const char *bkbuf, size_t bksiz)=0 |
Compare two keys. |
Interfrace of comparator of record keys.
virtual kyotocabinet::Comparator::~Comparator | ( | ) | [virtual] |
Destructor.
virtual int32_t kyotocabinet::Comparator::compare | ( | const char * | akbuf, |
size_t | aksiz, | ||
const char * | bkbuf, | ||
size_t | bksiz | ||
) | [pure virtual] |
Compare two keys.
akbuf | the pointer to the region of one key. |
aksiz | the size of the region of one key. |
bkbuf | the pointer to the region of the other key. |
bksiz | the size of the region of the other key. |
Implemented in kyotocabinet::DecimalDescendingComparator, kyotocabinet::DecimalComparator, kyotocabinet::LexicalDescendingComparator, and kyotocabinet::LexicalComparator.