20 #ifndef LIBSUB_DCP_READER_H
21 #define LIBSUB_DCP_READER_H
24 #include <libcxml/cxml.h>
25 #include <boost/shared_ptr.hpp>
26 #include <boost/filesystem.hpp>
44 std::list<boost::shared_ptr<dcp::Font> > font_nodes;
45 std::list<boost::shared_ptr<dcp::Text> > text_nodes;
46 std::list<boost::shared_ptr<dcp::Subtitle> > subtitle_nodes;
49 void parse_common (cxml::NodePtr root, boost::optional<int> tcr);
54 void parse_node (xmlpp::Node
const * node,
ParseState& parse_state, boost::optional<int> tcr);
55 void maybe_add_subtitle (std::string text,
ParseState const & parse_state);
57 std::string _reel_number;
58 std::string _language;
A class which reads DCP subtitles.
Definition: dcp_reader.h:39
Definition: dcp_reader.h:43
Parent for classes which can read particular subtitle formats.
Definition: reader.h:35