| 352 | } |
| 353 | |
| 354 | bool PathMatcher::addPath( const std::string &path ) |
| 355 | { |
| 356 | if( path.empty() ) |
| 357 | { |
| 358 | return false; |
| 359 | } |
| 360 | std::vector<IECore::InternedString> tokenizedPath; |
| 361 | StringAlgo::tokenize( path, '/', tokenizedPath ); |
| 362 | return addPath( tokenizedPath ); |
| 363 | } |
| 364 | |
| 365 | bool PathMatcher::addPath( const std::vector<IECore::InternedString> &path ) |
| 366 | { |