Implementation of SQLite database support in program gama-local

V. Petras
{"title":"Implementation of SQLite database support in program gama-local","authors":"V. Petras","doi":"10.14311/GI.7.6","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":436054,"journal":{"name":"Geoinformatics FCE CTU","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Geoinformatics FCE CTU","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14311/GI.7.6","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
SQLite数据库支持的实现
gamma -local程序是GNU gamma项目的一部分,允许调整本地大地测量网。在实现这个项目之前,gamma -local程序只支持XML作为输入。我设计并实现了对SQLite数据库的支持,并且由于这个扩展,gamma -local可以从SQLite数据库读取输入数据。本文主要讨论使用本地SQLite C/ c++应用程序编程接口在c++中使用回调函数的细节。本文提供了用c++编写的安全调用回调函数的解决方案。回调函数从C库中调用,C库本身由c++程序使用。提供的解决方案结合了详细描述的几种编程技术,因此本文甚至可以作为新手程序员的食谱。这个项目是在我的学士论文中完成的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
An Alternative Choice in Heighting Plotting the map projection graticule involving discontinuities based on combined sampling Implication of Human Induced Activities on Ecotourism in Ikogosi Warm Spring Centre, Ekiti State, Southern western, Nigeria Accurate Measurement of the Riverbed Model for Deformation Analysis using Laser Scanning Technology Geodetic work at the archaeological site Tell el-Retaba
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1