#include "common.h"
#include "mxf.h"
#include <getopt.h>
+#include <boost/optional.hpp>
+#include <boost/shared_ptr.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
-
-using namespace std;
-using namespace boost;
+#include <list>
+
+using std::list;
+using std::cerr;
+using std::cout;
+using std::string;
+using boost::shared_ptr;
+using boost::optional;
+using boost::dynamic_pointer_cast;
using namespace dcp;
static bool verbose = false;
}
}
}
-
+
} catch (FileError& e) {
cerr << "Could not read DCP " << path.string() << "; " << e.what() << " " << e.filename() << "\n";
exit (EXIT_FAILURE);
exit (EXIT_FAILURE);
}
- if (!filesystem::exists (argv[optind])) {
+ if (!boost::filesystem::exists (argv[optind])) {
cerr << argv[0] << ": DCP " << argv[optind] << " not found.\n";
exit (EXIT_FAILURE);
}
- if (!filesystem::exists (argv[optind + 1])) {
+ if (!boost::filesystem::exists (argv[optind + 1])) {
cerr << argv[0] << ": DCP " << argv[optind + 1] << " not found.\n";
exit (EXIT_FAILURE);
}