Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
Object and functions for storing data.
+ Collaboration diagram for Object and functions for storing data.:

Files

file  instance.hpp
 
file  IntVec.hpp
 
file  pQueue.hpp
 
file  PtrVec.hpp
 
file  queue.hpp
 
file  search.h
 
file  Tree.hpp
 

Detailed Description

Database and SQL I/O. The recommended method is to place stored procedures in the target databases, and call them using this object to minimize SQL implementation specific code.

When your application is using PostgreSQL, compile with -DUSE_POSTGRES and link with -lSaSSqlPostgres -lSaSSql. To create a new instance of a PostgreSQL object:

#ifdef USE_POSTGRES
SQL * dbObject = new SQL_postgres();
#endif

When your application is using MySql, compile with -DUSE_MYSQL and link with -lSaSSqlMySql -lSaSSql. To create a new instance of a MySql object:

#ifdef USE_MYSQL
SQL * dbOject = new SQL_mysql();
#endif

When your application is using Oracle, compile with -DUSE_ORACLE and link with -lSaSSqlOracle -lSaSSql. To create a new instance of a Oracle object:

#ifdef USE_ORACLE
SQL * dbOject = new SQL_oracle();
#endif

When your application is using SQL-Lite, compile with -DUSE_SQLLITE and link with -lSaSSqlLite -lSaSSql. To create a new instance of a SqlLite object:

#ifdef USE_SQLLITE
SQL * dbOject = new SQL_lite();
#endif

When your application is using Microsoft SQL, compile with -DUSE_MSSQL and link with -lSaSSqlMsSql -lSaSSql. To create a new instance of a MsSql object:

#ifdef USE_MSSQL
SQL * dbOject = new SQL_mssql();
#endif

It is possible to compile an application that uses one or more SQL implementations.

#if defined(USE_POSTGRES) && defined(USE_MYSQL)
SQL * pgOject = new SQL_postgres();
SQL * myOject = new SQL_mysql();
#endif