#include "asset_list.h"
#include "object.h"
-#include "types.h"
#include <libcxml/cxml.h>
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
explicit AssetMap(boost::filesystem::path path);
- boost::optional<boost::filesystem::path> path() const {
- return _path;
+ boost::optional<boost::filesystem::path> file() const {
+ return _file;
}
std::map<std::string, boost::filesystem::path> asset_ids_and_paths() const;
bool _pkl = false;
};
+ std::vector<Asset> assets() const {
+ return _assets;
+ }
+
private:
std::vector<Asset> _assets;
- mutable boost::optional<boost::filesystem::path> _path;
+ mutable boost::optional<boost::filesystem::path> _file;
};