QDebug operator <<(QDebug debug, const ServerNodeInstance &instance) { if (instance.isValid()) { debug.nospace() << "ServerNodeInstance(" << instance.instanceId() << ", " << instance.internalObject() << ", " << instance.id() << ", " << instance.parent() << ')'; } else { debug.nospace() << "ServerNodeInstance(invalid)"; } return debug.space(); }
bool operator <(const ServerNodeInstance &first, const ServerNodeInstance &second) { return first.instanceId() < second.instanceId(); }
uint qHash(const ServerNodeInstance &instance) { return ::qHash(instance.instanceId()); }