16 if (!
dynamic_cast<const DBObject*
>(&templateVal)) {
20 QList<QSharedPointer<PKG::DBObject>> list;
28 if (list.size() > 1) {
29 qWarning() <<
"getObject method returned more than one object,"
30 " the first object was selected as the result,"
31 " all the rest were lost.";
The DBObject class- main class for work with data base.
QSharedPointer< PKG::DBObject > getObjectRaw(const PKG::DBObject &templateVal)
getObjectRaw This method return object without test object type.
virtual bool getAllObjects(const PKG::DBObject &templateObject, QList< QSharedPointer< PKG::DBObject > > &result)=0
getAllObjects This method execute a select method of the templateObject and return list of all select...
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...