/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2019 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
namespace dcp {
-class ReelAsset;
+class ReelMXF;
class Reel;
class XMLMetadata;
class MXFMetadata;
return _reels;
}
- /** @return the ReelAssets in this CPL in all reels.
+ /** @return the ReelMXFs in this CPL in all reels.
*/
- std::list<boost::shared_ptr<const ReelAsset> > reel_assets () const;
+ std::list<boost::shared_ptr<const ReelMXF> > reel_mxfs () const;
+ std::list<boost::shared_ptr<ReelMXF> > reel_mxfs ();
bool encrypted () const;
return _standard;
}
+ std::list<Rating> ratings () const {
+ return _ratings;
+ }
+
+ void set_ratings (std::list<Rating> r) {
+ _ratings = r;
+ }
+
+ std::string content_version_label_text () const {
+ return _content_version_label_text;
+ }
+
+ static std::string static_pkl_type (Standard standard);
+
protected:
/** @return type string for PKLs for this asset */
std::string pkl_type (Standard standard) const;
std::string _content_version_id; ///< <Id> in <ContentVersion>
std::string _content_version_label_text; ///< <LabelText> in <ContentVersion>
std::list<boost::shared_ptr<Reel> > _reels;
+ std::list<Rating> _ratings;
/** Standard of CPL that was read in */
boost::optional<Standard> _standard;