41 #include <libcxml/cxml.h>
45 using std::shared_ptr;
46 using boost::optional;
50 InteropLoadFontNode::InteropLoadFontNode (
string id_,
string uri_)
58 InteropLoadFontNode::InteropLoadFontNode (cxml::ConstNodePtr node)
60 auto x = node->optional_string_attribute(
"Id");
62 x = node->optional_string_attribute(
"ID");
64 id = x.get_value_or (
"");
66 uri = node->string_attribute (
"URI");
73 return a.id == b.id && a.uri == b.uri;
Parser for LoadFont nodes from subtitle XML.
InteropLoadFontNode class.
Namespace for everything in libdcp.