QxOrm - C++的ORM框架


LGPL
跨平台
C/C++

软件简介

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 < QxOrm.h> to include in precompiled-header (need precompiled-header file to reduce compilation times)