41 #include <boost/optional.hpp>
46 using boost::optional;
53 if (c ==
'/' || c ==
':') {
55 }
else if (c ==
' ') {
68 for (
size_t i = 0; i < c.length(); ++i) {
80 for (
size_t i = 0; i < _specification.length(); ++i) {
82 if (_specification[i] ==
'%' && (i < _specification.length() - 1)) {
83 char const key = _specification[i + 1];
84 auto j = values.find(key);
85 if (j != values.end() && ignore.find(key) == string::npos) {
86 result += filter (j->second);
93 result += filter (_specification[i]);
97 return result + suffix;
104 return a.specification() == b.specification();
Namespace for everything in libdcp.