///////////////////////////////////////////////////////////////////////////
| 1044 | |
| 1045 | //////////////////////////////////////////////////////////////////////////////// |
| 1046 | std::vector<int> Task::getDependencyIDs() const { |
| 1047 | std::vector<int> ids; |
| 1048 | for (auto& attr : all()) { |
| 1049 | if (!isDepAttr(attr)) continue; |
| 1050 | auto dep = attr2Dep(attr); |
| 1051 | ids.push_back(Context::getContext().tdb2.id(dep)); |
| 1052 | } |
| 1053 | |
| 1054 | return ids; |
| 1055 | } |
| 1056 | |
| 1057 | //////////////////////////////////////////////////////////////////////////////// |
| 1058 | std::vector<std::string> Task::getDependencyUUIDs() const { |