40 #ifndef LIBDCP_REEL_SUBTITLE_ASSET_H
41 #define LIBDCP_REEL_SUBTITLE_ASSET_H
44 #include "language_tag.h"
50 struct verify_invalid_language1;
65 ReelSubtitleAsset (std::shared_ptr<SubtitleAsset> asset,
Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
68 std::shared_ptr<const SubtitleAsset> asset ()
const {
69 return asset_of_type<const SubtitleAsset>();
72 std::shared_ptr<SubtitleAsset> asset () {
73 return asset_of_type<SubtitleAsset>();
76 xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard)
const override;
78 bool equals (std::shared_ptr<const ReelSubtitleAsset>,
EqualityOptions, NoteHandler)
const;
82 boost::optional<std::string> language ()
const {
94 friend struct ::verify_invalid_language1;
A fraction (i.e. a thing with an integer numerator and an integer denominator).
Part of a Reel's description which refers to a subtitle XML/MXF file.
std::string cpl_node_name(Standard standard) const override
boost::optional< std::string > _language
Namespace for everything in libdcp.
A class to describe what "equality" means for a particular test.