}
+void
+CPL::set (std::vector<std::shared_ptr<Reel>> reels)
+{
+ _reels = reels;
+}
+
+
void
CPL::write_xml (boost::filesystem::path file, shared_ptr<const CertificateChain> signer) const
{
void
CPL::set_content_versions (vector<ContentVersion> v)
{
- set<string> ids;
+ std::set<string> ids;
for (auto i: v) {
if (!ids.insert(i.id).second) {
throw DuplicateIdError ("Duplicate ID in ContentVersion list");
*/
void add (std::shared_ptr<Reel> reel);
+ void set (std::vector<std::shared_ptr<Reel>> reels);
+
/** Add a KDM to this CPL. If the KDM is for any of this CPLs assets it will be used
* to decrypt those assets.
* @param kdm KDM.