diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-14 20:15:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-14 20:15:43 +0000 |
| commit | ed6a471b61d36a3ba7e8696fa3e5606406c5cf62 (patch) | |
| tree | 3ca098925eb269c4cd41ff22124773ba7d36c14b /src/dcp.h | |
| parent | 67cf9c95d190b1f2a67d73c0a7f712e213b6e71a (diff) | |
| parent | 62ee85a258aa9329544d8542dfbcc40ce8177a7a (diff) | |
Merge master
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -60,6 +60,7 @@ public: std::string signer_key; }; +/** @brief A CPL within a DCP */ class CPL { public: @@ -125,7 +126,9 @@ private: /** reels */ std::list<boost::shared_ptr<const Reel> > _reels; + /** our UUID */ std::string _uuid; + /** a SHA1 digest of our XML */ mutable std::string _digest; }; @@ -167,8 +170,12 @@ public: */ bool equals (DCP const & other, EqualityOptions options, std::list<std::string>& notes) const; + /** Add a CPL to this DCP. + * @param cpl CPL to add. + */ void add_cpl (boost::shared_ptr<CPL> cpl); + /** @return The list of CPLs in this DCP */ std::list<boost::shared_ptr<const CPL> > cpls () const { return _cpls; } @@ -194,6 +201,7 @@ private: */ void write_assetmap (std::string pkl_uuid, int pkl_length) const; + /** @return Assets in all this CPLs in this DCP */ std::list<boost::shared_ptr<const Asset> > assets () const; struct Files { @@ -204,6 +212,7 @@ private: /** the directory that we are writing to */ std::string _directory; + /** our CPLs */ std::list<boost::shared_ptr<const CPL> > _cpls; }; |
