11 May
2012
11 May
'12
11:55 p.m.
Hi, We are looking at the different storage types in IBRDTN, and trying to understand SQLite in particular.
We don't understand what this line in get() should do.
SQLBundleQuery &query = dynamic_cast<SQLBundleQuery&>(cb);
The SQLBundleQuery seems like an abstract class, and we don't see anything extending it to add actual functionality. What is the intention with this cast?
Our other question is the nested while loops in get(). We are guessing that it's paging through the MetaBundles in the database, 10 at a time, to avoid loading too much into RAM. Is that right?
Thanks, Brenton