summaryrefslogtreecommitdiff
path: root/src/asset_map.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-30 23:47:57 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-30 23:47:57 +0100
commit9a9d4e014c16be88d72914a9480343445bc785a5 (patch)
tree1857fcdd8963d51ac50f1467d9ae81d4d9be5f8e /src/asset_map.h
parent34a25d89b16a33b5f619ae0eaaa03c17f93980af (diff)
Various.
Diffstat (limited to 'src/asset_map.h')
-rw-r--r--src/asset_map.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/asset_map.h b/src/asset_map.h
new file mode 100644
index 00000000..56370ab9
--- /dev/null
+++ b/src/asset_map.h
@@ -0,0 +1,37 @@
+#include <boost/shared_ptr.hpp>
+#include "xml.h"
+
+namespace libdcp {
+
+class AssetMapAsset : public XMLNode
+{
+public:
+ AssetMapAsset ();
+ AssetMapAsset (xmlpp::Node const * node);
+
+ std::string id;
+ std::string packing_list;
+ boost::shared_ptr<ChunkList>
+};
+
+class AssetMapAssetList : public XMLNode
+{
+public:
+ AssetMapAssetList ();
+ AssetMapAssetList (xmlpp::Node const * node);
+
+ std::list<boost::shared_ptr<AssetMapAsset> > assets;
+};
+
+class AssetMap : public XMLFile
+{
+public:
+ AssetMap (std::string file);
+
+ std::string id;
+ std::string creator;
+ int volume_count;
+ std::string issue_date;
+ std::string issuer;
+ boost::shared_ptr<AssetMapAssetList> asset_list;
+};