OTL 4.0 was built as a state machine with a simple C++ stream
like interface. OTL 4.0 has a template framework, which implements
stream concept. The framework is comprised of template
inline functions. The template classes have ordinary classes as
The parameters of the class type form a set of classes
the framework with an actual implementation of a database API.
Such an implementation is called the OTL-adapter for a given database API. In OTL 4.0, OTL-adapters for the following database APIs were implemented:
The adapters are low level / thin wrappers around the database APIs. The adapter classes are substituted directly into the framework, so the OTL 4.0 works almost at the level of the database APIs because the OTL templates get expanded literally into the database API function calls.
The template framework and an OTL-adapter substituted into the framework generate an instance of the following concrete OTL classes:
Prev Next Contents Go Home
Copyright © 1996-2017, Sergei Kuchin, email: email@example.com, firstname.lastname@example.org.
Permission to use, copy, modify and redistribute this document for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.