2 #include <boost/shared_ptr.hpp>
7 class MainPicture : public XMLNode
11 MainPicture (xmlpp::Node const * node);
14 std::string annotation_text;
16 int64_t intrinsic_duration;
20 Fraction screen_aspect_ratio;
23 class MainSound : public XMLNode
27 MainSound (xmlpp::Node const * node);
30 std::string annotation_text;
32 int64_t intrinsic_duration;
37 class CPLAssetList : public XMLNode
41 CPLAssetList (xmlpp::Node const * node);
43 boost::shared_ptr<MainPicture> main_picture;
44 boost::shared_ptr<MainSound> main_sound;
47 class Reel : public XMLNode
51 Reel (xmlpp::Node const * node);
54 boost::shared_ptr<CPLAssetList> asset_list;
57 class ContentVersion : public XMLNode
61 ContentVersion (xmlpp::Node const * node);
64 std::string label_text;
67 class CPL : public XMLFile
70 CPL (std::string file);
73 std::string annotation_text;
74 std::string issue_date;
76 std::string content_title_text;
77 ContentKind content_kind;
78 boost::shared_ptr<ContentVersion> content_version;
79 std::list<boost::shared_ptr<Reel> > reels;