Boost logo

Boost :

From: Javier Estrada (ljestrada_at_[hidden])
Date: 2002-04-15 12:10:05

Hello, Martijn,

I'm interested--hopefully someone else will be :-)

A question that I have is how generic is it? I assume that the "virtual" in
the title should tell me that, but how would you plug a specific technology
to it, e.g., DAO, OLE DB, JDBC? Or do I have to fill it up manually?

DTL is something that I've been exploring--still reading about it for ODBC.
It offers iterators over an ODBC source, filters and other niceties.

The Database Template Library:



<mwvdlee_at_[hidden]> wrote in message
> posted this on the user list first, got replied to post to dev.list
> -----------------------------------------------
> Hi,
> I've created a small framework called Virtual DataBase (VDB) which is in
> actuality a set of three classes which handle tables of data.
> table<DataT>
> Manages a random number of records of type DataT (using std::vector),
> all memory management. Holds and manages the actual records used by the
> and takes care of updating the views and trackers.
> view<DataT>
> Manages a sorted and/or filtered view of the records in a table. The
filter and
> sort algorithms are supplied through functions or functors and is quite
> (though there's still known room for improvement).
> tracker<DataT>
> Tracks a single record in a table. If the record is deleted, the tracker
> invalid, it is initialized by index of view but will be further extended.
> That's basically it. It's built to be generic, simple and reusable. What
are the
> chances of such a framework finding a place in the large Boost library?
> Currently everything seems to be working based on simple testcases but I'm
> working on creating real unitttest testcases (using my own "Testkit"
> system), currently about 50% of testcases done.
> Special "record" and "database" classes are planned in the future but are
> considered "non-core" functionality.
> regards,
> Martijn van der Lee
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at