40 #ifndef LIBDCP_REEL_CLOSED_CAPTION_ASSET_H
41 #define LIBDCP_REEL_CLOSED_CAPTION_ASSET_H
44 #include "language_tag.h"
50 struct verify_invalid_language2;
65 std::shared_ptr<const SubtitleAsset> asset ()
const {
66 return asset_of_type<const SubtitleAsset>();
69 std::shared_ptr<SubtitleAsset> asset () {
70 return asset_of_type<SubtitleAsset>();
73 bool equals (std::shared_ptr<const ReelClosedCaptionAsset>,
EqualityOptions, NoteHandler)
const;
76 _language = l.to_string();
79 void unset_language () {
80 _language = boost::optional<std::string> ();
83 boost::optional<std::string> language ()
const {
88 friend struct ::verify_invalid_language2;
90 boost::optional<std::string> _language;
A fraction (i.e. a thing with an integer numerator and an integer denominator).
Part of a Reel's description which refers to a closed caption XML/MXF file.
Namespace for everything in libdcp.
A class to describe what "equality" means for a particular test.