[sword-devel] Complex keys

Victor Porton sword-devel@crosswire.org
Sun, 26 May 2002 22:01:30 +0600


Hi, I'm a programmer.

I need to create modules whose keys are complex (not just a string, not just 
book/chap/verse, but a class). Exactly I need to create modules where about 
keys it is only known how to serialize/deserialize keys. (Keys would have 
virtual methods like virtual void Serialize(ostream &stream)).

Where to begin to dig?

The main problem is: which file format can be used?

Or probably just numbers should be used as keys. And keys should be moved into 
the value part, shouldn't these? What you think?
-- 
Victor Porton (porton@narod.ru)