skip to main content
Setting Up the Samples : Description of the samples : C++: example2
 

C++: example2

The IP in example2 is exactly like example1 except that it is written in C++. Like example1, example2 supports SELECT, INSERT, UPDATE and DELETE statements. It implements a single table CURVALUE for a memory database called MDB. The MDB database is implemented in the mdb.cpp file. The IP code is contained in the xxx_drv.cpp and xxx_util.cpp files. The file xxx_util.cpp contains the functions to build rows and call the OpenAccess SDK SQL engine to validate the rows. The file xxx_drv.cpp contains the entry points for each of the required IP functions.
Highlights of this example are:
*Written in C++
*Can be configured to use static schema or dynamic schema
*Exposes a single table with full capability