first commit
122
.gitignore
vendored
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
.DS_Store
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
coverage
|
||||||
|
*.local
|
||||||
|
|
||||||
|
/cypress/videos/
|
||||||
|
/cypress/screenshots/
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
|
/build
|
||||||
|
/.cache
|
||||||
|
/Third/QxOrm/lib
|
||||||
|
**/.vscode/
|
||||||
|
**/build
|
||||||
|
|
||||||
|
# This file is used to ignore files which are generated
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
*~
|
||||||
|
*.autosave
|
||||||
|
*.a
|
||||||
|
*.core
|
||||||
|
*.moc
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.orig
|
||||||
|
*.rej
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*_pch.h.cpp
|
||||||
|
*_resource.rc
|
||||||
|
*.qm
|
||||||
|
.#*
|
||||||
|
*.*#
|
||||||
|
core
|
||||||
|
!core/
|
||||||
|
tags
|
||||||
|
.DS_Store
|
||||||
|
.directory
|
||||||
|
*.debug
|
||||||
|
Makefile*
|
||||||
|
*.prl
|
||||||
|
*.app
|
||||||
|
moc_*.cpp
|
||||||
|
ui_*.h
|
||||||
|
qrc_*.cpp
|
||||||
|
Thumbs.db
|
||||||
|
*.res
|
||||||
|
*.rc
|
||||||
|
/.qmake.cache
|
||||||
|
/.qmake.stash
|
||||||
|
|
||||||
|
# qtcreator generated files
|
||||||
|
*.pro.user*
|
||||||
|
*.qbs.user*
|
||||||
|
CMakeLists.txt.user*
|
||||||
|
CMakeLists.txt.user
|
||||||
|
|
||||||
|
# xemacs temporary files
|
||||||
|
*.flc
|
||||||
|
|
||||||
|
# Vim temporary files
|
||||||
|
.*.swp
|
||||||
|
|
||||||
|
# Visual Studio generated files
|
||||||
|
*.ib_pdb_index
|
||||||
|
*.idb
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
|
*.sln
|
||||||
|
*.suo
|
||||||
|
*.vcproj
|
||||||
|
*vcproj.*.*.user
|
||||||
|
*.ncb
|
||||||
|
*.sdf
|
||||||
|
*.opensdf
|
||||||
|
*.vcxproj
|
||||||
|
*vcxproj.*
|
||||||
|
|
||||||
|
# MinGW generated files
|
||||||
|
*.Debug
|
||||||
|
*.Release
|
||||||
|
|
||||||
|
# Python byte code
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Binaries
|
||||||
|
# --------
|
||||||
|
*.dll
|
||||||
|
*.exe
|
||||||
|
|
||||||
|
# Directories with generated files
|
||||||
|
.moc/
|
||||||
|
.obj/
|
||||||
|
.pch/
|
||||||
|
.rcc/
|
||||||
|
.uic/
|
||||||
|
/build*/
|
||||||
|
.VSCodeCounter
|
||||||
|
bin
|
||||||
|
.vs
|
||||||
|
CMakeSettings.json
|
||||||
|
CMakeUserPresets.json
|
||||||
676
CMakeLists.txt
Normal file
@@ -0,0 +1,676 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## https://www.qxorm.com/
|
||||||
|
## Copyright (C) 2013 XDL Team (ic-east.com)
|
||||||
|
##
|
||||||
|
## This file is part of the QxOrm library
|
||||||
|
##
|
||||||
|
## This software is provided 'as-is', without any express or implied
|
||||||
|
## warranty. In no event will the authors be held liable for any
|
||||||
|
## damages arising from the use of this software
|
||||||
|
##
|
||||||
|
## Commercial Usage
|
||||||
|
## Licensees holding valid commercial QxOrm licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and XDL Team
|
||||||
|
##
|
||||||
|
## GNU General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU
|
||||||
|
## General Public License version 3.0 as published by the Free Software
|
||||||
|
## Foundation and appearing in the file 'license.gpl3.txt' included in the
|
||||||
|
## packaging of this file. Please review the following information to
|
||||||
|
## ensure the GNU General Public License version 3.0 requirements will be
|
||||||
|
## met : http://www.gnu.org/copyleft/gpl.html
|
||||||
|
##
|
||||||
|
## If you are unsure which license is appropriate for your use, or
|
||||||
|
## if you have questions regarding the use of this file, please contact :
|
||||||
|
## ic-east.com
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
project(XdlOrm VERSION 1.5.0 LANGUAGES CXX)
|
||||||
|
|
||||||
|
# Include Conan generated files
|
||||||
|
if(EXISTS ${CMAKE_BINARY_DIR}/conan_toolchain.cmake)
|
||||||
|
include(${CMAKE_BINARY_DIR}/conan_toolchain.cmake)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Include QxOrm library configuration file (should be included by all projects which depend on QxOrm)
|
||||||
|
include(./XdlOrm.cmake)
|
||||||
|
|
||||||
|
set(CMAKE_AUTOMOC ON)
|
||||||
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
|
set(QX_HEADERS
|
||||||
|
./include/QxPrecompiled.h
|
||||||
|
./include/QxMemLeak/bool_array.h
|
||||||
|
./include/QxMemLeak/class_level_lock.h
|
||||||
|
./include/QxMemLeak/cont_ptr_utils.h
|
||||||
|
./include/QxMemLeak/debug_new.h
|
||||||
|
./include/QxMemLeak/fast_mutex.h
|
||||||
|
./include/QxMemLeak/fixed_mem_pool.h
|
||||||
|
./include/QxMemLeak/mem_leak.h
|
||||||
|
./include/QxMemLeak/mem_pool_base.h
|
||||||
|
./include/QxMemLeak/object_level_lock.h
|
||||||
|
./include/QxMemLeak/pctimer.h
|
||||||
|
./include/QxMemLeak/set_assign.h
|
||||||
|
./include/QxMemLeak/static_assert.h
|
||||||
|
./include/QxMemLeak/static_mem_pool.h
|
||||||
|
./include/QxSingleton/IxSingleton.h
|
||||||
|
./include/QxSingleton/QxSingleton.h
|
||||||
|
./include/QxSingleton/QxSingletonX.h
|
||||||
|
./include/QxSingleton/QxSingletonInit.h
|
||||||
|
./include/QxFactory/IxFactory.h
|
||||||
|
./include/QxFactory/QxFactory.h
|
||||||
|
./include/QxFactory/QxFactoryX.h
|
||||||
|
./include/QxCommon/QxConfig.h
|
||||||
|
./include/QxCommon/QxMacro.h
|
||||||
|
./include/QxCommon/QxHashValue.h
|
||||||
|
./include/QxCommon/QxBool.h
|
||||||
|
./include/QxCommon/QxCache.h
|
||||||
|
./include/QxCommon/QxPropertyBag.h
|
||||||
|
./include/QxCommon/QxSimpleCrypt.h
|
||||||
|
./include/QxCommon/QxAnyCastDynamic.h
|
||||||
|
./include/QxCommon/QxException.h
|
||||||
|
./include/QxCommon/QxExceptionCode.h
|
||||||
|
./include/QxCommon/QxAny.h
|
||||||
|
./include/QxConvert/QxConvert.h
|
||||||
|
./include/QxConvert/QxConvert_Impl.h
|
||||||
|
./include/QxConvert/QxConvert_Export.h
|
||||||
|
./include/QxRegister/IxClass.h
|
||||||
|
./include/QxRegister/QxClass.h
|
||||||
|
./include/QxRegister/QxClassX.h
|
||||||
|
./include/QxRegister/QxClassName.h
|
||||||
|
./include/QxRegister/QxRegister.h
|
||||||
|
./include/QxRegister/QxRegisterInternalHelper.h
|
||||||
|
./include/QxRegister/IxTypeInfo.h
|
||||||
|
./include/QxRegister/QxRegisterQtProperty.h
|
||||||
|
./include/QxRegister/QxVersion.h
|
||||||
|
./include/QxCollection/IxCollection.h
|
||||||
|
./include/QxCollection/QxCollection.h
|
||||||
|
./include/QxCollection/QxCollectionIterator.h
|
||||||
|
./include/QxCollection/QxForeach.h
|
||||||
|
./include/QxDataMember/IxDataMember.h
|
||||||
|
./include/QxDataMember/IxDataMemberX.h
|
||||||
|
./include/QxDataMember/QxDataMember.h
|
||||||
|
./include/QxDataMember/QxDataMemberX.h
|
||||||
|
./include/QxDataMember/QxDataMember_QObject.h
|
||||||
|
./include/QxDataMember/QxDataMember_PImpl.h
|
||||||
|
./include/QxDao/IxSqlQueryBuilder.h
|
||||||
|
./include/QxDao/QxSqlQueryBuilder.h
|
||||||
|
./include/QxDao/QxSqlQueryHelper.h
|
||||||
|
./include/QxDao/QxSqlQuery.h
|
||||||
|
./include/QxDao/QxSqlDatabase.h
|
||||||
|
./include/QxDao/IxSqlRelation.h
|
||||||
|
./include/QxDao/QxSqlRelation.h
|
||||||
|
./include/QxDao/QxSqlRelationParams.h
|
||||||
|
./include/QxDao/QxSqlRelation_ManyToMany.h
|
||||||
|
./include/QxDao/QxSqlRelation_ManyToOne.h
|
||||||
|
./include/QxDao/QxSqlRelation_OneToMany.h
|
||||||
|
./include/QxDao/QxSqlRelation_OneToOne.h
|
||||||
|
./include/QxDao/QxSqlRelation_RawData.h
|
||||||
|
./include/QxDao/QxDao.h
|
||||||
|
./include/QxDao/QxDao_Impl.h
|
||||||
|
./include/QxDao/QxDaoStrategy.h
|
||||||
|
./include/QxDao/QxDaoPointer.h
|
||||||
|
./include/QxDao/QxDao_IsDirty.h
|
||||||
|
./include/QxDao/QxSoftDelete.h
|
||||||
|
./include/QxDao/QxSqlError.h
|
||||||
|
./include/QxDao/QxSession.h
|
||||||
|
./include/QxDao/QxDateNeutral.h
|
||||||
|
./include/QxDao/QxTimeNeutral.h
|
||||||
|
./include/QxDao/QxDateTimeNeutral.h
|
||||||
|
./include/QxDao/IxDao_Helper.h
|
||||||
|
./include/QxDao/IxPersistable.h
|
||||||
|
./include/QxDao/IxPersistableCollection.h
|
||||||
|
./include/QxDao/IxPersistableList.h
|
||||||
|
./include/QxDao/QxSqlJoin.h
|
||||||
|
./include/QxDao/QxSqlRelationLinked.h
|
||||||
|
./include/QxDao/QxDaoAsync.h
|
||||||
|
./include/QxDao/QxSqlSaveMode.h
|
||||||
|
./include/QxDao/QxDaoThrowable.h
|
||||||
|
./include/QxDao/QxSqlElement/IxSqlElement.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlCompare.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlElement.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlElementTemp.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlEmbedQuery.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlExpression.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlFreeText.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlIn.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlIsBetween.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlIsNull.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlLimit.h
|
||||||
|
./include/QxDao/QxSqlElement/QxSqlSort.h
|
||||||
|
./include/QxDao/QxSqlGenerator/IxSqlGenerator.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_MySQL.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_Oracle.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_PostgreSQL.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_SQLite.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_MSSQLServer.h
|
||||||
|
./include/QxDao/QxSqlGenerator/QxSqlGenerator_Standard.h
|
||||||
|
./include/QxDao/QxRepository/IxRepository.h
|
||||||
|
./include/QxDao/QxRepository/QxRepository.h
|
||||||
|
./include/QxDao/QxRepository/QxRepositoryX.h
|
||||||
|
./include/QxDao/QxMongoDB/QxMongoDB_Helper.h
|
||||||
|
./include/QxSerialize/QxArchive.h
|
||||||
|
./include/QxSerialize/QxClone.h
|
||||||
|
./include/QxSerialize/QxDump.h
|
||||||
|
./include/QxSerialize/QxSerializeFastCompil.h
|
||||||
|
./include/QxSerialize/QxSerializeInvoker.h
|
||||||
|
./include/QxSerialize/QxSerializeMacro.h
|
||||||
|
./include/QxSerialize/QxSerialize.h
|
||||||
|
./include/QxSerialize/QxSerializeQDataStream.h
|
||||||
|
./include/QxSerialize/QxSerializeCheckInstance.h
|
||||||
|
./include/QxSerialize/QxSerializeQJson.h
|
||||||
|
./include/QxSerialize/boost/class_export/qx_boost_class_export.h
|
||||||
|
./include/QxSerialize/boost/portable_binary/portable_archive_exception.hpp
|
||||||
|
./include/QxSerialize/boost/portable_binary/portable_iarchive.hpp
|
||||||
|
./include/QxSerialize/boost/portable_binary/portable_oarchive.hpp
|
||||||
|
./include/QxSerialize/boost/QxSerializeInclude.h
|
||||||
|
./include/QxSerialize/boost/QxSerialize_shared_ptr.h
|
||||||
|
./include/QxSerialize/boost/QxSerialize_tuple.h
|
||||||
|
./include/QxSerialize/boost/QxSerialize_unordered_map.h
|
||||||
|
./include/QxSerialize/boost/QxSerialize_unordered_set.h
|
||||||
|
./include/QxSerialize/boost/QxExportDllMacroHpp.h
|
||||||
|
./include/QxSerialize/boost/QxExportDllMacroCpp.h
|
||||||
|
./include/QxSerialize/boost/QxExportDllBoostArchive.h
|
||||||
|
./include/QxSerialize/boost/QxImportDllBoostArchive.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QBrush.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QByteArray.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QColor.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QDate.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QDateTime.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QFont.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QHash.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QImage.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QFlags.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QLinkedList.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QList.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QMap.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QMatrix.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QObject.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QPair.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QPicture.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QPixmap.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QPoint.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QRect.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QRegExp.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QRegion.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QScopedPointer.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QSharedPointer.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QSize.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QString.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QTime.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QUrl.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QUuid.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QVariant.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QVector.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QWeakPointer.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QMultiHash.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QMultiMap.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QStringList.h
|
||||||
|
./include/QxSerialize/Qt/QxSerialize_QSqlError.h
|
||||||
|
./include/QxSerialize/Qx/QxSerialize_QxCollection.h
|
||||||
|
./include/QxSerialize/Qx/QxSerialize_QxDaoPointer.h
|
||||||
|
./include/QxSerialize/std/QxSerialize_std_tuple.h
|
||||||
|
./include/QxSerialize/std/QxSerialize_std_shared_ptr.h
|
||||||
|
./include/QxSerialize/std/QxSerialize_std_unique_ptr.h
|
||||||
|
./include/QxSerialize/std/QxSerialize_std_unordered_map.h
|
||||||
|
./include/QxSerialize/std/QxSerialize_std_unordered_set.h
|
||||||
|
./include/QxSerialize/QxBoostSerializeHelper/IxBoostSerializeRegisterHelper.h
|
||||||
|
./include/QxSerialize/QxBoostSerializeHelper/QxBoostInitGuid.h
|
||||||
|
./include/QxSerialize/QxBoostSerializeHelper/QxBoostSerializeHelper.h
|
||||||
|
./include/QxSerialize/QxBoostSerializeHelper/QxBoostSerializeRegisterHelper.h
|
||||||
|
./include/QxSerialize/QxBoostSerializeHelper/QxBoostSerializeRegisterHelperX.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_all_include.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_optional.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_scoped_ptr.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_shared_ptr.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_tuple.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_unordered_map.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_boost_unordered_set.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_primitive_type.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QFlags.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QObject.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QScopedPointer.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QSharedPointer.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QSqlError.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_QWeakPointer.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_list.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_map.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_pair.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_set.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_shared_ptr.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_string.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_tuple.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_unique_ptr.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_unordered_map.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_unordered_set.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_std_vector.h
|
||||||
|
./include/QxSerialize/QDataStream/QxSerializeQDataStream_qx_registered_class.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_all_include.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_boost_scoped_ptr.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_boost_shared_ptr.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_boost_tuple.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_boost_unordered_map.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_boost_unordered_set.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_IxParameter.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_IxService.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_IxSqlElement.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_IxPersistable.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QBrush.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QColor.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QFlags.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QFont.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QHash.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QImage.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QLinkedList.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QList.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QMap.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QMatrix.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QMultiHash.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QMultiMap.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QObject.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QPair.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QPicture.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QPixmap.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QPoint.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QRect.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QRegExp.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QRegion.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QScopedPointer.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QSharedPointer.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QSize.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QSqlError.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QStringList.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QUrl.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QVector.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QWeakPointer.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QVariantHash.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QVariantMap.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_qx_registered_class.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxCollection.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxDaoPointer.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxInvalidValue.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxInvalidValueX.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxSqlQuery.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_QxTransaction.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_list.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_map.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_pair.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_set.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_shared_ptr.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_tuple.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_unique_ptr.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_unordered_map.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_unordered_set.h
|
||||||
|
./include/QxSerialize/QJson/QxSerializeQJson_std_vector.h
|
||||||
|
./include/QxRestApi/QxRestApi.h
|
||||||
|
./include/QxTraits/get_base_class.h
|
||||||
|
./include/QxTraits/get_primary_key.h
|
||||||
|
./include/QxTraits/get_class_name.h
|
||||||
|
./include/QxTraits/get_class_name_primitive.h
|
||||||
|
./include/QxTraits/is_boost_intrusive_ptr.h
|
||||||
|
./include/QxTraits/is_boost_scoped_ptr.h
|
||||||
|
./include/QxTraits/is_boost_shared_ptr.h
|
||||||
|
./include/QxTraits/is_boost_weak_ptr.h
|
||||||
|
./include/QxTraits/is_qt_shared_data_ptr.h
|
||||||
|
./include/QxTraits/is_qt_shared_ptr.h
|
||||||
|
./include/QxTraits/is_qt_scoped_ptr.h
|
||||||
|
./include/QxTraits/is_qt_weak_ptr.h
|
||||||
|
./include/QxTraits/is_smart_ptr.h
|
||||||
|
./include/QxTraits/is_boost_unordered_map.h
|
||||||
|
./include/QxTraits/is_boost_unordered_set.h
|
||||||
|
./include/QxTraits/is_container.h
|
||||||
|
./include/QxTraits/is_qt_hash.h
|
||||||
|
./include/QxTraits/is_qt_linked_list.h
|
||||||
|
./include/QxTraits/is_qt_list.h
|
||||||
|
./include/QxTraits/is_qt_map.h
|
||||||
|
./include/QxTraits/is_qt_multi_hash.h
|
||||||
|
./include/QxTraits/is_qt_multi_map.h
|
||||||
|
./include/QxTraits/is_qt_set.h
|
||||||
|
./include/QxTraits/is_qt_vector.h
|
||||||
|
./include/QxTraits/is_qt_variant_compatible.h
|
||||||
|
./include/QxTraits/is_qx_collection.h
|
||||||
|
./include/QxTraits/is_std_list.h
|
||||||
|
./include/QxTraits/is_std_map.h
|
||||||
|
./include/QxTraits/is_std_set.h
|
||||||
|
./include/QxTraits/is_std_vector.h
|
||||||
|
./include/QxTraits/is_container_base_of.h
|
||||||
|
./include/QxTraits/is_container_key_value.h
|
||||||
|
./include/QxTraits/is_container_to_pod.h
|
||||||
|
./include/QxTraits/is_ptr_base_of.h
|
||||||
|
./include/QxTraits/is_ptr_to_pod.h
|
||||||
|
./include/QxTraits/is_qx_pod.h
|
||||||
|
./include/QxTraits/is_qx_registered.h
|
||||||
|
./include/QxTraits/is_smart_ptr_base_of.h
|
||||||
|
./include/QxTraits/is_smart_ptr_to_pod.h
|
||||||
|
./include/QxTraits/archive_wide_traits.h
|
||||||
|
./include/QxTraits/archive_printable.h
|
||||||
|
./include/QxTraits/remove_attr.h
|
||||||
|
./include/QxTraits/remove_smart_ptr.h
|
||||||
|
./include/QxTraits/construct_ptr.h
|
||||||
|
./include/QxTraits/construct_null_qvariant.h
|
||||||
|
./include/QxTraits/get_sql_type.h
|
||||||
|
./include/QxTraits/generic_container.h
|
||||||
|
./include/QxTraits/is_valid_primary_key.h
|
||||||
|
./include/QxTraits/is_qx_dao_ptr.h
|
||||||
|
./include/QxTraits/is_equal.h
|
||||||
|
./include/QxTraits/qt_meta_object.h
|
||||||
|
./include/QxTraits/qx_traits.h
|
||||||
|
./include/QxTraits/is_std_shared_ptr.h
|
||||||
|
./include/QxTraits/is_std_unique_ptr.h
|
||||||
|
./include/QxTraits/is_std_unordered_map.h
|
||||||
|
./include/QxTraits/is_std_unordered_set.h
|
||||||
|
./include/QxTraits/is_std_weak_ptr.h
|
||||||
|
./include/QxFunction/IxFunction.h
|
||||||
|
./include/QxFunction/QxFunction_0.h
|
||||||
|
./include/QxFunction/QxFunction_1.h
|
||||||
|
./include/QxFunction/QxFunction_2.h
|
||||||
|
./include/QxFunction/QxFunction_3.h
|
||||||
|
./include/QxFunction/QxFunction_4.h
|
||||||
|
./include/QxFunction/QxFunction_5.h
|
||||||
|
./include/QxFunction/QxFunction_6.h
|
||||||
|
./include/QxFunction/QxFunction_7.h
|
||||||
|
./include/QxFunction/QxFunction_8.h
|
||||||
|
./include/QxFunction/QxFunction_9.h
|
||||||
|
./include/QxFunction/QxFunctionError.h
|
||||||
|
./include/QxFunction/QxFunctionInclude.h
|
||||||
|
./include/QxFunction/QxFunctionMacro.h
|
||||||
|
./include/QxFunction/QxParameters.h
|
||||||
|
./include/QxService/IxParameter.h
|
||||||
|
./include/QxService/IxService.h
|
||||||
|
./include/QxService/QxClientAsync.h
|
||||||
|
./include/QxService/QxConnect.h
|
||||||
|
./include/QxService/QxServer.h
|
||||||
|
./include/QxService/QxService.h
|
||||||
|
./include/QxService/QxThread.h
|
||||||
|
./include/QxService/QxThreadPool.h
|
||||||
|
./include/QxService/QxTools.h
|
||||||
|
./include/QxService/QxTransaction.h
|
||||||
|
./include/QxHttpServer/QxHttpRequest.h
|
||||||
|
./include/QxHttpServer/QxHttpResponse.h
|
||||||
|
./include/QxHttpServer/QxHttpServer.h
|
||||||
|
./include/QxHttpServer/QxHttpTransaction.h
|
||||||
|
./include/QxHttpServer/QxHttpCookie.h
|
||||||
|
./include/QxHttpServer/QxHttpSession.h
|
||||||
|
./include/QxHttpServer/QxHttpSessionManager.h
|
||||||
|
./include/QxValidator/IxValidator.h
|
||||||
|
./include/QxValidator/IxValidatorX.h
|
||||||
|
./include/QxValidator/QxInvalidValue.h
|
||||||
|
./include/QxValidator/QxInvalidValueX.h
|
||||||
|
./include/QxValidator/QxValidator.h
|
||||||
|
./include/QxValidator/QxValidatorError.h
|
||||||
|
./include/QxValidator/QxValidatorFct.h
|
||||||
|
./include/QxValidator/QxValidatorX.h
|
||||||
|
./include/QxModelView/IxModel.h
|
||||||
|
./include/QxModelView/QxModel.h
|
||||||
|
./include/QxModelView/QxNestedModel.h
|
||||||
|
./include/QxModelView/QxModelService.h
|
||||||
|
./include/QxModelView/QxModelRowCompare.h
|
||||||
|
./include/QxExtras/QxBoostOptionalOnly.h
|
||||||
|
./include/QxExtras/QxStdOptional.h
|
||||||
|
./include/QxOrm.h
|
||||||
|
./include/QxOrm_Impl.h
|
||||||
|
./include/QxMemLeak.h
|
||||||
|
./include/QxDaoRepository.h
|
||||||
|
./include/QxModelView.h
|
||||||
|
./include/QxServices.h
|
||||||
|
)
|
||||||
|
|
||||||
|
# To reduce compilation times, it is recommended to define _QX_UNITY_BUILD compilation option
|
||||||
|
# More details in QxOrm.cmake configuration file, section 'Unity Build'
|
||||||
|
if(_QX_UNITY_BUILD)
|
||||||
|
|
||||||
|
set(QX_SRCS
|
||||||
|
./src/all.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
else() # _QX_UNITY_BUILD
|
||||||
|
|
||||||
|
set(QX_SRCS
|
||||||
|
./src/QxSerialize/QDataStream/QxSerializeQDataStream_primitive_type.cpp
|
||||||
|
./src/QxSerialize/QDataStream/QxSerializeQDataStream_QObject.cpp
|
||||||
|
./src/QxSerialize/QDataStream/QxSerializeQDataStream_QSqlError.cpp
|
||||||
|
./src/QxSerialize/QDataStream/QxSerializeQDataStream_std_string.cpp
|
||||||
|
./src/QxSerialize/QDataStream/QxSerializeQDataStream_qx_registered_class.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_qx_registered_class.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_IxService.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_IxSqlElement.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QBrush.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QColor.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QFont.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QImage.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QMatrix.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QObject.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QPicture.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QPixmap.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QPoint.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QRect.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QRegExp.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QRegion.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QSize.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QSqlError.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QStringList.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QxInvalidValue.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QxInvalidValueX.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QxSqlQuery.cpp
|
||||||
|
./src/QxSerialize/QJson/QxSerializeQJson_QxTransaction.cpp
|
||||||
|
./src/QxMemLeak/bool_array.cpp
|
||||||
|
./src/QxMemLeak/debug_new.cpp
|
||||||
|
./src/QxMemLeak/mem_pool_base.cpp
|
||||||
|
./src/QxMemLeak/static_mem_pool.cpp
|
||||||
|
./src/QxSingleton/IxSingleton.cpp
|
||||||
|
./src/QxSingleton/QxSingletonX.cpp
|
||||||
|
./src/QxSingleton/QxSingletonInit.cpp
|
||||||
|
./src/QxFactory/IxFactory.cpp
|
||||||
|
./src/QxFactory/QxFactoryX.cpp
|
||||||
|
./src/QxCollection/QxCollection.cpp
|
||||||
|
./src/QxCommon/QxBool.cpp
|
||||||
|
./src/QxDao/QxSession.cpp
|
||||||
|
./src/QxDao/IxDao_Helper.cpp
|
||||||
|
./src/QxDao/IxPersistable.cpp
|
||||||
|
./src/QxDao/IxPersistableCollection.cpp
|
||||||
|
./src/QxDao/IxPersistableList.cpp
|
||||||
|
./src/QxDao/QxSqlRelationLinked.cpp
|
||||||
|
./src/QxCommon/QxCache.cpp
|
||||||
|
./src/QxCommon/QxSimpleCrypt.cpp
|
||||||
|
./src/QxConvert/QxConvert_Export.cpp
|
||||||
|
./src/QxRegister/IxClass.cpp
|
||||||
|
./src/QxRegister/QxClassX.cpp
|
||||||
|
./src/QxDataMember/IxDataMember.cpp
|
||||||
|
./src/QxDataMember/IxDataMemberX.cpp
|
||||||
|
./src/QxDataMember/QxDataMember_QObject.cpp
|
||||||
|
./src/QxTraits/unit_test_is_smart_ptr.cpp
|
||||||
|
./src/QxTraits/unit_test_is_container.cpp
|
||||||
|
./src/QxDao/IxSqlQueryBuilder.cpp
|
||||||
|
./src/QxDao/QxSqlDatabase.cpp
|
||||||
|
./src/QxDao/IxSqlRelation.cpp
|
||||||
|
./src/QxDao/QxSqlQuery.cpp
|
||||||
|
./src/QxDao/QxDaoAsync.cpp
|
||||||
|
./src/QxDao/QxSqlRelationParams.cpp
|
||||||
|
./src/QxDao/QxSoftDelete.cpp
|
||||||
|
./src/QxDao/QxDateNeutral.cpp
|
||||||
|
./src/QxDao/QxDateTimeNeutral.cpp
|
||||||
|
./src/QxDao/QxTimeNeutral.cpp
|
||||||
|
./src/QxDao/QxSqlElement/IxSqlElement.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlCompare.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlElementTemp.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlEmbedQuery.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlExpression.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlFreeText.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlIn.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlIsBetween.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlIsNull.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlLimit.cpp
|
||||||
|
./src/QxDao/QxSqlElement/QxSqlSort.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/IxSqlGenerator.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_MySQL.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_Oracle.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_PostgreSQL.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_SQLite.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_MSSQLServer.cpp
|
||||||
|
./src/QxDao/QxSqlGenerator/QxSqlGenerator_Standard.cpp
|
||||||
|
./src/QxDao/QxRepository/IxRepository.cpp
|
||||||
|
./src/QxDao/QxRepository/QxRepositoryX.cpp
|
||||||
|
./src/QxDao/QxMongoDB/QxMongoDB_Helper.cpp
|
||||||
|
./src/QxSerialize/QxSerializeCheckInstance.cpp
|
||||||
|
./src/QxSerialize/QxBoostSerializeHelper/IxBoostSerializeRegisterHelper.cpp
|
||||||
|
./src/QxSerialize/QxBoostSerializeHelper/QxBoostSerializeRegisterHelperX.cpp
|
||||||
|
./src/QxSerialize/boost/QxExportDllBoostArchive.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QBrush.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QByteArray.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QColor.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QDate.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QDateTime.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QFont.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QImage.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QMatrix.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QObject.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QPicture.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QPixmap.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QPoint.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QRect.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QRegExp.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QRegion.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QSize.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QString.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QStringList.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QTime.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QUrl.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QUuid.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QVariant.cpp
|
||||||
|
./src/QxSerialize/Qt/QxSerialize_QSqlError.cpp
|
||||||
|
./src/QxRestApi/QxRestApi.cpp
|
||||||
|
./src/QxService/IxParameter.cpp
|
||||||
|
./src/QxService/IxService.cpp
|
||||||
|
./src/QxService/QxConnect.cpp
|
||||||
|
./src/QxService/QxServer.cpp
|
||||||
|
./src/QxService/QxThread.cpp
|
||||||
|
./src/QxService/QxThreadPool.cpp
|
||||||
|
./src/QxService/QxTools.cpp
|
||||||
|
./src/QxService/QxTransaction.cpp
|
||||||
|
./src/QxHttpServer/QxHttpRequest.cpp
|
||||||
|
./src/QxHttpServer/QxHttpResponse.cpp
|
||||||
|
./src/QxHttpServer/QxHttpServer.cpp
|
||||||
|
./src/QxHttpServer/QxHttpTransaction.cpp
|
||||||
|
./src/QxHttpServer/QxHttpCookie.cpp
|
||||||
|
./src/QxHttpServer/QxHttpSession.cpp
|
||||||
|
./src/QxHttpServer/QxHttpSessionManager.cpp
|
||||||
|
./src/QxValidator/IxValidator.cpp
|
||||||
|
./src/QxValidator/IxValidatorX.cpp
|
||||||
|
./src/QxValidator/QxInvalidValue.cpp
|
||||||
|
./src/QxValidator/QxInvalidValueX.cpp
|
||||||
|
./src/QxModelView/IxModel.cpp
|
||||||
|
./src/QxModelView/QxNestedModel.cpp
|
||||||
|
./src/QxModelView/QxModelRowCompare.cpp
|
||||||
|
./src/main.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
endif() # _QX_UNITY_BUILD
|
||||||
|
|
||||||
|
set(QX_INLS
|
||||||
|
./inl/QxCollection/QxCollection.inl
|
||||||
|
./inl/QxCollection/QxCollectionIterator.inl
|
||||||
|
./inl/QxConvert/QxConvert_FromString.inl
|
||||||
|
./inl/QxConvert/QxConvert_FromVariant.inl
|
||||||
|
./inl/QxConvert/QxConvert_FromJson.inl
|
||||||
|
./inl/QxConvert/QxConvert_Qt.inl
|
||||||
|
./inl/QxConvert/QxConvert_ToString.inl
|
||||||
|
./inl/QxConvert/QxConvert_ToVariant.inl
|
||||||
|
./inl/QxConvert/QxConvert_ToJson.inl
|
||||||
|
./inl/QxConvert/QxConvert_WithIndex.inl
|
||||||
|
./inl/QxDao/QxDao_Count.inl
|
||||||
|
./inl/QxDao/QxDao_CreateTable.inl
|
||||||
|
./inl/QxDao/QxDao_DeleteAll.inl
|
||||||
|
./inl/QxDao/QxDao_DeleteById.inl
|
||||||
|
./inl/QxDao/QxDao_ExecuteQuery.inl
|
||||||
|
./inl/QxDao/QxDao_Exist.inl
|
||||||
|
./inl/QxDao/QxDao_FetchAll.inl
|
||||||
|
./inl/QxDao/QxDao_FetchAll_WithRelation.inl
|
||||||
|
./inl/QxDao/QxDao_FetchById.inl
|
||||||
|
./inl/QxDao/QxDao_FetchById_WithRelation.inl
|
||||||
|
./inl/QxDao/QxDao_Helper.inl
|
||||||
|
./inl/QxDao/QxDao_Helper_Container.inl
|
||||||
|
./inl/QxDao/QxDao_Insert.inl
|
||||||
|
./inl/QxDao/QxDao_Insert_WithRelation.inl
|
||||||
|
./inl/QxDao/QxDao_Save.inl
|
||||||
|
./inl/QxDao/QxDao_Save_WithRelation.inl
|
||||||
|
./inl/QxDao/QxDao_Save_WithRelation_Recursive.inl
|
||||||
|
./inl/QxDao/QxDao_Trigger.inl
|
||||||
|
./inl/QxDao/QxDao_Update.inl
|
||||||
|
./inl/QxDao/QxDao_Update_Optimized.inl
|
||||||
|
./inl/QxDao/QxDao_Update_WithRelation.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_CreateTable.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_DeleteById.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_Exist.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_FetchAll.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_FetchAll_WithRelation.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_FetchById.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_FetchById_WithRelation.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_Insert.inl
|
||||||
|
./inl/QxDao/QxSqlQueryHelper_Update.inl
|
||||||
|
./inl/QxDataMember/QxDataMember.inl
|
||||||
|
./inl/QxDataMember/QxDataMemberX.inl
|
||||||
|
./inl/QxFactory/QxFactory.inl
|
||||||
|
./inl/QxRegister/QxClass.inl
|
||||||
|
./inl/QxSerialize/QxArchive.inl
|
||||||
|
./inl/QxSerialize/QxSerializeInvoker.inl
|
||||||
|
./inl/QxSingleton/QxSingleton.inl
|
||||||
|
)
|
||||||
|
|
||||||
|
if(_QX_STATIC_BUILD)
|
||||||
|
add_library(XdlOrm STATIC ${QX_SRCS} ${QX_HEADERS} ${QX_INLS})
|
||||||
|
else()
|
||||||
|
add_library(XdlOrm SHARED ${QX_SRCS} ${QX_HEADERS} ${QX_INLS})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_compile_definitions(XdlOrm PRIVATE -D_QX_BUILDING_QX_ORM)
|
||||||
|
|
||||||
|
target_include_directories(XdlOrm
|
||||||
|
PUBLIC
|
||||||
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||||
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inl>
|
||||||
|
$<INSTALL_INTERFACE:include>
|
||||||
|
$<INSTALL_INTERFACE:inl>
|
||||||
|
)
|
||||||
|
|
||||||
|
if(NOT TARGET xdlorm::xdlorm)
|
||||||
|
add_library(xdlorm::xdlorm ALIAS XdlOrm)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(COMMAND target_precompile_headers)
|
||||||
|
target_precompile_headers(XdlOrm PRIVATE ./include/QxPrecompiled.h)
|
||||||
|
endif() # (COMMAND target_precompile_headers)
|
||||||
|
|
||||||
|
target_link_libraries(XdlOrm ${QX_LIBRARIES})
|
||||||
|
|
||||||
|
# set_target_properties(XdlOrm PROPERTIES
|
||||||
|
# ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/build/UI/Main
|
||||||
|
# RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/build/UI/Main
|
||||||
|
# LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# ARCHIVE_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# LIBRARY_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_CURRENT_SOURCE_DIR}/lib"
|
||||||
|
# )
|
||||||
|
|
||||||
|
# To sort all files by folder in MSVC and XCode solution
|
||||||
|
qx_auto_source_group("${QX_SRCS};${QX_HEADERS};${QX_INLS}")
|
||||||
|
|
||||||
|
# Define CMAKE_INSTALL_PREFIX variable to put the location where to copy all files
|
||||||
|
install(TARGETS XdlOrm DESTINATION lib)
|
||||||
|
install(DIRECTORY ./include/ DESTINATION include)
|
||||||
|
install(DIRECTORY ./inl/ DESTINATION inl)
|
||||||
92
README.md
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
# QxOrm 库 - 官方仓库
|
||||||
|
[QxOrm 库](https://www.qxorm.com/) 是一个为 C++ Qt 开发者提供的**对象关系映射 (ORM)** 和**对象文档映射 (ODM)** 数据库库。主要功能包括:
|
||||||
|
- [持久化](https://www.qxorm.com/qxorm_en/manual.html#manual_30):支持最常见的数据库,如 SQLite、MySQL、PostgreSQL、Oracle、MS SQL Server、[MongoDB](https://www.qxorm.com/qxorm_en/manual.html#manual_95)(支持 1-1、1-n、n-1 和 n-n 关系);
|
||||||
|
- [序列化](https://www.qxorm.com/qxorm_en/manual.html#manual_60):JSON、二进制和 XML 格式;
|
||||||
|
- [反射](https://www.qxorm.com/qxorm_en/manual.html#manual_70)(或[内省](https://www.qxorm.com/qxorm_en/manual.html#manual_70)):动态访问类定义,检索属性并调用类方法;
|
||||||
|
- [HTTP Web 服务器](https://www.qxorm.com/qxorm_en/manual.html#manual_96):独立的多线程 HTTP 1.1 Web 服务器(支持 SSL/TLS、持久连接、Cookie、会话、分块响应、URL 调度/路由);
|
||||||
|
- [JSON API](https://www.qxorm.com/qxorm_en/manual.html#manual_97):与 C++/Qt 以外的其他技术(REST Web 服务、QML 应用程序、脚本语言)的互操作性。
|
||||||
|
|
||||||
|
## 文档
|
||||||
|
QxOrm 网站提供了[用户手册](https://www.qxorm.com/qxorm_en/manual.html)。
|
||||||
|
|
||||||
|
本文档的目标是提供一个用户指南,学习如何使用 QxOrm 库的功能。本手册面向正在寻找解决方案来管理 C++/Qt 中持久数据层的开发人员和软件架构师。理解本文档需要 C++ 和数据库方面的技术技能。
|
||||||
|
|
||||||
|
**注意:** 本手册/用户指南中描述的所有功能都可以通过 **QxEntityEditor 应用程序**(QxOrm 库的图形编辑器、数据模型设计器和源代码生成器)快速轻松地定义。QxOrm 网站上提供了[专门针对 QxEntityEditor 应用程序的文档](https://www.qxorm.com/qxorm_en/manual_qxee.html)。
|
||||||
|
|
||||||
|
## QxEntityEditor 应用程序
|
||||||
|
[QxEntityEditor](https://www.qxorm.com/qxorm_en/manual_qxee.html) 是 QxOrm 库的图形编辑器:**QxEntityEditor 提供了一种图形化方式来管理数据模型**。
|
||||||
|
QxEntityEditor 是多平台的(适用于 Windows、Linux 和 Mac OS X),并为所有环境生成原生代码:桌面(Windows、Linux、Mac OS X)、嵌入式和移动设备(Android、iOS、Windows Phone、Raspberry Pi 等)。
|
||||||
|
QxOrm 网站上提供了[QxEntityEditor 应用程序的用户手册(文档)](https://www.qxorm.com/qxorm_en/manual_qxee.html)。
|
||||||
|
|
||||||
|
QxEntityEditor 基于插件,提供了多种导入/导出数据模型的方法:
|
||||||
|
- [自动生成 C++ 持久类](https://www.qxorm.com/qxorm_en/manual_qxee.html#cpp_export_settings)(在 QxOrm 上下文中注册);
|
||||||
|
- [自动生成 DDL SQL 脚本](https://www.qxorm.com/qxorm_en/manual_qxee.html#ddl_export_settings)(数据库架构),适用于 SQLite、MySQL、PostgreSQL、Oracle 和 MS SQL Server;
|
||||||
|
- 管理每个项目版本的架构演变(ALTER TABLE、ADD COLUMN、DROP INDEX 等);
|
||||||
|
- 通过网络传输数据模型并[快速创建客户端/服务器应用程序](https://www.qxorm.com/qxorm_en/manual_qxee.html#cpp_services_export_settings),使用 [QxService 模块](https://www.qxorm.com/doxygen/html/group___qx_service.html);
|
||||||
|
- [导入现有数据库结构](https://www.qxorm.com/qxorm_en/manual_qxee.html#wnd_mysql_import)(使用 ODBC 连接或原生驱动程序),适用于 SQLite、MySQL、PostgreSQL、Oracle 和 MS SQL Server 数据库;
|
||||||
|
- 因为每个项目都不同,QxEntityEditor 提供了多种方法来自定义生成的文件(尤其是 [JavaScript 引擎和集成调试器](https://www.qxorm.com/qxorm_en/manual_qxee.html#js_engine))。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 依赖项
|
||||||
|
默认情况下,QxOrm 库仅依赖于 [Qt 框架](https://www.qt.io/) 中的 [QtCore](https://doc.qt.io/qt-5/qtcore-index.html) 和 [QtSql](https://doc.qt.io/qt-5/qtsql-index.html) 库。
|
||||||
|
如果启用 [QxOrm HTTP Web 服务器](https://www.qxorm.com/qxorm_en/manual.html#manual_96) 功能,那么 QxOrm 库还将依赖于 [QtNetwork](https://doc.qt.io/qt-5/qtnetwork-index.html) 库。
|
||||||
|
某些功能需要 [boost](https://www.boost.org/) 依赖项(默认禁用)。
|
||||||
|
|
||||||
|
## 作者
|
||||||
|
QxOrm 由 XDL 团队开发,该团队自 2003 年以来一直是软件开发工程师。
|
||||||
|
|
||||||
|
## 许可证
|
||||||
|
QxOrm 是一个 C++ 库,可在双重许可证下使用:
|
||||||
|
- [GNU/GPLv3 许可证](https://www.qxorm.com/qxorm_en/resource/license.gpl3.txt):开源且免费(用于开发开源项目或评估 QxOrm 库);
|
||||||
|
- [专有许可证](https://www.qxorm.com/qxorm_en/download_details.php),用于分发基于 QxOrm 库的应用程序,不受 GNU/GPLv3 许可证的任何限制。
|
||||||
|
|
||||||
|
## Conan 打包方法
|
||||||
|
### 安装 Conan
|
||||||
|
首先,确保您已安装 Conan 包管理器。如果尚未安装,可以从 [Conan 官方网站](https://conan.io/downloads.html) 下载并安装。
|
||||||
|
|
||||||
|
### 构建和安装包
|
||||||
|
1. 克隆仓库并进入项目目录:
|
||||||
|
```bash
|
||||||
|
git clone <仓库地址>
|
||||||
|
cd XdlOrm
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 构建并安装包到本地 Conan 缓存:
|
||||||
|
```bash
|
||||||
|
conan create . --profile:build default --profile:host default
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 或者,直接在项目目录中构建:
|
||||||
|
```bash
|
||||||
|
conan build . --profile:build default --profile:host default
|
||||||
|
```
|
||||||
|
|
||||||
|
### 在项目中使用
|
||||||
|
在您的项目的 `conanfile.py` 中添加依赖:
|
||||||
|
```python
|
||||||
|
requires = [
|
||||||
|
"xdlorm/1.0.0"
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
或者,使用 `conan install` 命令安装:
|
||||||
|
```bash
|
||||||
|
conan install . --build=missing
|
||||||
|
```
|
||||||
|
|
||||||
|
### 配置选项
|
||||||
|
QxOrm 库提供了以下 Conan 选项:
|
||||||
|
- `shared`:是否构建为共享库(默认:False)
|
||||||
|
- `enable_boost`:是否启用 Boost 支持(默认:False)
|
||||||
|
- `enable_boost_serialization`:是否启用 Boost 序列化(默认:False)
|
||||||
|
- `enable_qt_gui`:是否启用 Qt GUI 支持(默认:False)
|
||||||
|
- `enable_qt_network`:是否启用 Qt Network 支持(默认:False)
|
||||||
|
- `enable_mongodb`:是否启用 MongoDB 支持(默认:False)
|
||||||
|
- `no_json`:是否禁用 JSON 序列化(默认:False)
|
||||||
|
- `unity_build`:是否启用 Unity 构建(默认:False)
|
||||||
|
|
||||||
|
例如,构建共享库并启用 Boost 支持:
|
||||||
|
```bash
|
||||||
|
conan create . --profile:build default --profile:host default -o xdlorm:shared=True -o xdlorm:enable_boost=True
|
||||||
|
```
|
||||||
384
XdlOrm.cmake
Normal file
@@ -0,0 +1,384 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## https://www.qxorm.com/
|
||||||
|
## Copyright (C) 2013 XDL Team (ic-east.com)
|
||||||
|
##
|
||||||
|
## This file is part of the QxOrm library
|
||||||
|
##
|
||||||
|
## This software is provided 'as-is', without any express or implied
|
||||||
|
## warranty. In no event will the authors be held liable for any
|
||||||
|
## damages arising from the use of this software
|
||||||
|
##
|
||||||
|
## Commercial Usage
|
||||||
|
## Licensees holding valid commercial QxOrm licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and XDL Team
|
||||||
|
##
|
||||||
|
## GNU General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU
|
||||||
|
## General Public License version 3.0 as published by the Free Software
|
||||||
|
## Foundation and appearing in the file 'license.gpl3.txt' included in the
|
||||||
|
## packaging of this file. Please review the following information to
|
||||||
|
## ensure the GNU General Public License version 3.0 requirements will be
|
||||||
|
## met : http://www.gnu.org/copyleft/gpl.html
|
||||||
|
##
|
||||||
|
## If you are unsure which license is appropriate for your use, or
|
||||||
|
## if you have questions regarding the use of this file, please contact :
|
||||||
|
## ic-east.com
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# QxOrm.cmake is the configuration file for QxOrm library if you are using CMake as build tool
|
||||||
|
# QxOrm.cmake file is equivalent to QxOrm.pri configuration file for qmake projects
|
||||||
|
# QxOrm.cmake file should be included by all projects which depend on QxOrm library
|
||||||
|
# QxOrm.cmake file contains some settings to enable/disable QxOrm library features
|
||||||
|
# QxOrm.cmake file also tries to find Qt and boost libraries required by QxOrm library
|
||||||
|
|
||||||
|
if(NOT QXORM_CMAKE_CONFIG_FILE_INCLUDED)
|
||||||
|
set(QXORM_CMAKE_CONFIG_FILE_INCLUDED TRUE)
|
||||||
|
|
||||||
|
###########################################
|
||||||
|
# QxOrm library options / features #
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
option(_QX_ENABLE_BOOST "If you enable _QX_ENABLE_BOOST option, then QxOrm library will support some boost header-only classes like boost::optional, boost::shared_ptr, boost::unordered_map, etc..." OFF)
|
||||||
|
option(_QX_ENABLE_QT_GUI "If you enable _QX_ENABLE_QT_GUI option, then QxOrm library will be able to serialize Qt Gui objects (QBrush, QColor, QFont, QImage, QMatrix, QPicture, QPixmap, QRegion)" OFF)
|
||||||
|
option(_QX_ENABLE_QT_NETWORK "If you enable _QX_ENABLE_QT_NETWORK option, then QxService and QxHttpServer modules of QxOrm library will be available (network transactions to transfer persistent data layer + standalone multi-threaded HTTP 1.1 web server)" OFF)
|
||||||
|
option(_QX_ENABLE_MONGODB "If you enable _QX_ENABLE_MONGODB option, then QxOrm library will be able to use mongoc driver to store all QxOrm registered classes in a MongoDB database" OFF)
|
||||||
|
option(_QX_STATIC_BUILD "Enable _QX_STATIC_BUILD option to build QxOrm as a static library" OFF)
|
||||||
|
option(_QX_NO_JSON "If you enable _QX_NO_JSON option, then QxOrm library will not provide JSON serialization engine" OFF)
|
||||||
|
option(_QX_UNITY_BUILD "If you enable _QX_UNITY_BUILD option, then QxOrm library will be built faster (using only 1 'all.cpp' source file)" OFF)
|
||||||
|
option(_QX_USE_QSTRINGBUILDER "If you enable _QX_USE_QSTRINGBUILDER option, then QxOrm library will define QT_USE_QSTRINGBUILDER compilation option of Qt library to provide some optimizations with QString class" OFF)
|
||||||
|
|
||||||
|
###########################################
|
||||||
|
# QxOrm library requires a C++11 compiler #
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
# Qt framework requires a C++11 compiler since version Qt 5.7
|
||||||
|
# So for all previous Qt versions, we need to define CONFIG += c++11
|
||||||
|
# Please note that QxOrm library doesn't require a full compliant C++11 compiler : for example, QxOrm library can be built and used with MSVC 2012, GCC 4.5 or Clang 3.2
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
######################
|
||||||
|
# QxOrm Library Path #
|
||||||
|
######################
|
||||||
|
|
||||||
|
set(QXORM_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
set(QXORM_INCLUDE_DIR ${QXORM_DIR}/include)
|
||||||
|
include_directories(${QXORM_INCLUDE_DIR})
|
||||||
|
|
||||||
|
###########################################
|
||||||
|
# Boost Header-Only Dependency (optional) #
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
# Since QxOrm 1.4.4, QxOrm library doesn't depend on boost framework anymore (the boost dependency has been fully removed, replaced by some C++11 features)
|
||||||
|
# So QxOrm library is now a pure Qt library which depends only on QtCore and QtSql by default
|
||||||
|
# QxOrm library still supports some boost classes (boost smart-pointers, unordered containers, boost::optional, etc...) : you have to define _QX_ENABLE_BOOST compilation option to enable these features
|
||||||
|
|
||||||
|
######################################
|
||||||
|
# Boost Library Configuration / Path #
|
||||||
|
######################################
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST)
|
||||||
|
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST)
|
||||||
|
set(QX_BOOST_DIR "" CACHE STRING "Define where boost library is located, or leave QX_BOOST_DIR parameter empty and define a BOOST_ROOT environment variable")
|
||||||
|
|
||||||
|
if(NOT QX_BOOST_DIR STREQUAL "")
|
||||||
|
set(BOOST_ROOT ${QX_BOOST_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_package(Boost 1.38.0 REQUIRED)
|
||||||
|
|
||||||
|
if(NOT Boost_FOUND)
|
||||||
|
message(FATAL_ERROR "boost library not found : please define where boost library is located using QX_BOOST_DIR parameter, or leave QX_BOOST_DIR parameter empty and define a BOOST_ROOT environment variable")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include_directories(${Boost_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
endif() # _QX_ENABLE_BOOST
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# Qt Library Dependencies #
|
||||||
|
###########################
|
||||||
|
|
||||||
|
# Use Qt from Conan or system
|
||||||
|
set(QX_QT_DIR "" CACHE STRING "Define where Qt library is located if CMake doesn't find it by default")
|
||||||
|
|
||||||
|
if(NOT QX_QT_DIR STREQUAL "")
|
||||||
|
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QX_QT_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Find Qt (either Qt6 or Qt5)
|
||||||
|
find_package(Qt6 QUIET COMPONENTS Core)
|
||||||
|
if(NOT Qt6_FOUND)
|
||||||
|
find_package(Qt5 COMPONENTS Core REQUIRED)
|
||||||
|
set(QT_VERSION_MAJOR 5)
|
||||||
|
else()
|
||||||
|
set(QT_VERSION_MAJOR 6)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_QT_GUI AND _QX_ENABLE_QT_NETWORK)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Sql Gui Network REQUIRED)
|
||||||
|
set(QX_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Sql Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Network)
|
||||||
|
elseif(_QX_ENABLE_QT_GUI)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Sql Gui REQUIRED)
|
||||||
|
set(QX_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Sql Qt${QT_VERSION_MAJOR}::Gui)
|
||||||
|
elseif(_QX_ENABLE_QT_NETWORK)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Sql Network REQUIRED)
|
||||||
|
set(QX_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Sql Qt${QT_VERSION_MAJOR}::Network)
|
||||||
|
else() # (_QX_ENABLE_QT_GUI AND _QX_ENABLE_QT_NETWORK)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Sql REQUIRED)
|
||||||
|
set(QX_LIBRARIES Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Sql)
|
||||||
|
endif() # (_QX_ENABLE_QT_GUI AND _QX_ENABLE_QT_NETWORK)
|
||||||
|
|
||||||
|
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
endif() # (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# MongoDB Driver Library Dependencies #
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
if(_QX_ENABLE_MONGODB)
|
||||||
|
|
||||||
|
add_definitions(-D_QX_ENABLE_MONGODB)
|
||||||
|
|
||||||
|
set(QX_MONGOC_INCLUDE "$ENV{MONGOC_INCLUDE}")
|
||||||
|
if(NOT QX_MONGOC_INCLUDE STREQUAL "")
|
||||||
|
|
||||||
|
include_directories("$ENV{BSON_INCLUDE}")
|
||||||
|
include_directories("${QX_MONGOC_INCLUDE}")
|
||||||
|
|
||||||
|
link_directories("$ENV{BSON_LIB}")
|
||||||
|
link_directories("$ENV{MONGOC_LIB}")
|
||||||
|
|
||||||
|
set(QX_LIBRARIES ${QX_LIBRARIES} bson-1.0 mongoc-1.0)
|
||||||
|
|
||||||
|
else() # (NOT QX_MONGOC_INCLUDE STREQUAL "")
|
||||||
|
|
||||||
|
find_package(libbson-1.0 REQUIRED)
|
||||||
|
find_package(libmongoc-1.0 REQUIRED)
|
||||||
|
|
||||||
|
include_directories(${BSON_INCLUDE_DIRS})
|
||||||
|
include_directories(${MONGOC_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(QX_LIBRARIES ${QX_LIBRARIES} ${BSON_LIBRARIES} ${MONGOC_LIBRARIES})
|
||||||
|
|
||||||
|
endif() # (NOT QX_MONGOC_INCLUDE STREQUAL "")
|
||||||
|
|
||||||
|
endif() # _QX_ENABLE_MONGODB
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# Build Mode Debug / Release #
|
||||||
|
##############################
|
||||||
|
|
||||||
|
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
|
||||||
|
$<$<CONFIG:Debug>:_QX_MODE_DEBUG>
|
||||||
|
$<$<CONFIG:Release>:_QX_MODE_RELEASE>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:_QX_MODE_RELEASE>
|
||||||
|
$<$<CONFIG:MinSizeRel>:_QX_MODE_RELEASE>
|
||||||
|
$<$<CONFIG:None>:_QX_MODE_RELEASE>
|
||||||
|
$<$<CONFIG:>:_QX_MODE_RELEASE>
|
||||||
|
)
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# No Precompiled Header #
|
||||||
|
#########################
|
||||||
|
|
||||||
|
# By default, CMake doesn't support precompiled headers natively, so _QX_NO_PRECOMPILED_HEADER compilation option is defined with CMake
|
||||||
|
# There is a project named 'cotire' (compile time reducer) which is not deployed with CMake but can be used to support precompiled headers, more details here : https://github.com/sakra/cotire
|
||||||
|
# Moreover, some versions of MinGW on Windows have a bug with large precompiled headers (for example, MinGW GCC 4.8)
|
||||||
|
# More detais about this problem here : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56926
|
||||||
|
# And here : http://stackoverflow.com/questions/10841306/cc1plus-exe-crash-when-using-large-precompiled-header-file
|
||||||
|
# To fix the crash during compilation, you have to disable precompiled headers : just enable the following compilation option _QX_NO_PRECOMPILED_HEADER
|
||||||
|
# Note : there is a side effect disabling precompiled headers => compilation times are considerably increased !
|
||||||
|
# Other note : to reduce compilation times, it is recommended to define _QX_UNITY_BUILD compilation option
|
||||||
|
|
||||||
|
if(NOT COMMAND target_precompile_headers)
|
||||||
|
add_definitions(-D_QX_NO_PRECOMPILED_HEADER)
|
||||||
|
endif() # (NOT COMMAND target_precompile_headers)
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# QxOrm Library Static Build #
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# To create only 1 EXE including Qt, boost serialization (optional) and QxOrm libraries without any dependency :
|
||||||
|
|
||||||
|
if(_QX_STATIC_BUILD)
|
||||||
|
add_definitions(-D_QX_STATIC_BUILD)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Boost Serialization Shared Library Dependency (optional) #
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
# By default, QxOrm library doesn't depend on boost::serialization shared library, but it is possible to enable it defining the compilation option : _QX_ENABLE_BOOST_SERIALIZATION
|
||||||
|
# Without this compilation option, QxOrm is a much lighter library, generated binaries based on QxOrm are smaller, and QxOrm depends only on Qt binaries (and boost header files)
|
||||||
|
# But in this case, serialization features are limited (based on QDataStream and QJson engines) : limited qx::clone, no XML serialization, limited binary serialization, limited QxService module (network transactions), etc...
|
||||||
|
# If you define _QX_ENABLE_BOOST_SERIALIZATION compilation option, then boost serialization is enabled with XML and binary engine by default (see _QX_ENABLE_BOOST_SERIALIZATION_BINARY and _QX_ENABLE_BOOST_SERIALIZATION_XML for more details)
|
||||||
|
# Note : if you are not using serialization functions in projects based on QxOrm library, then you can define or not _QX_ENABLE_BOOST_SERIALIZATION compilation option without changing any line of your source code
|
||||||
|
# Other note : to persist containers in database (not relationships, for example : std::vector<int>), without _QX_ENABLE_BOOST_SERIALIZATION it is stored as QByteArray (based on QDataStream engine), with _QX_ENABLE_BOOST_SERIALIZATION it is stored as XML (based on boost serialization XML engine) => so be careful, in this case it is not compatible
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST)
|
||||||
|
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION "If you enable _QX_ENABLE_BOOST_SERIALIZATION option, then QxOrm library will provide a serialization engine based on boost::serialization (you have to build boost::serialization shared libray to use this feature)" OFF)
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION)
|
||||||
|
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION)
|
||||||
|
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_BINARY "Enable boost::serialization binary engine" ON)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_XML "Enable boost::serialization XML engine" ON)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC "Enable boost::serialization polymorphic engine" OFF)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_TEXT "Enable boost::serialization text engine" OFF)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_PORTABLE_BINARY "Enable boost::serialization portable binary engine" OFF)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_BINARY "Enable boost::serialization wide binary engine" OFF)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_TEXT "Enable boost::serialization wide text engine" OFF)
|
||||||
|
option(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_XML "Enable boost::serialization wide XML engine" OFF)
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_BINARY)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_BINARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_XML)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_XML)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_TEXT)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_TEXT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_PORTABLE_BINARY)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_PORTABLE_BINARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_BINARY)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_WIDE_BINARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_TEXT)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_WIDE_TEXT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(_QX_ENABLE_BOOST_SERIALIZATION_WIDE_XML)
|
||||||
|
add_definitions(-D_QX_ENABLE_BOOST_SERIALIZATION_WIDE_XML)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_package(Boost 1.38.0 REQUIRED COMPONENTS serialization)
|
||||||
|
|
||||||
|
if(NOT Boost_SERIALIZATION_FOUND)
|
||||||
|
message(FATAL_ERROR "boost::serialization library not found (with _QX_ENABLE_BOOST_SERIALIZATION option enabled, QxOrm library depends on boost::serialization binary)")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(QX_LIBRARIES ${QX_LIBRARIES} ${Boost_SERIALIZATION_LIBRARY})
|
||||||
|
|
||||||
|
endif() # _QX_ENABLE_BOOST_SERIALIZATION
|
||||||
|
endif() # _QX_ENABLE_BOOST
|
||||||
|
|
||||||
|
############################
|
||||||
|
# Qt Gui Module Dependency #
|
||||||
|
############################
|
||||||
|
|
||||||
|
# By default, QxOrm library doesn't depend on Qt Gui shared library
|
||||||
|
# If you want to serialize Qt Gui objects (QBrush, QColor, QFont, QImage, QMatrix, QPicture, QPixmap, QRegion), then you have to define _QX_ENABLE_QT_GUI compilation option
|
||||||
|
|
||||||
|
if(_QX_ENABLE_QT_GUI)
|
||||||
|
add_definitions(-D_QX_ENABLE_QT_GUI)
|
||||||
|
endif() # _QX_ENABLE_QT_GUI
|
||||||
|
|
||||||
|
################################
|
||||||
|
# Qt Network Module Dependency #
|
||||||
|
################################
|
||||||
|
|
||||||
|
# By default, QxOrm library doesn't depend on Qt Network shared library => it means that QxService module (network transactions to transfer your persistent layer) and QxHttpServer module (standalone multi-threaded HTTP 1.1 web server) are not enabled by default
|
||||||
|
# To enable these features (QxService and QxHttpServer modules), just define the compilation option : _QX_ENABLE_QT_NETWORK
|
||||||
|
# For more details about QxService module, a tutorial (qxClientServer) is available on QxOrm website : https://www.qxorm.com/qxorm_en/tutorial_2.html
|
||||||
|
# For more details about QxHttpServer module, a manual is available on QxOrm website : https://www.qxorm.com/qxorm_en/manual.html#manual_96
|
||||||
|
|
||||||
|
if(_QX_ENABLE_QT_NETWORK)
|
||||||
|
add_definitions(-D_QX_ENABLE_QT_NETWORK)
|
||||||
|
endif() # _QX_ENABLE_QT_NETWORK
|
||||||
|
|
||||||
|
################################
|
||||||
|
# No JSON Serialization Engine #
|
||||||
|
################################
|
||||||
|
|
||||||
|
# QxOrm library supports JSON serialization : this feature is enabled by default if you are not working with Qt4 (JSON engine requires Qt5)
|
||||||
|
# To disable this feature, you can define the compilation option : _QX_NO_JSON
|
||||||
|
# Using _QX_NO_JSON compilation option, qx::serialization::json namespace will be not available
|
||||||
|
|
||||||
|
if(_QX_NO_JSON)
|
||||||
|
add_definitions(-D_QX_NO_JSON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Unity Build : Reduce Compilation Times #
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
# QxOrm provides a way to compile the library faster using the Unity Build system : http://stackoverflow.com/questions/543697/include-all-cpp-files-into-a-single-compilation-unit
|
||||||
|
# To enable QxOrm Unity Build feature, just define the _QX_UNITY_BUILD compilation option
|
||||||
|
# This compilation option changes the make file : instead of compiling each *.cpp files separately, QxOrm is compiled using a unique 'all.cpp' file (which #include all QxOrm *.cpp files)
|
||||||
|
# Note : your environment must have enough memory to support this compilation option, and your compiler must support it too, otherwise your compiler can crash with a memory error
|
||||||
|
# Other note : C++ projects generated by QxEntityEditor application support this compilation option => this is a way to reduce compilation times of C++ persistent classes generated by QxEntityEditor
|
||||||
|
# Other note : if you define _QX_UNITY_BUILD compilation option, it can be interesting too to define the _QX_NO_PRECOMPILED_HEADER compilation option to reduce compilation times (it depends on number of other *.cpp files to compile, like moc files for example)
|
||||||
|
|
||||||
|
if(_QX_UNITY_BUILD)
|
||||||
|
add_definitions(-D_QX_UNITY_BUILD)
|
||||||
|
if(WIN32 AND MSVC)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -bigobj")
|
||||||
|
elseif(WIN32 AND MINGW)
|
||||||
|
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wa,-mbig-obj")
|
||||||
|
endif() # WIN32 AND MSVC
|
||||||
|
endif() # _QX_UNITY_BUILD
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# More Efficient Qt QString Construction #
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
# Qt provides some optimizations for QString class (construction, concatenation, etc...)
|
||||||
|
# More details about these optimizations are available on Qt web site : http://doc.qt.io/qt-5/qstring.html#more-efficient-string-construction
|
||||||
|
# To enable these optimizations, you can define QT_USE_QSTRINGBUILDER compilation option
|
||||||
|
|
||||||
|
if(_QX_USE_QSTRINGBUILDER)
|
||||||
|
add_definitions(-DQT_USE_QSTRINGBUILDER)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
#############################
|
||||||
|
# Compiler / Linker Options #
|
||||||
|
#############################
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
if(MSVC)
|
||||||
|
if(MSVC_VERSION LESS 1700)
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /OPT:NOREF")
|
||||||
|
endif() # MSVC_VERSION LESS 1700
|
||||||
|
elseif(MINGW)
|
||||||
|
# For MinGW : we need to add these linker flags because of some issues to dll export extern template instantiations from shared library
|
||||||
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-export-all-symbols -Wl,-enable-auto-import")
|
||||||
|
endif() # MSVC
|
||||||
|
endif() # WIN32
|
||||||
|
|
||||||
|
####################################################
|
||||||
|
# Macro To Source Group By Folder For MSVC / XCode #
|
||||||
|
####################################################
|
||||||
|
|
||||||
|
macro(qx_auto_source_group QX_ALL_FILES)
|
||||||
|
foreach(QX_FILE ${QX_ALL_FILES})
|
||||||
|
get_filename_component(QX_PARENT_DIR "${QX_FILE}" DIRECTORY)
|
||||||
|
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}" "" QX_GROUP "${QX_PARENT_DIR}")
|
||||||
|
string(REPLACE "./" "" QX_GROUP "${QX_GROUP}")
|
||||||
|
string(REPLACE "/" "\\" QX_GROUP "${QX_GROUP}")
|
||||||
|
source_group("${QX_GROUP}" FILES "${QX_FILE}")
|
||||||
|
endforeach()
|
||||||
|
endmacro() # qx_auto_source_group
|
||||||
|
|
||||||
|
endif() # QXORM_CMAKE_CONFIG_FILE_INCLUDED
|
||||||
7
doc/doxygen/html/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# git does not allow empty directories.
|
||||||
|
# Yet, we need to add this empty directory on git.
|
||||||
|
# To achieve that, we created this .gitignore file, so that the directory will not be empty thus enabling us to commit it.
|
||||||
|
# Since we want all generated files/folders in this directory to be ignored by git, we add a rule for this.
|
||||||
|
*
|
||||||
|
# And then add an exception for this specifc file (so that we can commit it).
|
||||||
|
!.gitignore
|
||||||
7
doc/doxygen/index.html
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0; url=./html/index.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
1761
doc/doxygen/qxorm.doxygen
Normal file
18
doc/index.html
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0; url=./qxorm_en/home.html">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic editor (data model designer and source code generator)</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {
|
||||||
|
var language;
|
||||||
|
if (navigator.browserLanguage) { language = navigator.browserLanguage; }
|
||||||
|
else { language = navigator.language; }
|
||||||
|
if (language.indexOf('fr') > -1) { document.location.href = './qxorm_fr/home.html'; }
|
||||||
|
else if (language.indexOf('en') > -1) { document.location.href = './qxorm_en/home.html'; }
|
||||||
|
else { document.location.href = './qxorm_en/home.html'; }
|
||||||
|
} catch(e) { document.location.href = './qxorm_en/home.html'; }
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
31
doc/php/add_download.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0; url=../version/QxOrm_1.5.0.zip">
|
||||||
|
<?php
|
||||||
|
settype($nb_errors, "integer");
|
||||||
|
settype($try_count, "integer");
|
||||||
|
/*
|
||||||
|
if ($_POST['created_by'] == "") { $errors = $errors . "\nYou must write your name or compagny name."; $nb_errors++; }
|
||||||
|
*/
|
||||||
|
if ($nb_errors != 0) { echo "<script type='text/javascript'>alert('" . $errors . "');</script>"; }
|
||||||
|
if ($nb_errors == 0)
|
||||||
|
{
|
||||||
|
$_POST['created_by'] = nl2br(htmlentities(stripslashes($_POST['created_by'])));
|
||||||
|
$_POST['message_text'] = nl2br(htmlentities(stripslashes($_POST['message_text'])));
|
||||||
|
$createdby = "<h3>**** Downloaded by " . $_POST['created_by'] . " (" . date(d."/".m."/"."Y") . " " . date(H.":".i) . ")</h3>";
|
||||||
|
$msg = "<p>" . $_POST['message_text'] . "</p>";
|
||||||
|
$filename = "./version_1.5.0.php";
|
||||||
|
while ((file_exists($filename)) && (! is_writable($filename)) && ($try_count < 200)) { usleep(100000); $try_count++; }
|
||||||
|
$fp = fopen($filename, "a");
|
||||||
|
fputs($fp, "\n");
|
||||||
|
fputs($fp, $createdby);
|
||||||
|
fputs($fp, "\n");
|
||||||
|
fputs($fp, $msg);
|
||||||
|
fclose($fp);
|
||||||
|
}
|
||||||
|
echo "<script type='text/javascript'>document.location.href='../version/QxOrm_1.5.0.zip';</script>";
|
||||||
|
?>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
39
doc/php/add_download.php5
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
$file_to_download = '../version/' . $_GET["file_path"];
|
||||||
|
$file_description = $_GET["file_desc"];
|
||||||
|
$is_valid = ((substr($_GET["file_path"], 0, 2) === 'Qx') && (substr($_GET["file_desc"], 0, 2) === 'Qx'));
|
||||||
|
if (($is_valid) && (file_exists($file_to_download)))
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
settype($try_count, "integer");
|
||||||
|
$file_log = "./download_log/" . $file_description . ".php";
|
||||||
|
$text_log = "<h3>**** " . date(d."/".m."/"."Y") . " " . date(H.":".i) . " ****</h3>";
|
||||||
|
while ((file_exists($file_log)) && (! is_writable($file_log)) && ($try_count < 200))
|
||||||
|
{ usleep(100000); $try_count++; }
|
||||||
|
$fp = fopen($file_log, "a");
|
||||||
|
fputs($fp, "\n");
|
||||||
|
fputs($fp, $text_log);
|
||||||
|
fclose($fp);
|
||||||
|
}
|
||||||
|
catch (Exception $exc) { echo '<p>' . $exc->getMessage() . '</p>'; }
|
||||||
|
|
||||||
|
echo '<p>If your download does not start automatically within 5 seconds, <a href="' . $file_to_download . '">please click here to manually download the file</a>.</p>';
|
||||||
|
echo '<br/>';
|
||||||
|
echo '<p><a href="../qxorm_en/home.html"><img alt="QxOrm and QxEntityEditor home page" src="../qxorm_en/resource/logo_qxorm_and_qxee.png" align="left" border="0"></a></p>';
|
||||||
|
|
||||||
|
echo '<script type="text/javascript">';
|
||||||
|
echo 'document.location.href = "' . $file_to_download . '";';
|
||||||
|
echo '</script>';
|
||||||
|
}
|
||||||
|
else if ($is_valid)
|
||||||
|
{
|
||||||
|
echo '<p>File to download <b>' . $file_to_download . '</b> does not exist !</p>';
|
||||||
|
echo '<br/>';
|
||||||
|
echo '<p><a href="../qxorm_en/home.html"><img alt="QxOrm and QxEntityEditor home page" src="../qxorm_en/resource/logo_qxorm_and_qxee.png" align="left" border="0"></a></p>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
doc/qxentityeditor/resource/qxee_all_views.jpg
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
doc/qxentityeditor/resource/qxee_cpp_preview.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
doc/qxentityeditor/resource/qxee_database.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_clone.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_colors.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_delete.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_modify.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_new.png
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
doc/qxentityeditor/resource/qxee_entity_settings.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
doc/qxentityeditor/resource/qxee_enum_colors.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
doc/qxentityeditor/resource/qxee_enum_settings.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_cpp.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_cpp_model_view.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 12 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_cpp_output.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_cpp_services.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_cpp_services_output.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 11 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_ddl.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_plugins.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_print.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 17 KiB |
BIN
doc/qxentityeditor/resource/qxee_export_xml_json.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
doc/qxentityeditor/resource/qxee_global_settings.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_json.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_mysql.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_odbc.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_plugins.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_postgresql.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_source_control.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
doc/qxentityeditor/resource/qxee_import_sqlite.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
doc/qxentityeditor/resource/qxee_js_debug.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
doc/qxentityeditor/resource/qxee_license.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
doc/qxentityeditor/resource/qxee_linux.png
Normal file
|
After Width: | Height: | Size: 417 KiB |
BIN
doc/qxentityeditor/resource/qxee_linux_small.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
doc/qxentityeditor/resource/qxee_logo.png
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
doc/qxentityeditor/resource/qxee_logo_small.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
doc/qxentityeditor/resource/qxee_macosx.png
Normal file
|
After Width: | Height: | Size: 302 KiB |
BIN
doc/qxentityeditor/resource/qxee_macosx_small.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
doc/qxentityeditor/resource/qxee_namespace_colors.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
doc/qxentityeditor/resource/qxee_namespace_menu.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
doc/qxentityeditor/resource/qxee_namespace_rename.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
doc/qxentityeditor/resource/qxee_naming_convention.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
doc/qxentityeditor/resource/qxee_organize_diagram_layout.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
doc/qxentityeditor/resource/qxee_plugin_scripts.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
doc/qxentityeditor/resource/qxee_plugins_about.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
doc/qxentityeditor/resource/qxee_post_it.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
doc/qxentityeditor/resource/qxee_post_it_colors.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
doc/qxentityeditor/resource/qxee_project_list.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
doc/qxentityeditor/resource/qxee_project_new.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
doc/qxentityeditor/resource/qxee_project_settings_01.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
doc/qxentityeditor/resource/qxee_project_settings_02.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
doc/qxentityeditor/resource/qxee_property_settings.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
doc/qxentityeditor/resource/qxee_property_settings_access.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
doc/qxentityeditor/resource/qxee_relation_settings.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
doc/qxentityeditor/resource/qxee_relation_settings_access.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
doc/qxentityeditor/resource/qxee_sample.png
Normal file
|
After Width: | Height: | Size: 255 KiB |
BIN
doc/qxentityeditor/resource/qxee_sample_old.png
Normal file
|
After Width: | Height: | Size: 265 KiB |
BIN
doc/qxentityeditor/resource/qxee_sample_small.png
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
doc/qxentityeditor/resource/qxee_sample_small_old.png
Normal file
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 14 KiB |
BIN
doc/qxentityeditor/resource/qxee_splitter.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
doc/qxentityeditor/resource/qxee_tag_project_state_01.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
doc/qxentityeditor/resource/qxee_tag_project_state_02.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
doc/qxentityeditor/resource/qxee_windows.png
Normal file
|
After Width: | Height: | Size: 233 KiB |
BIN
doc/qxentityeditor/resource/qxee_windows_small.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
doc/qxentityeditor/resource/qxee_zoom.png
Normal file
|
After Width: | Height: | Size: 148 KiB |
492
doc/qxorm_en/customer.html
Normal file
@@ -0,0 +1,492 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic
|
||||||
|
editor (data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png" align="left"
|
||||||
|
border="0"></a></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<div id="qx_search">
|
||||||
|
<gcse:search></gcse:search>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);"
|
||||||
|
onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br />
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br />
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br />
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);"
|
||||||
|
onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br />
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br />
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm >> Our customers</font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">Current version : </font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html"
|
||||||
|
target="_blank">QxOrm library online class documentation</a> - <a
|
||||||
|
href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow"></font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/customer.html"><img alt="Version fran<61>aise du site"
|
||||||
|
src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/customer.html"><img alt="Web site english version"
|
||||||
|
src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img
|
||||||
|
alt="" src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
<br />
|
||||||
|
<b>Note :</b> QxOrm library is an open-source software downloaded every day : so it's not possible to
|
||||||
|
give a list of all users and all applications based on QxOrm library.<br />
|
||||||
|
Here are some companies which use QxOrm library and QxEntityEditor application in their commercial
|
||||||
|
products :<br />
|
||||||
|
<br />
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.nasa.gov/centers/glenn/home/index.html" target="_blank"><img class="logo_customer" src="http://www.nasa.gov/sites/all/themes/custom/nasatwo/images/nasa-logo.svg" alt="NASA Glenn Research Center" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.nasa.gov/centers/glenn/home/index.html" target="_blank">NASA Glenn Research Center</a> :</b><br/>
|
||||||
|
NASA Glenn Research Center is one of ten major NASA field centers, whose primary mission is to develop science and technology for use in aeronautics and space.
|
||||||
|
As of May 2012, it employed about 1,650 civil servants and 1,850 support contractors located on or near its site.
|
||||||
|
<br/><a href="https://en.wikipedia.org/wiki/Glenn_Research_Center" target="_blank"><font size="2"><i>[Description based on Wikipedia webpage]</i></font></a>
|
||||||
|
<br/><br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.williamsf1.com/" target="_blank"><img class="logo_customer" src="http://az732437.vo.msecnd.net/-/media/images/logo/wae-logo-dark.ashx" alt="Williams F1" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.williamsf1.com/" target="_blank">Williams F1</a> :</b><br/>
|
||||||
|
Williams is one of the world's leading Formula 1 teams. It exists purely to race in the top echelon of motor racing, where it has been winning grands prix for more than three decades.
|
||||||
|
Williams Advanced Engineering is the technology and engineering services business of the Williams Group. They provide world class technical innovation, engineering, testing, and manufacturing services to deliver energy efficient performance to the Automotive, Motorsport, Civil Aerospace, Defence, Sports Science and Energy Sectors. They specialise in Lightweight Materials, Hybrid Power Systems and Electronics, Advanced Aerodynamics, Vehicle Dynamics and Holistic Integration Capabilities.
|
||||||
|
<br/><a href="https://en.wikipedia.org/wiki/Williams_Grand_Prix_Engineering" target="_blank"><font size="2"><i>[Wikipedia webpage]</i></font></a>
|
||||||
|
<br/><br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.irobot.com/" target="_blank"><img class="logo_customer" src="http://www.irobot.com/~/media/EU%20Sites/logo.png" alt="iRobot Corporation" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.irobot.com/" target="_blank">iRobot Corporation</a> :</b><br/>
|
||||||
|
iRobot Corporation is an American advanced technology company founded in 1990 and incorporated in Delaware in 2000. It designs robots such as an autonomous home vacuum cleaner (Roomba), the Scooba that scrubs and cleans hard floors, and military and police robots, such as the PackBot.<br/>
|
||||||
|
iRobot is a public corporation, based in Bedford, Massachusetts.
|
||||||
|
<br/><a href="http://en.wikipedia.org/wiki/IRobot" target="_blank"><font size="2"><i>[Description based on Wikipedia webpage]</i></font></a>
|
||||||
|
<br/><br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.agcocorp.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://www.agcocorp.com/content/agcocorp/en_US/_jcr_content/headermainparsys/header/logoimage.img.png/1719948434940.png"
|
||||||
|
alt="AGCO" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.agcocorp.com/" target="_blank">AGCO</a> :</b><br />
|
||||||
|
AGCO Corporation is an American agricultural equipment manufacturer based in Duluth, Georgia,
|
||||||
|
United States. As a leading global manufacturer of agricultural equipment, AGCO offers a full
|
||||||
|
line of tractors, combines, hay tools, sprayers, forage and tillage equipment, which are
|
||||||
|
distributed through more than 3,100 independent dealers and distributors in more than 140
|
||||||
|
countries worldwide.
|
||||||
|
<br /><a href="http://en.wikipedia.org/wiki/AGCO" target="_blank">
|
||||||
|
<font size="2"><i>[Description based on Wikipedia webpage]</i></font>
|
||||||
|
</a>
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.ensco.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.ensco.com/IMAGES/ENSCO/v3/ENSCOLogo.gif" alt="ENSCO" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.ensco.com/" target="_blank">ENSCO</a> :</b><br />
|
||||||
|
ENSCO, Inc. is a provider of engineering services, products, and advanced technologies for
|
||||||
|
national security, transportation safety and asset management, information sciences, data
|
||||||
|
management including information management systems for weather monitoring, aerospace and
|
||||||
|
avionics, and R and D for private corporations and local, state, and federal agencies and
|
||||||
|
governments, including the United States Department of Defense.
|
||||||
|
<br /><a href="http://en.wikipedia.org/wiki/ENSCO,_Inc." target="_blank">
|
||||||
|
<font size="2"><i>[Description based on Wikipedia webpage]</i></font>
|
||||||
|
</a>
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.smithsdetection.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://upload.wikimedia.org/wikipedia/en/thumb/e/ed/Smiths_Group.svg/210px-Smiths_Group.svg.png"
|
||||||
|
alt="Smiths Detection" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.smithsdetection.com/" target="_blank">Smiths Detection</a> :</b><br />
|
||||||
|
Smiths Group plc is a British multinational diversified engineering company headquartered in
|
||||||
|
London, United Kingdom. It has operations in over 50 countries and employs around 23,550
|
||||||
|
staff.<br />
|
||||||
|
Smiths Group has five divisions : Smiths Detection is the world's largest manufacturer of
|
||||||
|
sensors for the detection of explosives, weapons, chemical agents, biohazards, narcotics and
|
||||||
|
contraband.
|
||||||
|
<br /><a href="http://en.wikipedia.org/wiki/Smiths_Group" target="_blank">
|
||||||
|
<font size="2"><i>[Description based on Wikipedia webpage]</i></font>
|
||||||
|
</a>
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.veranmedical.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.veranmedical.com/images/logo-veran-medical-technologies.png"
|
||||||
|
alt="Veran Medical" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.veranmedical.com/" target="_blank">Veran Medical</a> :</b><br />
|
||||||
|
Veran Medical Technologies is focused on comprehensive oncology program.
|
||||||
|
Veran's technology is defining the new standard in early definitive diagnosis of cancer,
|
||||||
|
providing your hospital with a comprehensive navigation solution.
|
||||||
|
Established in 2005, Veran Medical Technologies is a privately held soft tissue navigation
|
||||||
|
company focused on the early diagnosis of cancer.
|
||||||
|
<br />
|
||||||
|
Veran's mission is to extend life through earlier diagnosis and the delivery of minimally
|
||||||
|
invasive therapies for interventional oncology procedures with unique navigation
|
||||||
|
technologies.
|
||||||
|
<br />
|
||||||
|
Veran is dedicated to increasing patient survival while providing cost effective healthcare
|
||||||
|
solutions that defined the next standard of care.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.altran-ais.com.br" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://upload.wikimedia.org/wikipedia/en/thumb/b/b6/Logo_of_Capgemini_Engineering_2021.svg/220px-Logo_of_Capgemini_Engineering_2021.svg.png"
|
||||||
|
alt="Altran AIS" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.altran-ais.com.br" target="_blank">Altran AIS</a> :</b><br />
|
||||||
|
Altran Technologies, SA is a global consulting firm founded in 1982 in France. Altran
|
||||||
|
operates primarily in high technology and innovation consultancy, which account for nearly
|
||||||
|
75% of its turnover. Administrative and information consultancy accounts for 20% of its
|
||||||
|
turnover with strategy and management consulting making up the rest.
|
||||||
|
<br /><a href="http://en.wikipedia.org/wiki/Altran" target="_blank">
|
||||||
|
<font size="2"><i>[Description based on Wikipedia webpage]</i></font>
|
||||||
|
</a>
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://intermountainhealthcare.org" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://upload.wikimedia.org/wikipedia/en/thumb/e/e9/Intermountain_Healthcare_2005_logo.svg/1280px-Intermountain_Healthcare_2005_logo.svg.png"
|
||||||
|
alt="Intermountain Healthcare" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://intermountainhealthcare.org" target="_blank">Intermountain Healthcare</a>
|
||||||
|
:</b><br />
|
||||||
|
Intermountain Health Care, Inc., officially doing business as Intermountain Healthcare, is a
|
||||||
|
non-profit healthcare system and is the largest healthcare provider in the Intermountain
|
||||||
|
West. Until 2005 it was known as Intermountain Health Care or more commonly IHC; it is now
|
||||||
|
often referred to as simply Intermountain for short. Intermountain Healthcare provides
|
||||||
|
hospital and other medical services in Utah and Idaho and also offers integrated managed care
|
||||||
|
under the insurance brand SelectHealth. Intermountain Healthcare is headquartered in Salt
|
||||||
|
Lake City, Utah, and (as of 2014) employed over 33,000 people.
|
||||||
|
<br /><a href="http://en.wikipedia.org/wiki/Intermountain_Healthcare" target="_blank">
|
||||||
|
<font size="2"><i>[Description based on Wikipedia webpage]</i></font>
|
||||||
|
</a>
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.gsi-electronics.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.gsi-electronics.com/images/GSI Electronics.png"
|
||||||
|
alt="GSI Electronics Inc." /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.gsi-electronics.com/" target="_blank">GSI Electronics Inc.</a>
|
||||||
|
:</b><br />
|
||||||
|
GSI Electronics Inc. develops, manufactures and distributes innovative technological products
|
||||||
|
for the agricultural industry. GSI Electronics Inc. unique expertise allows them to offer
|
||||||
|
accurate, simple and diverse electronic, data processing and mechanical solutions for
|
||||||
|
improving agricultural production.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.sagemcom.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.sagemcom.com/fileadmin/private/custom-theme/images/sagemcom-logo.png"
|
||||||
|
alt="Sagemcom" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.sagemcom.com/" target="_blank">Sagemcom</a> :</b><br />
|
||||||
|
A French high-tech group of international dimensions, Sagemcom operates on the broadband
|
||||||
|
(digital home, set-top boxes, Internet routers, telephony and multimedia terminals), telecoms
|
||||||
|
and energy (smartgrid and energy management) and retail.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.bytechplanet.com/" target="_blank"><img class="logo_customer" src="http://www.bytechplanet.com/images-web/by-logo-home@2x.png" alt="By Techdesign S.L." style="width:100px;" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.bytechplanet.com/" target="_blank">By Techdesign S.L.</a> :</b><br/>
|
||||||
|
By Techdesign S.L. is a company with 100% Spanish capital specialized in researching, designing and manufacturing high-end products for Security and Access Control.
|
||||||
|
By Techdesign S.L. experience is credited with more than 30 years doing this work in order to achieve excellence in innovation.
|
||||||
|
<br/>
|
||||||
|
The innovation of By solutions is the result of the talent and experience of the professionals that make up the team.
|
||||||
|
By believes in the value of people, in the creativity of the young and the experience of the elderly, all of them provide the added value needed to turn By a leading company in the development of innovative high-tech solutions for security, being one of the largest ICT firms in the country.
|
||||||
|
<br/><br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.motius.de/" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://cdn.prod.website-files.com/64be79d12f4be686f39bcdee/64be8b55ac057951047d60fe_motius-logo.svg"
|
||||||
|
alt="Motius" style="width:100px;" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.motius.de/" target="_blank">Motius</a> :</b><br />
|
||||||
|
Motius is a unique German R&D company. It solves technical problems and develops products for
|
||||||
|
international customers through a pool of elite senior students, academic researchers and
|
||||||
|
young engineers.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.gsvitec.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://gsvitec.com/media/logo.png" alt="GSVitec"
|
||||||
|
style="background-color:grey;" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.gsvitec.com/" target="_blank">GSVitec</a> :</b><br />
|
||||||
|
Production of high-speed video and measurement data acquisition devices and software.<br />
|
||||||
|
Production of High Power LED light solutions especially for high speed video. Production and
|
||||||
|
design of High Power custom LED solutions (crash test, military, r&d).<br />
|
||||||
|
Software solutions for synchronous high speed data and video acquisition and recording.<br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://promenadesoftware.com/" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://cdn.prod.website-files.com/600752b78f114410e7b51e59/60eb7c03092c8718b3708549_PromenadeSoftware_Logo%20(1)-p-500.png"
|
||||||
|
alt="Promenade Software" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://promenadesoftware.com/" target="_blank">Promenade Software</a> :</b><br />
|
||||||
|
Promenade Software is a company comprised of highly skilled, experienced software engineers.
|
||||||
|
Whether it is for a medical device, avionics test system, or other sensitive system,
|
||||||
|
Promenade Software knows that their work is critical.
|
||||||
|
Critical to your company, your customer, and everyone involved. Promenade Software has the
|
||||||
|
skills and ready-made tools to deliver your product reliably and efficiently.
|
||||||
|
<br />
|
||||||
|
Unlike other software service providers, Promenade Software took the time to create the
|
||||||
|
ready-made libraries and test tools that increase your system's quality, while saving you
|
||||||
|
money and development time.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.ivembh.de/index.php/home-en" target="_blank"><img class="logo_customer"
|
||||||
|
src="https://ivembh.de/wp-content/uploads/2023/06/logo-ive.svg" alt="IVE mbH"
|
||||||
|
style="width:150px;" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.ivembh.de/index.php/home-en" target="_blank">IVE mbH</a> :</b><br />
|
||||||
|
Since founding IVE mbH, Consulting Company for Traffic and Railway Engineering Ltd., in 1998
|
||||||
|
IVE proficiently supports clients from the development of first ideas to the final
|
||||||
|
realisation and the practical use of projects.
|
||||||
|
Based on transport and railway expertise, IVE mbH derives concepts and future-oriented
|
||||||
|
sustainable solutions responding to the problems of clients, strengthening their position and
|
||||||
|
preparing them for the global competition.
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.nauchpribor.ru/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.nauchpribor.ru/images/top_02.jpg" alt="NauchPribor"
|
||||||
|
style="width:100px;" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.nauchpribor.ru/" target="_blank">NauchPribor</a> :</b><br />
|
||||||
|
NauchPribor is a high-tech company aimed on developing and producing low dose x-ray devices
|
||||||
|
for medical and security fields.<br />
|
||||||
|
Founded more than 40 years ago, now this company is one of the most advanced in
|
||||||
|
business.<br />
|
||||||
|
It has customers from all over the world. Headquartered resides in Orel, Russia.<br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="400px" align="center">
|
||||||
|
<a href="http://www.tang.nu/" target="_blank"><img class="logo_customer"
|
||||||
|
src="http://www.vetnet.nu/wp-content/uploads/2015/04/tanglogo.png" alt="Tang" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<b><a href="http://www.tang.nu/" target="_blank">Tang</a> :</b><br />
|
||||||
|
Tang A/S develops a PMS system for the veterinary business.<br />
|
||||||
|
Their products are selling in Denmark, Norway and Sweden.<br />
|
||||||
|
<br /><br />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
All organization names, logos and trademarks used in this web page are for identification purposes only.
|
||||||
|
All trademarks and logos are the property of their respective owners.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit"
|
||||||
|
alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
1254
doc/qxorm_en/download.html
Normal file
161
doc/qxorm_en/download_details.php
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic editor (data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col><col><col><col><col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png"align="left" border="0"></a></td>
|
||||||
|
<td align="right" style="vertical-align:bottom"><div id="qx_search"><gcse:search></gcse:search></div></td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col><col><col><col><col><col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);" onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto"><tbody><tr><td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br/>
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br/>
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br/>
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td></tr></tbody></table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);" onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual"><tbody><tr><td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br/>
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br/>
|
||||||
|
</div>
|
||||||
|
</td></tr></tbody></table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col><col><col><col><col><col>
|
||||||
|
<tbody><tr>
|
||||||
|
<td align="left" valign="top"><font size="2" class="txt_with_shadow">QxOrm >> Download details</font></td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1"><col><col><tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top"><font size="2" class="txt_with_shadow">Current version : </font></td>
|
||||||
|
<td align="left" valign="top"><font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html" target="_blank">QxOrm library online class documentation</a> - <a href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top"><font size="2" class="txt_with_shadow"></font></td>
|
||||||
|
<td align="left" valign="top"><font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font></td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/download_details.php"><img alt="Version fran<61>aise du site" src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/download_details.php"><img alt="Web site english version" src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img alt="" src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr></tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col><col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>QxOrm library is available with full source code and can be used free of charge under the terms of the <a href="./resource/license.gpl3.txt" target="_blank">GNU General Public License (GPL) version 3</a>.
|
||||||
|
<br><br>
|
||||||
|
<a href="http://en.wikipedia.org/wiki/GNU_General_Public_License" target="_blank">From Wikipedia</a> : <i>The GNU General Public License (GNU GPL or GPL) is the most widely used free software license, which guarantees end users (individuals, organizations, companies) the freedoms to use, study, share (copy), and modify the software. Software that ensures that these rights are retained is called free software. The GPL grants the recipients of a computer program the rights of the Free Software Definition and uses copyleft to ensure the freedoms are preserved whenever the work is distributed, even when the work is changed or added to. The GPL is a copyleft license, which means that derived works can only be distributed under the same license terms.</i>
|
||||||
|
<br><br>
|
||||||
|
If the GPLv3 license is too restrictive for your project, you can purchase the <b>QxOrm Proprietary License</b> (<b>QXPL</b>). Additional benefits of the QxOrm Proprietary License include :
|
||||||
|
<ul>
|
||||||
|
<li>Application source code stays private ;</li>
|
||||||
|
<li>High compatibility with different commercial and open-source licenses ;</li>
|
||||||
|
<li>Possibility to use QxOrm without delivering the full source of the library code to end users ;</li>
|
||||||
|
<li>Possibility to keep own modifications to QxOrm private ;</li>
|
||||||
|
<li>Possibility to create products without mentioning QxOrm to the end users ;</li>
|
||||||
|
<li>Protection against reverse engineering of the product.</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
<td width="200" align="center" valign="top"><a href="./resource/qt_ambassador_logo.png" target="_blank"><img alt="qt_ambassador" src="./resource/qt_ambassador_logo_150x150.png" width="150" height="150" border="0"></a><br>
|
||||||
|
<b><font size="2">QxOrm library has been accepted into the <a href="http://forum.qt.io/category/24/qt-ambassador-program" target="_blank">Qt Ambassador Program</a></font></b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
The QxOrm QXPL license is a per project (or per application) license, no matter developers count working on the project, and no matter deployed instances count of your software (royalty-free).
|
||||||
|
For example, if you develop 3 differents applications based on QxOrm library, then you have to purchase 3 differents QXPL licenses (one per project).<br/>
|
||||||
|
<br/>
|
||||||
|
Price of a <b>QxOrm Proprietary License</b> : <i>400€</i>.<br/>
|
||||||
|
<br/>
|
||||||
|
If you have any questions, or if you want to purchase the <b>QXPL</b> license, please contact us using this e-mail : <a href="mailto:ic-east.com">ic-east.com</a>.<br/>
|
||||||
|
<br/>
|
||||||
|
<a href="../php/add_download.php5?file_path=QxOrm_1.5.0.zip&file_desc=QxOrm_1.5.0" class="btn_tuto" target="_blank">Download QxOrm 1.5.0</a>
|
||||||
|
<br/>
|
||||||
|
<!--
|
||||||
|
<script type="text/javascript">
|
||||||
|
function checkForm(f) { f.submit(); return true; }
|
||||||
|
</script>
|
||||||
|
<form action="../php/add_download.php" method="POST" onSubmit="return checkForm(this);">
|
||||||
|
Your name or compagny name (optional) :<br/>
|
||||||
|
<input type="text" id="created_by" name="created_by" size="50" maxlength="200" /><br/>
|
||||||
|
Help us to improve QxOrm library adding a comment (optional) :<br/>
|
||||||
|
<textarea id="message_text" name="message_text" rows="3" cols="50"></textarea><br/>
|
||||||
|
<input type="submit" value=" Download QxOrm 1.5.0 " />
|
||||||
|
</form>
|
||||||
|
-->
|
||||||
|
<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br><hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col><col><col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit" alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
3606
doc/qxorm_en/faq.html
Normal file
411
doc/qxorm_en/home.html
Normal file
@@ -0,0 +1,411 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic editor
|
||||||
|
(data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png" align="left" border="0"></a>
|
||||||
|
</td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<div id="qx_search">
|
||||||
|
<gcse:search></gcse:search>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);"
|
||||||
|
onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br />
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br />
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br />
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);"
|
||||||
|
onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br />
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br />
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm >> Home</font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">Current version : </font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html"
|
||||||
|
target="_blank">QxOrm library online class documentation</a> - <a
|
||||||
|
href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow"></font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/home.html"><img alt="Version fran<61>aise du site"
|
||||||
|
src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/home.html"><img alt="Web site english version"
|
||||||
|
src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img alt=""
|
||||||
|
src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1 class="txt_slogan">QxOrm (the engine) + QxEntityEditor (the graphic editor) = the best solution to
|
||||||
|
manage your persistent data layer in C++/Qt !</h1>
|
||||||
|
<br />
|
||||||
|
<hr style="width: 90%" align="center" size="1" color="#100D5A">
|
||||||
|
<br /><b>QxOrm library is an <i>Object Relational Mapping (ORM)</i> database library for C++/Qt
|
||||||
|
developers.</b>
|
||||||
|
With a simple <b>C++ setting function per class</b> (like <a href="http://hibernate.org/"
|
||||||
|
target="_blank"><i>Hibernate</i></a> XML mapping file in Java), you have access to the following
|
||||||
|
features :<br>
|
||||||
|
<ul>
|
||||||
|
<li><b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_30">Persistence</a></font>
|
||||||
|
</b> : support most common databases like SQLite, MySQL, PostgreSQL, Oracle, MS SQL Server, <a
|
||||||
|
href="./manual.html#manual_95">MongoDB</a> (with <i>1-1</i>, <i>1-n</i>, <i>n-1</i> and
|
||||||
|
<i>n-n</i> relationships) ;
|
||||||
|
</li>
|
||||||
|
<li><b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_60">Serialization</a></font>
|
||||||
|
</b> : JSON, binary and XML format ;</li>
|
||||||
|
<li><b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_70">Reflection</a></font>
|
||||||
|
</b> (or <b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_70">introspection</a></font>
|
||||||
|
</b>) : access dynamically to classes definitions, retrieve properties and call classes methods ;
|
||||||
|
</li>
|
||||||
|
<li><b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_96">HTTP web server</a>
|
||||||
|
</font>
|
||||||
|
</b> : standalone multi-threaded HTTP 1.1 web server (support SSL/TLS, persistent connections,
|
||||||
|
cookies, sessions, chunked responses, URL dispatcher/routing) ;</li>
|
||||||
|
<li><b>
|
||||||
|
<font style="background-color:yellow"><a href="./manual.html#manual_97">JSON API</a></font>
|
||||||
|
</b> : interoperability with other technology than C++/Qt (REST web services, QML applications,
|
||||||
|
scripting language).</li>
|
||||||
|
</ul>
|
||||||
|
<hr style="width: 90%" align="center" size="1" color="#100D5A">
|
||||||
|
</td>
|
||||||
|
<td width="200" align="center" valign="top"><a href="./resource/qt_ambassador_logo.png"
|
||||||
|
target="_blank"><img alt="qt_ambassador" src="./resource/qt_ambassador_logo_150x150.png" width="150"
|
||||||
|
height="150" border="0"></a><br>
|
||||||
|
<b>
|
||||||
|
<font size="2">QxOrm library has been accepted into the <a
|
||||||
|
href="http://forum.qt.io/category/24/qt-ambassador-program" target="_blank">Qt Ambassador
|
||||||
|
Program</a></font>
|
||||||
|
</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
<b>QxEntityEditor</b> is a graphic editor for <b>QxOrm</b> library : <b>QxEntityEditor</b> provides a graphic
|
||||||
|
way to manage the data model.<br>
|
||||||
|
<b>QxEntityEditor</b> is multi-platform (available for Windows, Linux and Mac OS X) and generates native code
|
||||||
|
for all environments : desktop (Windows, Linux, Mac OS X), embedded and mobile (Android, iOS, Windows Phone,
|
||||||
|
Raspberry Pi, etc.).<br>
|
||||||
|
<a href="./manual_qxee.html">A user manual (documentation) for <b>QxEntityEditor</b> application is
|
||||||
|
available</a>.<br>
|
||||||
|
<br>
|
||||||
|
<b>QxEntityEditor</b> is based on plugins and provides many ways to import/export your data model :
|
||||||
|
<ul>
|
||||||
|
<li><a href="./manual_qxee.html#cpp_export_settings">generate C++ persistent classes</a> automatically
|
||||||
|
(registered in QxOrm context) ;</li>
|
||||||
|
<li><a href="./manual_qxee.html#ddl_export_settings">generate DDL SQL script</a> automatically (database
|
||||||
|
schema) for SQLite, MySQL, PostgreSQL, Oracle and MS SQL Server ;</li>
|
||||||
|
<li>manage schema evolution for each project version (<i>ALTER TABLE</i>, <i>ADD COLUMN</i>, <i>DROP
|
||||||
|
INDEX</i>, etc.) ;</li>
|
||||||
|
<li>transfer your data model over network and <a
|
||||||
|
href="./manual_qxee.html#cpp_services_export_settings">create quickly client/server applications</a>,
|
||||||
|
using <a href="../doxygen/html/group___qx_service.html" target="_blank">QxService</a> module ;</li>
|
||||||
|
<li><a href="./manual_qxee.html#wnd_mysql_import">import existing database structure</a> (using ODBC
|
||||||
|
connection or native drivers) for SQLite, MySQL, PostgreSQL, Oracle and MS SQL Server databases ;</li>
|
||||||
|
<li>because each project is different, QxEntityEditor provides several ways to customize generated files
|
||||||
|
(especially <a href="./manual_qxee.html#js_engine">a javascript engine and an integrated debugger</a>).
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<a href="../qxentityeditor/resource/qxee_sample.png" target="_blank"><img alt="QxEntityEditor"
|
||||||
|
src="../qxentityeditor/resource/qxee_sample_small.png" border="0" class="img_with_shadow"></a>
|
||||||
|
<br><br>
|
||||||
|
<hr style="width: 90%" align="center" size="1" color="#100D5A">
|
||||||
|
<br>
|
||||||
|
<b>QxOrm</b> library is designed to make easier C++ development and provides many functionalities.<br>
|
||||||
|
Here is a list of advantages of QxOrm library :
|
||||||
|
<ul>
|
||||||
|
<li><b>non intrusive</b> : the <i>C++ setting function per class</i> doesn't modify class definition, QxOrm
|
||||||
|
can be used in existing projects ;</li>
|
||||||
|
<li><b>no XML mapping file</b> ;</li>
|
||||||
|
<li><b>classes doesn't need to inherit from a 'super object'</b> ;</li>
|
||||||
|
<li><b>template meta-programming</b> : no macro hack ;</li>
|
||||||
|
<li>works with <b>Visual C++</b> on Windows, <b>GCC</b> on Linux, <b>Clang</b> on Mac OS X, and <b>MinGW</b>
|
||||||
|
on Windows (other platforms will be tested soon : smartphones, etc...) ;</li>
|
||||||
|
<li>only one file <i><QxOrm.h></i> to include in precompiled-header (<b>precompiled-header</b> file is
|
||||||
|
recommended to reduce compilation times).</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<b>QxOrm</b> is based on <a href="http://www.qt.io/" target="_blank"><b>Qt framework</b></a> (support Qt4,
|
||||||
|
Qt5, Qt6) :
|
||||||
|
<!-- and <a href="http://www.boost.org/" target="_blank"><b>boost</b></a> (from version 1.38, and by default just header files <i>*.hpp</i> are necessary) : -->
|
||||||
|
<p></p>
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td valign="middle" width="161" align="center"><a href="http://www.qt.io/" target="_blank"><img alt="Qt"
|
||||||
|
src="./resource/logo_qt.jpg" width="42" height="50" border="0"></a></td>
|
||||||
|
<td align="justify"><b>Qt</b> : cross-platform application development framework : GUI (<i>QtGui</i>),
|
||||||
|
network (<i>QtNetwork</i>), XML (<i>QtXml</i>), database (<i>QtSql</i>)...<br>
|
||||||
|
Qt provides excellent support and documentation. Using Qt, you can write simple and powerful C++
|
||||||
|
code.<br>
|
||||||
|
Qt is produced by Digia's Qt Development Frameworks division and is available under LGPL license.<br>
|
||||||
|
QxOrm is compatible with many Qt's objects : <i>QObject, QString, QDate, QTime, QDateTime, QList,
|
||||||
|
QHash, QSharedPointer, QScopedPointer...</i><br>
|
||||||
|
It is recommended to install the latest version of Qt available at the following address : <a
|
||||||
|
href="http://www.qt.io/" target="_blank">http://www.qt.io/</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p></p>
|
||||||
|
<!--
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col><col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td valign="middle" width="161" align="center"><a href="http://www.boost.org/" target="_blank"><img alt="boost" src="./resource/logo_boost.jpg" width="161" height="50" border="0"></a></td>
|
||||||
|
<td align="justify"><b>boost</b> : many of boost's founders are on the C++ standard committee and several boost libraries have been accepted for incorporation into C++1x (new standard for the C++ programming language).
|
||||||
|
The boost's libraries are aimed at a wide range of C++ users and application domains.<br>
|
||||||
|
QxOrm uses the following boost's features (header files <i>*.hpp</i> only, boost <i>serialization</i> dependency is optional) : <i>smart_pointer, type_traits, multi_index_container, unordered_container, any, tuple, foreach, function.</i><br>
|
||||||
|
It is recommended to get the latest version of boost available at the following address : <a href="http://www.boost.org/" target="_blank">http://www.boost.org/</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p></p>
|
||||||
|
-->
|
||||||
|
<br>
|
||||||
|
<p><b>QxOrm</b> provides the following modules :</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_dao.html" target="_blank">QxDao</a></b> : based on <b>Qt</b> <a
|
||||||
|
href="http://doc.qt.io/qt-5/qtsql-index.html" target="_blank"><i>QtSql</i></a> engine, this module
|
||||||
|
provides communication with databases (<i>select, update, delete, transaction</i>...) by mapping
|
||||||
|
database table columns with C++ class properties. The relationships <i>1-1</i>, <i>1-n</i>, <i>n-1</i>
|
||||||
|
and <i>n-n</i> are easy to setup in C++ code. This module supports object-oriented programming :
|
||||||
|
inheritance, polymorphism, modularity. It supports also many containers (<b>stl</b>, <b>boost</b> and
|
||||||
|
<b>Qt</b> : <i>std::vector, std::list, std::unordered_map, QList, QHash...</i>).
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_register.html" target="_blank">QxRegister</a>, <a
|
||||||
|
href="../doxygen/html/group___qx_data_member.html" target="_blank">QxDataMember</a>, <a
|
||||||
|
href="../doxygen/html/group___qx_factory.html" target="_blank">QxFactory</a></b> and <b><a
|
||||||
|
href="../doxygen/html/group___qx_function.html" target="_blank">QxFunction</a></b> : <b>QxOrm</b>
|
||||||
|
emulates <i>reflection</i> (or <i>introspection</i>) mechanism (like other languages : Java, C#...).</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_model_view.html" target="_blank">QxModelView</a></b> : each
|
||||||
|
class registered in QxOrm context can be used by the <a href="http://doc.qt.io/qt-5/modelview.html"
|
||||||
|
target="_blank">Qt model/view engine</a> (Qt widgets and/or QML views). <a
|
||||||
|
href="../doxygen/html/classqx_1_1_ix_model.html" target="_blank">qx::IxModel</a> interface exposes
|
||||||
|
automatically to QML engine all properties defined in QxOrm context. This module makes easier
|
||||||
|
interaction between QML and databases.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_service.html" target="_blank">QxService</a></b> : based on <a
|
||||||
|
href="http://doc.qt.io/qt-5/qtnetwork-index.html" target="_blank"><i>QtNetwork</i></a> engine of Qt
|
||||||
|
library, this module provides an easy and powerful way to create <b>C++ application server</b>
|
||||||
|
(<i>services</i> concept with <i>request</i> from client and <i>reply</i> from server). <b>QxService</b>
|
||||||
|
uses <i>serialization</i> and <i>introspection</i> from QxOrm library to transfer over network any class
|
||||||
|
or structure. For more details about <b>QxService</b> module, <b>a tutorial</b> is available <a
|
||||||
|
href="./tutorial_2.html">here</a>.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_collection.html" target="_blank">QxCollection<Key,
|
||||||
|
Value></a></b> :
|
||||||
|
<!-- based on <a href="http://www.boost.org/doc/libs/release/libs/multi_index/doc/index.html" target="_blank"><i>boost::multi_index_container</i></a>, -->
|
||||||
|
this thread-safe container has advantages of <i>std::vector<T></i> (insertion order + quick access
|
||||||
|
by index) and <i>std::unordered_map<Key, Value></i> or <i>QHash<Key, Value></i> (quick
|
||||||
|
access by a key : <i>hash-map</i>). <b>QxCollection<Key, Value></b> is adapted to contain the
|
||||||
|
items resulting from a database.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_serialize.html" target="_blank">QxSerialize</a></b> : this
|
||||||
|
module is based on Qt <a href="http://doc.qt.io/qt-5/qdatastream.html"
|
||||||
|
target="_blank"><i>QDataStream</i></a> class.
|
||||||
|
<!-- and <a href="http://www.boost.org/doc/libs/release/libs/serialization/doc/index.html" target="_blank"><i>boost::serialization</i></a> library (<a href="http://www.boost.org/doc/libs/release/libs/serialization/doc/index.html" target="_blank"><i>boost::serialization</i></a> dependency is optional and not required by default) -->
|
||||||
|
Any class defined by QxOrm can be serialized to binary, XML and JSON format. This module also allows to
|
||||||
|
clone all instances of objects. Most of Qt objects (<i>QObject, QString, QDate, QTime, QDateTime, QList,
|
||||||
|
QHash...</i>) are compatible with <i>QxSerialize</i> module.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_traits.html" target="_blank">QxTraits</a></b> : C++ standard
|
||||||
|
library provides several generic traits. QxOrm uses them but needs new functionalities that are not
|
||||||
|
present in std standard library.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_cache.html" target="_blank">QxCache</a></b> : QxOrm's cache can
|
||||||
|
contain all types of objects. It's possible for example to store data resulting from a database to avoid
|
||||||
|
too frequent requests. This cache is generic and can be used in other contexts than QxOrm.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_validator.html" target="_blank">QxValidator</a></b> : this
|
||||||
|
module provides a validation engine for classes registered in QxOrm context. To use this validation
|
||||||
|
engine, you have to define your constraints into the mapping function per class : <i>void
|
||||||
|
qx::register_class</i>. If for an instance of class, at least one constraint violation is detected,
|
||||||
|
then the instance is invalid : the object cannot be saved into database (<i>INSERT</i> or
|
||||||
|
<i>UPDATE</i>). For more information about <i>QxValidator</i> module, <a
|
||||||
|
href="./manual.html#manual_420">read the manual here</a>.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><b><a href="../doxygen/html/group___qx_mem_leak.html" target="_blank">QxMemLeak</a></b> : fast
|
||||||
|
detection of memory leaks in <i>Debug</i> mode (with indication of file and line => MFC style from
|
||||||
|
Microsoft). This module is developed by <a href="http://wyw.dcweb.cn/leakage.htm" target="_blank">Wu
|
||||||
|
Yongwei</a>. If another tool is already used in your projects (<i>Valgrind</i> for example), this
|
||||||
|
functionality should not be enabled. By default, <i>QxMemLeak</i> module is disabled.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<p>You can download the current version of <b>QxOrm</b> library and <b>QxEntityEditor</b> application <a
|
||||||
|
href="./download.html">here</a>.
|
||||||
|
<br>A manual (user guide) to learn how to work with QxOrm library is available <a
|
||||||
|
href="./manual.html">here</a>.
|
||||||
|
<br>A quick sample showing basic functionalities of <b>QxOrm</b> is available <a
|
||||||
|
href="./quick_sample.html">here</a>.
|
||||||
|
<br>If you have any questions about <b>QxOrm</b> library or <b>QxEntityEditor</b> application, a forum is
|
||||||
|
available <a href="https://www.qxorm.com/forum/phpbb/" target="_blank">here</a>.<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit"
|
||||||
|
alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
264
doc/qxorm_en/link.html
Normal file
@@ -0,0 +1,264 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic editor
|
||||||
|
(data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png" align="left" border="0"></a>
|
||||||
|
</td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<div id="qx_search">
|
||||||
|
<gcse:search></gcse:search>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);"
|
||||||
|
onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br />
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br />
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br />
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);"
|
||||||
|
onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br />
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br />
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm >> Forum</font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">Current version : </font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html"
|
||||||
|
target="_blank">QxOrm library online class documentation</a> - <a
|
||||||
|
href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow"></font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/link.html"><img alt="Version fran<61>aise du site"
|
||||||
|
src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/link.html"><img alt="Web site english version"
|
||||||
|
src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img alt=""
|
||||||
|
src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
If you find a bug or if you have a question about <b>QxOrm</b> library or <b>QxEntityEditor</b>
|
||||||
|
software :
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="350px">
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://github.com/QxOrm/QxOrm/issues" target="_blank">
|
||||||
|
<font size="4"><b>QxOrm & QxEntityEditor GitHub</b></font>
|
||||||
|
</a></li>
|
||||||
|
<li><a href="https://www.qxorm.com/forum/phpbb/" target="_blank">
|
||||||
|
<font size="4"><b>QxOrm & QxEntityEditor forum</b></font>
|
||||||
|
</a></li>
|
||||||
|
<li><a
|
||||||
|
href="https://www.developpez.net/forums/f1563/c-cpp/bibliotheques/qt/bases-donnees/qxorm/"
|
||||||
|
target="_blank">
|
||||||
|
<font size="4"><b>QxOrm & QxEntityEditor forum (FR)</b></font>
|
||||||
|
</a></li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
<td align="left" width="200px">
|
||||||
|
<a href="https://www.qxorm.com/forum/phpbb/" target="_blank"><img alt="QxOrm forum"
|
||||||
|
src="./resource/logo_qxorm_small.png" width="168" height="40" border="0"></a>
|
||||||
|
</td>
|
||||||
|
<td align="left">
|
||||||
|
<a href="https://www.qxorm.com/forum/phpbb/" target="_blank"><img alt="QxEntityEditor forum"
|
||||||
|
src="../qxentityeditor/resource/qxee_logo_small.png" border="0"></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
If you have a question about <b>boost</b> or <b>Qt</b> library :
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="200px">
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://forum.qt.io/" target="_blank">Qt forum</a></li>
|
||||||
|
<li><a href="http://www.boost.org/" target="_blank">boost forum</a></li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
<td align="left" width="100px">
|
||||||
|
<a href="http://forum.qt.io/" target="_blank"><img alt="Qt forum" src="./resource/logo_qt.jpg"
|
||||||
|
width="42" height="50" border="0"></a>
|
||||||
|
</td>
|
||||||
|
<td align="left">
|
||||||
|
<a href="http://www.boost.org/" target="_blank"><img alt="boost forum"
|
||||||
|
src="./resource/logo_boost.jpg" width="161" height="50" border="0"></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="200" align="center" valign="top"><a href="./resource/qt_ambassador_logo.png"
|
||||||
|
target="_blank"><img alt="qt_ambassador" src="./resource/qt_ambassador_logo_150x150.png" width="150"
|
||||||
|
height="150" border="0"></a><br>
|
||||||
|
<b>
|
||||||
|
<font size="2">QxOrm library has been accepted into the <a
|
||||||
|
href="http://forum.qt.io/category/24/qt-ambassador-program" target="_blank">Qt Ambassador
|
||||||
|
Program</a></font>
|
||||||
|
</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
French web sites to help you to your development software with forums, tutorials, documentations...
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://www.developpez.com/" target="_blank">Developpez.com - Club des d<>cideurs et
|
||||||
|
professionnels en Informatique</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="http://www.siteduzero.com/" target="_blank">Le Site du Z<>ro</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="http://www.qtfr.org/" target="_blank">Qtfr</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit"
|
||||||
|
alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
12788
doc/qxorm_en/manual.html
Normal file
5630
doc/qxorm_en/manual_qxee.html
Normal file
177
doc/qxorm_en/model.html
Normal file
@@ -0,0 +1,177 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic editor
|
||||||
|
(data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png" align="left" border="0"></a>
|
||||||
|
</td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<div id="qx_search">
|
||||||
|
<gcse:search></gcse:search>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);"
|
||||||
|
onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br />
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br />
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br />
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);"
|
||||||
|
onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br />
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br />
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm >> [model]</font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">Current version : </font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html"
|
||||||
|
target="_blank">QxOrm library online class documentation</a> - <a
|
||||||
|
href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow"></font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/model.html"><img alt="Version fran<61>aise du site"
|
||||||
|
src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/model.html"><img alt="Web site english version"
|
||||||
|
src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img alt=""
|
||||||
|
src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit"
|
||||||
|
alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
449
doc/qxorm_en/quick_sample.html
Normal file
@@ -0,0 +1,449 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||||
|
<title>QxOrm : C++ Qt ORM Object Relational Mapping database library - QxEntityEditor : C++ Qt entities graphic
|
||||||
|
editor (data model designer and source code generator)</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./resource/qxorm_style.css'>
|
||||||
|
<script type="text/javascript" src="./resource/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="./resource/qxorm_script.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./home.html"><img alt="QxOrm" src="./resource/logo_qxorm_and_qxee.png" align="left"
|
||||||
|
border="0"></a></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<div id="qx_search">
|
||||||
|
<gcse:search></gcse:search>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td width="15"></td>
|
||||||
|
<td align="right" style="vertical-align:bottom">
|
||||||
|
<img alt="Windows" src="./resource/logo_windows.gif" width="35" height="35">
|
||||||
|
<img alt="Linux" src="./resource/logo_linux.gif" width="35" height="35">
|
||||||
|
<img alt="Macintosh" src="./resource/logo_mac.gif" width="35" height="35">
|
||||||
|
</td>
|
||||||
|
<td width="70"><img alt="C++" src="./resource/logo_cpp.gif" width="50" height="50" align="right"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="center"><a href="./home.html" class="btn_nav">Home</a></td>
|
||||||
|
<td align="center"><a href="./download.html" class="btn_nav">Download</a></td>
|
||||||
|
<td align="center"><a href="./quick_sample.html" class="btn_nav">Quick sample</a></td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_tuto', true);"
|
||||||
|
onmouseout="showHideElementById('menu_tuto', false);">
|
||||||
|
<a href="./tutorial.html" class="btn_nav">Tutorial (4)</a>
|
||||||
|
<table class="table_menu_tuto">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_tuto" class="div_menu_tuto">
|
||||||
|
<a href="./tutorial_3.html" class="btn_sub_menu">install QxOrm</a><br />
|
||||||
|
<a href="./tutorial.html" class="btn_sub_menu">qxBlog</a><br />
|
||||||
|
<a href="./tutorial_2.html" class="btn_sub_menu">qxClientServer</a><br />
|
||||||
|
<a href="./tutorial_4.html" class="btn_sub_menu">QxEntityEditor videos</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center" onmouseover="showHideElementById('menu_manual', true);"
|
||||||
|
onmouseout="showHideElementById('menu_manual', false);">
|
||||||
|
<a href="./manual.html" class="btn_nav">Manual (2)</a>
|
||||||
|
<table class="table_menu_manual">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="menu_manual" class="div_menu_manual">
|
||||||
|
<a href="./manual.html" class="btn_sub_menu">QxOrm manual</a><br />
|
||||||
|
<a href="./manual_qxee.html" class="btn_sub_menu">QxEntityEditor manual</a><br />
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="center"><a href="./link.html" class="btn_nav">Forum</a></td>
|
||||||
|
<td align="center"><a href="./customer.html" class="btn_nav">Our customers</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm >> Quick sample</font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="1">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">Current version : </font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxOrm 1.5.0 - <a href="../doxygen/index.html"
|
||||||
|
target="_blank">QxOrm library online class documentation</a> - <a
|
||||||
|
href="https://github.com/QxOrm/QxOrm" target="_blank">GitHub</a></font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow"></font>
|
||||||
|
</td>
|
||||||
|
<td align="left" valign="top">
|
||||||
|
<font size="2" class="txt_with_shadow">QxEntityEditor 1.2.8</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td width="10px"></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_fr/quick_sample.html"><img alt="Version fran<61>aise du site"
|
||||||
|
src="./resource/FR.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="../qxorm_en/quick_sample.html"><img alt="Web site english version"
|
||||||
|
src="./resource/GB.png" width="40" height="30" border="0"></a></td>
|
||||||
|
<td width="40px" height="30px"><a href="http://sites.google.com/site/qxormpostgres/" target="_blank"><img
|
||||||
|
alt="" src="./resource/ES.png" width="40" height="30" border="0"></a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table border="1" frame="vsides" rules="cols" style="width: 80%" align="center" cellpadding="6" bgcolor="#F2F2F4">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="justify">
|
||||||
|
<table border="0" style="width: 100%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><b>In this chapter, we will see a quick sample with basic functionalities of QxOrm
|
||||||
|
library.</b> <br>
|
||||||
|
<br>
|
||||||
|
<i>Note :</i> <b>QxOrm</b> library uses the following syntax and naming convention for C++
|
||||||
|
source code :
|
||||||
|
<ul>
|
||||||
|
<li>all classes, functions, properties, etc... are defined under <a
|
||||||
|
href="./resource/qxorm.namespace.qx.jpg"><i>namespace qx</i></a> ;
|
||||||
|
</li>
|
||||||
|
<li>all macros of QxOrm library are prefixed by <i>QX_...</i> ;
|
||||||
|
</li>
|
||||||
|
<li>all abstracts classes (or interfaces) start with prefix <i>Ix</i> (for example
|
||||||
|
<i>IxFactory</i> is an interface to create an instance of object) ;
|
||||||
|
</li>
|
||||||
|
<li>other classes start with prefix <i>Qx</i> (for example <i>QxDataMember</i>) ;
|
||||||
|
</li>
|
||||||
|
<li>containers of objects end with suffix <i>X</i> (for example <i>QxDataMemberX</i> is a
|
||||||
|
list of <i>QxDataMember</i>) ;
|
||||||
|
</li>
|
||||||
|
<li>functions to interact with databases are under <a
|
||||||
|
href="./resource/qxorm.namespace.qx.dao.jpg"><i>namespace qx::dao</i></a> (for
|
||||||
|
example <i>qx::dao::fetch_by_id()</i>) ;
|
||||||
|
</li>
|
||||||
|
<li>functions to <i>serialize</i> are under <a
|
||||||
|
href="./resource/qxorm.namespace.qx.serialization.jpg"><i>namespace
|
||||||
|
qx::serialization</i></a> (for example <i>qx::serialization::xml::to_file()</i>)
|
||||||
|
;
|
||||||
|
</li>
|
||||||
|
<li>the <i>reflection</i> (or <i>introspection</i>) engine can be used with
|
||||||
|
<b><i>qx::QxClassX</i></b> (for example <i>qx::QxClassX::invoke()</i> to call a class
|
||||||
|
method) ;
|
||||||
|
</li>
|
||||||
|
<li>all traits classes are under <a
|
||||||
|
href="./resource/qxorm.namespace.qx.trait.jpg"><i>namespace qx::trait</i></a> (for
|
||||||
|
example <i>qx::trait::is_smart_ptr<T></i>).
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
<td width="200" align="center" valign="top"><a href="./resource/qt_ambassador_logo.png"
|
||||||
|
target="_blank"><img alt="qt_ambassador" src="./resource/qt_ambassador_logo_150x150.png"
|
||||||
|
width="150" height="150" border="0"></a><br>
|
||||||
|
<b>
|
||||||
|
<font size="2">QxOrm library has been accepted into the <a
|
||||||
|
href="http://forum.qt.io/category/24/qt-ambassador-program" target="_blank">Qt
|
||||||
|
Ambassador Program</a></font>
|
||||||
|
</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<i>Additional note :</i> you can find a more complex sample (with inheritance, polymorphism,
|
||||||
|
relationships, collections, shared libraries,
|
||||||
|
memory leak, etc...) in the folder <i>./test/qxDllSample/</i> of your QxOrm package.
|
||||||
|
The <i>./test/qxDllSample/</i> folder contains 2 projects of
|
||||||
|
DLL type (shared libraries) and 1 project of executable type : <i>./dll1/</i>,
|
||||||
|
<i>./dll2/</i> and <i>./exe/</i>.<br>
|
||||||
|
This solution can be built with <b>Visual C++ 2008, 2010 or 2012</b> on Windows (open the file
|
||||||
|
<i>./test/qxDllSample/test.sln</i>).<br>
|
||||||
|
This solution can also be compiled with <b>GCC</b> on Linux, <b>Clang</b> on Mac OS X and <b>MinGW</b> on
|
||||||
|
Windows with <i>qmake</i> command line.<br>
|
||||||
|
<br>
|
||||||
|
Quick sample step by step :
|
||||||
|
<ul>
|
||||||
|
<li><a href="#quick_sample_1">1- <i>drug.h</i> file : <i>drug</i> class definition with 3 properties :
|
||||||
|
<i>id</i>, <i>name</i> and <i>description</i></a></li>
|
||||||
|
<li><a href="#quick_sample_2">2- <i>drug.cpp</i> file : 'setting function' implementation : <i>void
|
||||||
|
qx::register_class()</i></a></li>
|
||||||
|
<li><a href="#quick_sample_3">3- <i>main.cpp</i> file : basic functionalities of QxOrm library with
|
||||||
|
<i>drug</i> class</a></li>
|
||||||
|
<li><a href="#quick_sample_4">4- execute program and trace output debug</a></li>
|
||||||
|
<li><a href="#quick_sample_5">5- <i>./export_drugs.xml</i> file created by the program</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<font color="#100D5A"><a name="quick_sample_1">*
|
||||||
|
-----------------------------------------------------------------------------------------------------<br>
|
||||||
|
* 1- <i>drug.h</i> file : <i>drug</i> class definition with 3 properties : <i>id</i>, <i>name</i>
|
||||||
|
and <i>description</i><br> *
|
||||||
|
-----------------------------------------------------------------------------------------------------<br>
|
||||||
|
</a></font><br>
|
||||||
|
<table border="1" bgcolor="#FFFFFF">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td title="drug.h">
|
||||||
|
<pre><span class="pre">#ifndef _CLASS_DRUG_H_
|
||||||
|
#define _CLASS_DRUG_H_
|
||||||
|
</span><span class="keyword">
|
||||||
|
class</span> drug<span class="operator">
|
||||||
|
{</span><span class="keyword">
|
||||||
|
public</span><span class="operator">:</span><span class="type">
|
||||||
|
long</span> id<span class="operator">;</span>
|
||||||
|
QString name<span class="operator">;</span>
|
||||||
|
QString description<span class="operator">;</span>
|
||||||
|
|
||||||
|
drug<span class="operator">() :</span> id<span class="operator">(</span><span class="int">0</span><span class="operator">) { ; }</span><span class="keyword">
|
||||||
|
virtual</span><span class="operator"> ~</span>drug<span class="operator">() { ; }
|
||||||
|
};</span>
|
||||||
|
|
||||||
|
QX_REGISTER_HPP_MY_TEST_EXE<span class="operator">(</span>drug<span class="operator">,</span> qx<span class="operator">::</span>trait<span class="operator">::</span>no_base_class_defined<span class="operator">,</span><span class="int"> 1</span><span class="operator">)</span><span class="comment">
|
||||||
|
|
||||||
|
/* This macro is necessary to register 'drug' class in QxOrm context */
|
||||||
|
/* param 1 : the current class to register => 'drug' */
|
||||||
|
/* param 2 : the base class, if no base class, use the qx trait => 'qx::trait::no_base_class_defined' */
|
||||||
|
/* param 3 : the class version used by serialization to provide 'ascendant compatibility' */</span><span class="pre">
|
||||||
|
|
||||||
|
#endif <span class="comment">// _CLASS_DRUG_H_</span></span></pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br><br>
|
||||||
|
<font color="#100D5A"><a name="quick_sample_2">*
|
||||||
|
----------------------------------------------------------------------------------------------------<br>
|
||||||
|
* 2- <i>drug.cpp</i> file : 'setting function' implementation : <i>void
|
||||||
|
qx::register_class()</i><br> *
|
||||||
|
----------------------------------------------------------------------------------------------------
|
||||||
|
</a></font><br><br>
|
||||||
|
<table border="1" bgcolor="#FFFFFF">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td title="drug.cpp">
|
||||||
|
<pre><span class="pre">#include <span class="string">"precompiled.h"</span> <span class="comment">// Precompiled-header with '#include <QxOrm.h>' and '#include "export.h"'</span>
|
||||||
|
#include <span class="string">"drug.h"</span> <span class="comment">// Class definition 'drug'</span>
|
||||||
|
#include <span class="string"><QxOrm_Impl.h></span> <span class="comment">// Automatic memory leak detection and boost serialization export macro</span>
|
||||||
|
</span>
|
||||||
|
QX_REGISTER_CPP_MY_TEST_EXE<span class="operator">(</span>drug<span class="operator">)</span><span class="comment"> // This macro is necessary to register 'drug' class in QxOrm context
|
||||||
|
</span><span class="keyword">
|
||||||
|
namespace</span> qx<span class="operator"> {</span><span class="keyword">
|
||||||
|
template</span><span class="operator"> <></span><span class="type"> void</span> register_class<span class="operator">(</span>QxClass<span class="operator"><</span>drug<span class="operator">> &</span> t<span class="operator">)
|
||||||
|
{</span>
|
||||||
|
t<span class="operator">.</span>id<span class="operator">(&</span> drug<span class="operator">::</span>id<span class="operator">,</span><span class="string"> "id"</span><span class="operator">);</span><span class="comment"> // Register 'drug::id' <=> primary key in your database
|
||||||
|
</span> t<span class="operator">.</span>data<span class="operator">(&</span> drug<span class="operator">::</span>name<span class="operator">,</span><span class="string"> "name"</span><span class="operator">,</span><span class="int"> 1</span><span class="operator">);</span><span class="comment"> // Register 'drug::name' property with key 'name' and version '1'
|
||||||
|
</span> t<span class="operator">.</span>data<span class="operator">(&</span> drug<span class="operator">::</span>description<span class="operator">,</span><span class="string"> "desc"</span><span class="operator">);</span><span class="comment"> // Register 'drug::description' property with key 'desc'
|
||||||
|
</span><span class="operator">}}</span></pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<font color="#100D5A"><a name="quick_sample_3">*
|
||||||
|
-----------------------------------------------------------------------------------------------<br>
|
||||||
|
* 3- <i>main.cpp</i> file : basic functionalities of QxOrm library with <i>drug</i> class<br> *
|
||||||
|
-----------------------------------------------------------------------------------------------
|
||||||
|
</a></font><br><br>
|
||||||
|
<table border="1" bgcolor="#FFFFFF">
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td title="main.cpp">
|
||||||
|
<pre><span class="pre">#include <span class="string">"precompiled.h"</span>
|
||||||
|
#include <span class="string">"drug.h"</span>
|
||||||
|
#include <span class="string"><QxOrm_Impl.h></span>
|
||||||
|
</span><span class="type">
|
||||||
|
int</span><span class="keyword"> main</span><span class="operator">(</span><span class="type">int</span> argc<span class="operator">,</span><span class="type"> char</span><span class="operator"> *</span> argv<span class="operator">[])
|
||||||
|
{</span>
|
||||||
|
QApplication app<span class="operator">(</span>argc<span class="operator">,</span> argv<span class="operator">);</span><span class="comment"> // Qt application
|
||||||
|
|
||||||
|
// Create 3 new drugs
|
||||||
|
// It is possible to use 'std' and 'Qt' smart pointer : 'std::shared_ptr', 'QSharedPointer', etc...
|
||||||
|
</span><span class="keyword"> typedef</span> std<span class="operator">::</span>shared_ptr<span class="operator"><</span>drug<span class="operator">></span> drug_ptr<span class="operator">;</span>
|
||||||
|
drug_ptr d1<span class="operator">;</span> d1<span class="operator">.</span>reset<span class="operator">(</span><span class="keyword">new</span> drug<span class="operator">());</span> d1<span class="operator">-></span>name<span class="operator"> =</span><span class="string"> "name1"</span><span class="operator">;</span> d1<span class="operator">-></span>description<span class="operator"> =</span><span class="string"> "desc1"</span><span class="operator">;</span>
|
||||||
|
drug_ptr d2<span class="operator">;</span> d2<span class="operator">.</span>reset<span class="operator">(</span><span class="keyword">new</span> drug<span class="operator">());</span> d2<span class="operator">-></span>name<span class="operator"> =</span><span class="string"> "name2"</span><span class="operator">;</span> d2<span class="operator">-></span>description<span class="operator"> =</span><span class="string"> "desc2"</span><span class="operator">;</span>
|
||||||
|
drug_ptr d3<span class="operator">;</span> d3<span class="operator">.</span>reset<span class="operator">(</span><span class="keyword">new</span> drug<span class="operator">());</span> d3<span class="operator">-></span>name<span class="operator"> =</span><span class="string"> "name3"</span><span class="operator">;</span> d3<span class="operator">-></span>description<span class="operator"> =</span><span class="string"> "desc3"</span><span class="operator">;</span><span class="comment">
|
||||||
|
|
||||||
|
// Insert drugs into container
|
||||||
|
// It is possible to use many containers from 'std', 'boost', 'Qt' and 'qx::QxCollection<Key, Value>'
|
||||||
|
</span><span class="keyword"> typedef</span> std<span class="operator">::</span>vector<span class="operator"><</span>drug_ptr<span class="operator">></span> type_lst_drug<span class="operator">;</span>
|
||||||
|
type_lst_drug lst_drug<span class="operator">;</span>
|
||||||
|
lst_drug<span class="operator">.</span>push_back<span class="operator">(</span>d1<span class="operator">);</span>
|
||||||
|
lst_drug<span class="operator">.</span>push_back<span class="operator">(</span>d2<span class="operator">);</span>
|
||||||
|
lst_drug<span class="operator">.</span>push_back<span class="operator">(</span>d3<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Init parameters to communicate with a database
|
||||||
|
</span> qx<span class="operator">::</span>QxSqlDatabase<span class="operator">::</span>getSingleton<span class="operator">()-></span>setDriverName<span class="operator">(</span><span class="string">"QSQLITE"</span><span class="operator">);</span>
|
||||||
|
qx<span class="operator">::</span>QxSqlDatabase<span class="operator">::</span>getSingleton<span class="operator">()-></span>setDatabaseName<span class="operator">(</span><span class="string">"./test_qxorm.db"</span><span class="operator">);</span>
|
||||||
|
qx<span class="operator">::</span>QxSqlDatabase<span class="operator">::</span>getSingleton<span class="operator">()-></span>setHostName<span class="operator">(</span><span class="string">"localhost"</span><span class="operator">);</span>
|
||||||
|
qx<span class="operator">::</span>QxSqlDatabase<span class="operator">::</span>getSingleton<span class="operator">()-></span>setUserName<span class="operator">(</span><span class="string">"root"</span><span class="operator">);</span>
|
||||||
|
qx<span class="operator">::</span>QxSqlDatabase<span class="operator">::</span>getSingleton<span class="operator">()-></span>setPassword<span class="operator">(</span><span class="string">""</span><span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Create table 'drug' into database to store drugs
|
||||||
|
</span> QSqlError daoError<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>create_table<span class="operator"><</span>drug<span class="operator">>();</span><span class="comment">
|
||||||
|
|
||||||
|
// Insert drugs from container to database
|
||||||
|
// 'id' property of 'd1', 'd2' and 'd3' are auto-updated
|
||||||
|
</span> daoError<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>insert<span class="operator">(</span>lst_drug<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Modify and update the second drug into database
|
||||||
|
</span> d2<span class="operator">-></span>name<span class="operator"> =</span><span class="string"> "name2 modified"</span><span class="operator">;</span>
|
||||||
|
d2<span class="operator">-></span>description<span class="operator"> =</span><span class="string"> "desc2 modified"</span><span class="operator">;</span>
|
||||||
|
daoError<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>update<span class="operator">(</span>d2<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Delete the first drug from database
|
||||||
|
</span> daoError<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>delete_by_id<span class="operator">(</span>d1<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Count drugs into database
|
||||||
|
</span><span class="type"> long</span> lDrugCount<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>count<span class="operator"><</span>drug<span class="operator">>();</span><span class="comment">
|
||||||
|
|
||||||
|
// Fetch drug with id '3' into a new variable
|
||||||
|
</span> drug_ptr d_tmp<span class="operator">;</span> d_tmp<span class="operator">.</span>reset<span class="operator">(</span><span class="keyword">new</span> drug<span class="operator">());</span>
|
||||||
|
d_tmp<span class="operator">-></span>id<span class="operator"> =</span><span class="int"> 3</span><span class="operator">;</span>
|
||||||
|
daoError<span class="operator"> =</span> qx<span class="operator">::</span>dao<span class="operator">::</span>fetch_by_id<span class="operator">(</span>d_tmp<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Export drugs from container to a file under xml format (serialization)
|
||||||
|
</span> qx<span class="operator">::</span>serialization<span class="operator">::</span>xml<span class="operator">::</span>to_file<span class="operator">(</span>lst_drug<span class="operator">,</span><span class="string"> "./export_drugs.xml"</span><span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Import drugs from xml file into a new container
|
||||||
|
</span> type_lst_drug lst_drug_tmp<span class="operator">;</span>
|
||||||
|
qx<span class="operator">::</span>serialization<span class="operator">::</span>xml<span class="operator">::</span>from_file<span class="operator">(</span>lst_drug_tmp<span class="operator">,</span><span class="string"> "./export_drugs.xml"</span><span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Clone a drug
|
||||||
|
</span> drug_ptr d_clone<span class="operator"> =</span> qx<span class="operator">::</span>clone<span class="operator">(*</span> d1<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Create a new drug by class name (factory)
|
||||||
|
</span> qx<span class="operator">::</span>any d_any<span class="operator"> =</span> qx<span class="operator">::</span>create<span class="operator">(</span><span class="string">"drug"</span><span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Insert drugs container into 'qx::cache'
|
||||||
|
</span> qx<span class="operator">::</span>cache<span class="operator">::</span>set<span class="operator">(</span><span class="string">"drugs"</span><span class="operator">,</span> lst_drug<span class="operator">);</span><span class="comment">
|
||||||
|
|
||||||
|
// Remove all elements from 'qx::cache'
|
||||||
|
</span> qx<span class="operator">::</span>cache<span class="operator">::</span>clear<span class="operator">();</span><span class="comment">
|
||||||
|
|
||||||
|
// Create a dummy memory leak
|
||||||
|
</span> drug<span class="operator"> *</span> pDummy<span class="operator"> =</span><span class="keyword"> new</span> drug<span class="operator">();</span><span class="flow">
|
||||||
|
|
||||||
|
return</span><span class="int"> 0</span><span class="operator">;
|
||||||
|
}</span></pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<p>
|
||||||
|
<font color="#100D5A"><a name="quick_sample_4">*
|
||||||
|
-------------------------------------------------------------------------<br>
|
||||||
|
* 4- execute program and trace output debug<br> *
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
</a></font><br>
|
||||||
|
</p>
|
||||||
|
<p></p>
|
||||||
|
<font size="2">[QxOrm] qx::QxSqlDatabase : create new database
|
||||||
|
connection in thread '3616' with key
|
||||||
|
'{d315250c-b5c9-46e0-9402-f800368a6673}'<br>
|
||||||
|
[QxOrm] sql query (78 ms) : CREATE TABLE drug (id INTEGER NOT NULL
|
||||||
|
PRIMARY KEY AUTOINCREMENT, name TEXT, desc TEXT)<br>
|
||||||
|
[QxOrm] sql query (63 ms) : INSERT INTO drug (name, desc) VALUES
|
||||||
|
(:name, :desc)<br>
|
||||||
|
[QxOrm] sql query (62 ms) : UPDATE drug SET id = :id, name = :name,
|
||||||
|
desc = :desc WHERE id = :id_bis<br>
|
||||||
|
[QxOrm] sql query (63 ms) : DELETE FROM drug WHERE id = :id<br>
|
||||||
|
[QxOrm] sql query (0 ms) : SELECT COUNT(*) FROM drug<br>
|
||||||
|
[QxOrm] sql query (0 ms) : SELECT drug.id AS drug_id_0, drug.name AS
|
||||||
|
drug_name_0, drug.desc AS drug_desc_0 FROM drug WHERE drug_id_0 =
|
||||||
|
:id<br>
|
||||||
|
[QxOrm] Leaked object at 0xf52ad8 (size 16, src\main.cpp:74)<br>
|
||||||
|
[QxOrm] **** 1 memory leaks found **** </font><br>
|
||||||
|
<br>
|
||||||
|
<p></p>
|
||||||
|
<font color="#100D5A"><a name="quick_sample_5">*
|
||||||
|
------------------------------------------------------------------------------<br>
|
||||||
|
* 5- <i>./export_drugs.xml</i> file created by the program<br> *
|
||||||
|
------------------------------------------------------------------------------</a>
|
||||||
|
</font><br>
|
||||||
|
<br>
|
||||||
|
<a href="./resource/quick_sample.export_drugs.xml.txt"><img alt="quick_sample.export_drugs.xml"
|
||||||
|
src="./resource/quick_sample.export_drugs.xml.jpg" width="642" height="452" border="0"></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<hr style="width: 80%" align="center" size="1" color="#100D5A">
|
||||||
|
<table border="0" style="width: 80%" align="center">
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<col>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle">
|
||||||
|
<img alt="QxOrm" src="./resource/logo_qxorm_small.png" width="168" height="40">
|
||||||
|
</td>
|
||||||
|
<td align="center" valign="middle">
|
||||||
|
<font size="2"><EFBFBD> 2011-202XDL Teamty - <a href="mailto:ic-east.com">ic-east.com</a></font>
|
||||||
|
</td>
|
||||||
|
<td align="right" valign="middle">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick">
|
||||||
|
<input type="hidden" name="hosted_button_id" value="2K4Z58ZYAYJ6S">
|
||||||
|
<input type="image" src="./resource/paypal_support_qxorm_library.gif" border="0" name="submit"
|
||||||
|
alt="Support QxOrm library - PayPal">
|
||||||
|
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
BIN
doc/qxorm_en/resource/ES.png
Normal file
|
After Width: | Height: | Size: 605 B |
BIN
doc/qxorm_en/resource/FR.png
Normal file
|
After Width: | Height: | Size: 442 B |
BIN
doc/qxorm_en/resource/GB.png
Normal file
|
After Width: | Height: | Size: 942 B |
BIN
doc/qxorm_en/resource/background.jpg
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
doc/qxorm_en/resource/download.jpg
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
doc/qxorm_en/resource/gui_qxClientServer.jpg
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
doc/qxorm_en/resource/gui_qxClient_01.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
doc/qxorm_en/resource/gui_qxClient_02.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
doc/qxorm_en/resource/gui_qxServer.jpg
Normal file
|
After Width: | Height: | Size: 59 KiB |
5
doc/qxorm_en/resource/jquery.min.js
vendored
Normal file
630
doc/qxorm_en/resource/license.gpl3.txt
Normal file
@@ -0,0 +1,630 @@
|
|||||||
|
QxOrm library - Copyright (C) 2021 XDL Team (ic-east.com)
|
||||||
|
|
||||||
|
You may use, distribute and copy QxOrm library under the terms of the
|
||||||
|
GNU General Public License version 3, which is displayed below
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------
|
||||||
BIN
doc/qxorm_en/resource/link_download.jpg
Normal file
|
After Width: | Height: | Size: 2.5 KiB |