Add more serialization implementation.

This commit is contained in:
Matthias Vallentin 2013-06-04 15:30:27 -07:00
parent a5572dd66f
commit 751cf61293
6 changed files with 129 additions and 42 deletions

View file

@ -53,6 +53,7 @@ SERIAL_IS(BITVECTOR, 0x1500)
SERIAL_IS(COUNTERVECTOR, 0xa000)
SERIAL_IS(BLOOMFILTER, 0xa100)
SERIAL_IS(BASICBLOOMFILTER, 0xa200)
SERIAL_IS(COUNTINGBLOOMFILTER, 0xa300)
// These are the externally visible types.
const SerialType SER_NONE = 0;
@ -211,5 +212,6 @@ SERIAL_CONST2(BITVECTOR)
SERIAL_CONST2(COUNTERVECTOR)
SERIAL_CONST2(BLOOMFILTER)
SERIAL_CONST2(BASICBLOOMFILTER)
SERIAL_CONST2(COUNTINGBLOOMFILTER)
#endif