Implementation of SQLite database support in program gama-local
暂无分享,去创建一个
The program gama-local is a part of GNU Gama project and allows adjustment of local geodetic networks. Before realization of this project the program gama-local supported only XML as an input. I designed and implemented support for the SQLite database and thanks to this extension gama-local can read input data from the SQLite database. This article is focused on the specifics of the use of callback functions in C++ using the native SQLite C/C++ Application Programming Interface. The article provides solution to safe calling of callback functions written in C++. Callback functions are called from C library and C library itself is used by C++ program. Provided solution combines several programing techniques which are described in detail, so this article can serve as a cookbook even for beginner programmers. This project was accomplished within my bachelor thesis.
[1] Petráš Václav. Podpora databáze SQLite pro program gama-local , 2011 .
[2] Bjarne Stroustrup,et al. The C++ Programming Language: Special Edition , 2000 .
[3] Herb Sutter,et al. C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (C++ in Depth Series) , 2004 .
[4] Herb Sutter,et al. C++ coding standards , 2004 .
[5] Bjarne Stroustrup,et al. C++ Programming Language , 1986, IEEE Softw..