43 #include <libcxml/cxml.h>
44 LIBDCP_DISABLE_WARNINGS
45 #include <libxml++/libxml++.h>
46 LIBDCP_ENABLE_WARNINGS
52 using std::shared_ptr;
56 ReelAtmosAsset::ReelAtmosAsset (std::shared_ptr<AtmosAsset> asset, int64_t entry_point)
57 :
ReelFileAsset (asset, asset->key_id(), asset->id(), asset->edit_rate(), asset->intrinsic_duration(), entry_point)
63 ReelAtmosAsset::ReelAtmosAsset (std::shared_ptr<const cxml::Node> node)
66 node->ignore_child (
"DataType");
72 ReelAtmosAsset::cpl_node_name (Standard)
const
81 return {
"http://www.dolby.com/schemas/2012/AD",
"axd" };
86 ReelAtmosAsset::write_to_cpl (xmlpp::Node* node, Standard standard)
const
88 auto asset = ReelFileAsset::write_to_cpl (node, standard);
89 asset->add_child(
"axd:DataType")->add_child_text(
"urn:smpte:ul:060e2b34.04010105.0e090604.00000000");
95 ReelAtmosAsset::equals (shared_ptr<const ReelAtmosAsset> other,
EqualityOptions opt, NoteHandler note)
const
97 if (!asset_equals (other, opt, note)) {
101 if (!file_asset_equals (other, opt, note)) {
std::pair< std::string, std::string > cpl_node_namespace() const override
Namespace for everything in libdcp.
A class to describe what "equality" means for a particular test.