38 #include "filesystem.h"
42 using std::make_shared;
43 using std::shared_ptr;
49 vector<shared_ptr<dcp::CPL>>
52 vector<shared_ptr<dcp::CPL>> cpls;
55 vector<dcp::VerificationNote::Code>
const ignore = {
61 vector<shared_ptr<dcp::DCP>> dcps;
62 for (
auto i: directories) {
63 if (!filesystem::exists(i)) {
69 auto dcp = make_shared<dcp::DCP>(i);
70 vector<dcp::VerificationNote> notes;
71 dcp->read (¬es,
true);
74 if (std::find(ignore.begin(), ignore.end(), j.code()) == ignore.end()) {
80 for (
auto i:
dcp->cpls()) {
88 i->resolve_refs(j->assets(
true));
Any error that occurs when reading data from a DCP.
@ THREED_ASSET_MARKED_AS_TWOD
Exceptions thrown by libdcp.
Namespace for everything in libdcp.
std::vector< std::shared_ptr< dcp::CPL > > find_and_resolve_cpls(std::vector< boost::filesystem::path > const &directories, bool tolerant)