红联Linux门户
Linux帮助

C++的ORM框架 QxOrm

发布时间:2013-01-05 21:26:51来源:红联作者:empast
QxOrm 是一个 C++ 库用来提供 ORM 功能,基于 Qt 的 QtSql 库。

主要特性:

persistence : communication with a lot of databases (with 1-1, 1-n, n-1 and n-n relationships)
serialization : binary and xml format
reflection : access to classes definitions, retrieve properties and call classes methods

优点:

non intrusive : the C++ setting function doesn't modified class definition, QxOrm can be used in existing projects
no code generation
no xml mapping file
classes doesn't need to inherit from a 'super object'
template meta-programming : no macro hack
works with Visual C++ 2008 or 2010 on Windows and GCC 4.4.1 on Linux (other platforms will be tested soon : Mac, phones...)
only one file to include in precompiled-header (need precompiled-header file to reduce compilation times)

项目主页:http://sourceforge.net/projects/qxorm/

下载地址:http://sourceforge.net/projects/qxorm/files/

来自:开源中国社区
文章评论

共有 0 条评论