interface for converting a key from its raw format to a keyTypeype. Split key into groups. More...
#include <io_helper.h>
Public Member Functions | |
virtual bool | convert (char *s, keyType *T, valueType *V)=0 |
convert a input-style line to key/value pair. More... | |
virtual bool | convert (char *s, keyType *T)=0 |
skip the value. | |
virtual void | splitgrp (const keyType &key, uint32_t &grp, keyType &keyInGroup)=0 |
split a keyTypeype value into two parts: groupID/keyInGroup by the highest splitbit bits. | |
virtual void | combgrp (keyType &key, uint32_t &grp, keyType &keyInGroup)=0 |
combine groupID/keyInGroup to the origional key | |
interface for converting a key from its raw format to a keyTypeype. Split key into groups.
|
pure virtual |
convert a input-style line to key/value pair.
[in] | char | *s, a line from the input. |
[out] | keyType* | T, converted key. |
[out] | valueType* | V, converted value. |
boolean | return true if convert is success. |
Implemented in ConstantLengthKmerHelper< keyType, valueType >.