blob: 8c64f43bb55a39d42739b5dc7347fd6c1296eea2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include <boost/shared_ptr.hpp>
#include "xml.h"
namespace libdcp {
class PKLAsset : public XMLNode
{
public:
PKLAsset () {}
PKLAsset (xmlpp::Node const * node);
std::string id;
std::string annotation_text;
std::string hash;
int64_t size;
std::string type;
std::string original_file_name;
};
class PKL : public XMLFile
{
public:
PKL (std::string file);
boost::shared_ptr<PKLAsset> asset_from_id (std::string id) const;
std::string id;
std::string annotation_text;
std::string issue_date;
std::string issuer;
std::string creator;
std::list<boost::shared_ptr<PKLAsset> > assets;
};
}
|