Download
dtl
Thank you for for trying the database template library!
Download in ZIP format (~500K) Version 2.0
Change Log :
Release Notes
- Version 1.1 to 2.0; Released March 10th 2001.
- Added support for Boris Fomitchev's
STLPort implementation of the SGI Standard
Template Library.
- Successfully ported code
to Red Hat Linux 7 under gcc 2.95 running
unixODBC and a MySQL 3.23.33 database.
- Corrected constness
throughout DTL. This fixed some issues that we had in 1.1 which
prevented us from running correctly versus some of the standard
STL algorithms.
- Rewrote the code to make
it exception safe.
- Added error handling
support for all DTL iterator classes,
DBView, and IndexedDBView in the form of
IOHandler.
- Iterator refinements:
- DB_select_iterator::operator*()
now returns
a const DataObj
& to
make that operation truly read-only.
- All output
iterators now use proxies to
emulate *it = value to
enforce
their write-only quality.
- Also fixed prefix/postix
implementation for operator++()
on all
iterators.
- Enhanced DBConnection class to use ODBC connection
pooling.
- Added Julian date support through
the jtime_c class.
- Simplified the structure for DBView to need fewer template parameters. In version 1.1
the structure was DBView<DataObj, ParamObj, BCA, BPA> in version 2.0 the structure is simplified to DBView<DataObj, ParamObj> .
- Version 1.0 to 1.1; Released December 20th 2000.
- Fixed minor typos in documentation.
To register
to receive notifications when new versions of the
library are available, send us an e-mail with the subject "DTL Registration".
Copyright © 2001, Michael Gradman and Corwin Joy.
Permission to use, copy,
modify, distribute and sell this software and its documentation
for any purpose is hereby granted without fee, provided that the
above copyright notice appears in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation. Corwin Joy and Michael Gradman make no
representations about the suitability of this software for any
purpose. It is provided "as is" without express or
implied warranty.