| 70 | struct IndexedIOHelper |
| 71 | { |
| 72 | static void listToEntryIds( const list &path, IndexedIO::EntryIDList &entries ) |
| 73 | { |
| 74 | int rootLen = IECorePython::len( path ); |
| 75 | for (int i = 0; i < rootLen; i++ ) |
| 76 | { |
| 77 | extract< std::string > ex( path[i] ); |
| 78 | if ( !ex.check() ) |
| 79 | { |
| 80 | throw InvalidArgumentException( std::string( "Invalid root! Should be a list of strings!" ) ); |
| 81 | } |
| 82 | entries.push_back( ex() ); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | static list entryIDsToList( const IndexedIO::EntryIDList &l ) |
| 87 | { |
nothing calls this directly
no test coverage detected