class DCPFont;
+/** @class DCPText
+ * @brief A DCP subtitle <Text> node.
+ */
class DCPText
{
public:
list<shared_ptr<DCPFont> > font_nodes;
};
+/** @class DCPSubtitle
+ * @brief A DCP subtitle <Subtitle> node.
+ */
class DCPSubtitle
{
public:
}
};
+/** @class DCPFont
+ * @brief A DCP subtitle <Font> node.
+ */
class DCPFont
{
public:
list<shared_ptr<DCPText> > text_nodes;
};
+/** @class DCPLoadFont
+ * @brief A DCP subtitle <LoadFont> node.
+ */
class DCPLoadFont
{
public:
string uri;
};
+/** @class DCPReader::ParseState
+ * @brief Holder of state for use while reading DCP subtitles.
+ */
struct DCPReader::ParseState {
list<shared_ptr<DCPFont> > font_nodes;
list<shared_ptr<DCPText> > text_nodes;
return (*i)->uri;
}
+/** @class DCPReader
+ * @brief A class to read DCP subtitles.
+ */
DCPReader::DCPReader (istream& in)
{
shared_ptr<cxml::Document> xml (new cxml::Document ("DCSubtitle"));