diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-09 00:44:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-22 01:21:00 +0100 |
| commit | 66bd89f87412736ba2488f5b3ca4aec9dea8ef94 (patch) | |
| tree | 05e961c0b4ca0f90f376e63f5adf6d8b03a1985b /src/dcp.h | |
| parent | 84d01dde2fb2520572d122d53e1ffebefed48157 (diff) | |
Check ASSETMAP; add a PKL test; tidy up calls to validate_xml().
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -134,6 +134,10 @@ public: return _pkls; } + boost::optional<boost::filesystem::path> asset_map_path () { + return _asset_map; + } + static std::vector<boost::filesystem::path> directories_from_files (std::vector<boost::filesystem::path> files); private: @@ -146,11 +150,14 @@ private: */ void write_assetmap (Standard standard, std::string pkl_uuid, boost::filesystem::path pkl_path, XMLMetadata metadata) const; - /** the directory that we are writing to */ + /** The directory that we are writing to */ boost::filesystem::path _directory; - /** the CPLs that make up this DCP */ + /** The CPLs that make up this DCP */ std::list<boost::shared_ptr<CPL> > _cpls; + /** The PKLs that make up this DCP */ std::list<boost::shared_ptr<PKL> > _pkls; + /** File that the ASSETMAP was read from or last written to */ + mutable boost::optional<boost::filesystem::path> _asset_map; /** Standard of DCP that was read in */ boost::optional<Standard> _standard; |
