| 224 | } |
| 225 | |
| 226 | unsigned PathMatcher::match( const std::string &path ) const |
| 227 | { |
| 228 | if( path.empty() ) |
| 229 | { |
| 230 | return NoMatch; |
| 231 | } |
| 232 | std::vector<IECore::InternedString> tokenizedPath; |
| 233 | StringAlgo::tokenize( path, '/', tokenizedPath ); |
| 234 | return match( tokenizedPath ); |
| 235 | } |
| 236 | |
| 237 | unsigned PathMatcher::match( const std::vector<IECore::InternedString> &path ) const |
| 238 | { |