Definition at line 59 of file lexify.h.
Public Types | |
enum | keytype |
Enumerator that describes the basic fixed-length and variable-length (sub-)key types that are used in B+-Trees and can be used in sorting. More... | |
Public Member Functions | |
bool | lexify (const key_type_s *kp, const void *d, void *res) |
Convert to lexicographic form. | |
bool | unlexify (const key_type_s *kp, const void *str, void *res) |
Convert from lexicographic form. | |
Static Public Member Functions | |
static keytype | convert (const key_type_s *k) |
Convert from a key_type_s to a keytype enumerator value. |
enum sortorder::keytype |
Enumerator that describes the basic fixed-length and variable-length (sub-)key types that are used in B+-Trees and can be used in sorting.
bool sortorder::lexify | ( | const key_type_s * | kp, | |
const void * | d, | |||
void * | res | |||
) |
Convert to lexicographic form.
[in] | kp | Describes the type and length of the string to be converted. |
[in] | d | The string to be converted. |
[out] | res | The result. |
bool sortorder::unlexify | ( | const key_type_s * | kp, | |
const void * | str, | |||
void * | res | |||
) |
Convert from lexicographic form.
[in] | kp | Describes the type and length of the string to be converted. |
[in] | str | The string in lexicographic form to be converted. |
[out] | res | The result. |