static list paths( const PathMatcher &p ) { std::vector<std::string> paths; p.paths( paths ); list result; for( std::vector<std::string>::const_iterator it = paths.begin(), eIt = paths.end(); it != eIt; it++ ) { result.append( *it ); } return result; }