40 #ifndef LIBDCP_REEL_TEXT_ASSET_H
41 #define LIBDCP_REEL_TEXT_ASSET_H
48 #include "text_type.h"
51 struct verify_invalid_language1;
52 struct verify_invalid_language2;
67 ReelTextAsset(TextType type, std::shared_ptr<TextAsset> asset,
Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
70 std::shared_ptr<const TextAsset> asset()
const {
71 return asset_of_type<const TextAsset>();
74 std::shared_ptr<TextAsset> asset() {
75 return asset_of_type<TextAsset>();
78 bool equals(std::shared_ptr<const ReelTextAsset>,
EqualityOptions const&, NoteHandler)
const;
82 boost::optional<std::string> language ()
const {
86 TextType type()
const {
91 friend struct ::verify_invalid_language1;
92 friend struct ::verify_invalid_language2;
A class to describe what "equality" means for a particular test.
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 or caption XML/MXF file.
boost::optional< std::string > _language
Namespace for everything in libdcp.