Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
dbobject.h File Reference
#include <QSqlRecord>
#include <QVariantMap>
#include "abstractdata.h"
#include "heart_global.h"
#include "dbaddress.h"
Include dependency graph for dbobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QH::PKG::DBVariant
 The DBVariant struct contains QVariant value of the DBObjects member and it type. More...
 
class  QH::PKG::DBObject
 The DBObject class- main class for work with data base. More...
 

Namespaces

namespace  QH
 The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart library.
 
namespace  QH::PKG
 The PKG namesapce - this namespace contains all default packages of the Heart library. If you want create a pool request for Heart Library with own implemented packages you need to create a new package into a PKG namesapce.
 

Typedefs

typedef QMap< QString, DBVariantQH::PKG::DBVariantMap
 DBVariantMap this is Map with key, and value with data type.
 

Enumerations

enum class  QH::PKG::PrepareResult { QH::PKG::Fail , QH::PKG::Success , QH::PKG::Disabled }
 The PrepareResult enum is result of work prepare sql query of dbobjects. More...
 
enum class  QH::PKG::MemberType {
  QH::PKG::None = 0x0 , QH::PKG::Insert = 0x1 , QH::PKG::Update = 0x2 , QH::PKG::Unique = 0x4 ,
  QH::PKG::Autoincement = 0x8 , QH::PKG::InsertUpdate = Insert | Update , QH::PKG::PrimaryKey = Insert | Unique , QH::PKG::PrimaryKeyAutoIncrement = PrimaryKey | Autoincement
}
 The MemberType enum. This enum contains types of members DBObjects classes. for more information see the DBObject::variantMap method. More...
 

Functions

constexpr uint QH::PKG::qHash (MemberType type)
 
 Q_DECLARE_METATYPE (QList< QH::PKG::DBObject * > *)
 
 Q_DECLARE_METATYPE (QList< const QH::PKG::DBObject * > *)
 

Function Documentation

◆ Q_DECLARE_METATYPE() [1/2]

Q_DECLARE_METATYPE ( QList< const QH::PKG::DBObject * > *  )

◆ Q_DECLARE_METATYPE() [2/2]

Q_DECLARE_METATYPE ( QList< QH::PKG::DBObject * > *  )