This library allow converting any format in any other format where compatibles formats are RDB, CSV, SQL (Supported SQL servers: MS SQLServer and PosgreSQL)
To use it, create a ExternDescriptedDatabase object with the db description DLL name in parameter: for example: new ExternDescriptedDatabase("StringDatabase.dll");
then use database provided functions readData(...) and writeData(...)
(only source parameter is used when dealing with RDB and CSV files, for SQL, location = odbc DSN, user = user and password = password :o)
for CSV, when passing the source named "con", it will use standard input/output (for ex: writeData(Database:: DST_CSV, "con"); will print database content on console screen)
you can provide a callback function to show a progress bar for example with the third argument of writeData and readData (pass NULL if you don't to use this feature)
to get the contents of the database, use getRows(); from Database, it return a vector containing void** values, use a RowManipulator class to manage rows (for a row named void **theRow, use setCurrentRow(theRow); )
you can retreive pointer to data with getValuePtr().
types and ignore flags are declared in DataType.h.
[EDIT]: Use the updated version [Only registered and activated users can see links. Click Here To Register...]
virustotal scan: [Only registered and activated users can see links. Click Here To Register...]
To use it, create a ExternDescriptedDatabase object with the db description DLL name in parameter: for example: new ExternDescriptedDatabase("StringDatabase.dll");
then use database provided functions readData(...) and writeData(...)
(only source parameter is used when dealing with RDB and CSV files, for SQL, location = odbc DSN, user = user and password = password :o)
for CSV, when passing the source named "con", it will use standard input/output (for ex: writeData(Database:: DST_CSV, "con"); will print database content on console screen)
you can provide a callback function to show a progress bar for example with the third argument of writeData and readData (pass NULL if you don't to use this feature)
to get the contents of the database, use getRows(); from Database, it return a vector containing void** values, use a RowManipulator class to manage rows (for a row named void **theRow, use setCurrentRow(theRow); )
you can retreive pointer to data with getValuePtr().
types and ignore flags are declared in DataType.h.
[EDIT]: Use the updated version [Only registered and activated users can see links. Click Here To Register...]
virustotal scan: [Only registered and activated users can see links. Click Here To Register...]