Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 77cccf8a

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID 77cccf8a38d8f477353c51770b7f85b0742c89a6
  • Vorgänger 686d9ffe
  • Nachfolger c6e41b5c

what a mess

Unterschiede anzeigen:

src/attributeresolver.cpp
return a;
}
<<<<<<< HEAD
QSharedPointer<QueryBuilder> AttributeResolver::getQb() const {
return qb;
}
=======
>>>>>>> master
bool AttributeResolver::containsAttribute(const QString &className,
const QString &attribute) const {
bool r = false;
......
return r;
}
Attribute *AttributeResolver::resolveAttribute(const QSharedPointer<Entity> &classObj,
const QString &attribute, QSharedPointer<Entity> related) {
Attribute *attr = nullptr;
if(this->containsAttribute(classObj->getClassname(), attribute)) {
attr = this->attributes.value(classObj->getClassname()).value(attribute);
} else {
attr = this->resolveExplicitAttribute(classObj, attribute, related);
this->addAttribute(classObj->getClassname(), attr);
}
return attr;
}
Attribute *AttributeResolver::resolveAttribute(const QString &className,
const QString &attribute, const QString related) {
Attribute *attr = nullptr;

Auch abrufbar als: Unified diff