vdkxdb 2.4.0
|
VDKXdb2 is a wrapper on Xbase (or xdb) library. It provides a set of VDK data-aware widgets and some database classes:
XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library originally by Gary Kunkel and others. XBASE is useful for accessing data in legacy dBase 3 and 4 database files as well as a general light-weight database engine. It includes support for DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT (dBase version 3 and 4). It supports file and record locking under *nix OS's (we hope to fix the locking support under Win32 soon).
Since VDKXDatabase, VDKXTable and VDKXTableIndex are subclasses of xdb object user should have some knowledge on using xdb, refer to xdb documentation for further informations and behaviours. More informations on xdb can be achieved visiting http://xdb.sourceforge.net
As usual in VDK all vdkxdb objects should be constructed on the heap with new operator. An exception is VDKXdb class that can be a static/automatic object. Is not necessary to explicitely close and destroy VDKXTable and VDKXTableIndex since when a VDKXDatabase object is destroyed all associated tables and indices will be flushed, closed and destroyed as well. All new'ed vdxdb objects will be automatically deleted before program termination or with GC.