SceneTypeId SceneRegistry::type_id_of(Name type_name) { auto it = _type_name_to_id.find(type_name); if (it == _type_name_to_id.end()) { throw InvalidOperation(format("Unknown scene type '%s'", type_name.data())); } return it->second; }
bool NameArg::operator==(const Name &oth) const { if(_type == TypeEks) { return oth == _data.eks; } #if X_QT_INTEROP else if(_type == TypeQt) { return (*_data.qt) == oth.data(); } #endif return false; }