13 #ifndef MODIFIEDASSETSMANAGER_H
14 #define MODIFIEDASSETSMANAGER_H
29 const std::map<std::string, std::set<const T*> >&
origins()
const {
return myOrigins; }
31 std::vector<std::string>
files()
const {
32 std::vector<std::string>
files;
34 files.push_back(origin.first);
41 if (
file.second.count(asset) > 0) {
50 it.second.erase(asset);
60 if (
file.second.count(
a) > 0) {
76 std::vector<T *> assets;
77 std::copy_if(
myDirty.cbegin(),
myDirty.cend(), std::back_inserter(assets), [
this] (
const auto &dirty) {
78 return this->originOf(dirty).empty();
86 for (
auto asset = assets.begin(); asset != assets.end(); asset++) {
94 out.open(QIODevice::WriteOnly);