35 #include "asset_list.h"
37 #include <libcxml/cxml.h>
38 #include <boost/filesystem.hpp>
39 #include <boost/optional.hpp>
50 AssetMap(Standard standard, boost::optional<std::string> annotation_text, std::string issue_date, std::string issuer, std::string creator)
51 :
AssetList(standard, annotation_text, issue_date, issuer, creator)
54 explicit AssetMap(boost::filesystem::path path);
56 boost::optional<boost::filesystem::path> file()
const {
60 std::map<std::string, boost::filesystem::path> asset_ids_and_paths()
const;
62 std::vector<boost::filesystem::path> pkl_paths()
const;
65 void add_asset(std::string
id, boost::filesystem::path path,
bool pkl);
67 void write_xml(boost::filesystem::path path)
const;
72 Asset(std::string
id, boost::filesystem::path path,
bool pkl)
78 Asset(cxml::ConstNodePtr node, boost::filesystem::path root, dcp::Standard standard);
80 boost::filesystem::path path()
const {
88 void write_xml(xmlpp::Element* asset_list, boost::filesystem::path dcp_root_directory)
const;
91 boost::filesystem::path _path;
95 std::vector<Asset> assets()
const {
100 std::vector<Asset> _assets;
101 mutable boost::optional<boost::filesystem::path> _file;
Some part of a DCP that has a UUID.
Namespace for everything in libdcp.