Inheritance diagram for KinoFileMap:


Public Member Functions | |
| virtual | ~KinoFileMap () |
| map< string, FileHandler * > & | GetMap () |
| The map from file name to handler is here. | |
| void | Clear () |
| Clears the content of the file map. | |
| void | GetUnusedFxFiles (PlayList &list, vector< string > &unused) |
| Obtains a list of unused fx rendered files. | |
Private Attributes | |
| map< string, FileHandler * > | filemap |
Definition at line 65 of file playlist.cc.
|
|
Definition at line 71 of file playlist.cc. 00072 {}
|
|
|
Clears the content of the file map.
Implements FileMap. Definition at line 79 of file playlist.cc. References filemap. 00080 {
00081 map<string, FileHandler*>::iterator n;
00082 for ( n = filemap.begin(); n != filemap.end(); ++n )
00083 delete ( *n ).second;
00084 filemap.erase( filemap.begin(), filemap.end() );
00085 }
|
|
|
The map from file name to handler is here.
Implements FileMap. Definition at line 74 of file playlist.cc. References filemap. 00075 {
00076 return filemap;
00077 }
|
|
||||||||||||
|
Obtains a list of unused fx rendered files.
Implements FileMap. Definition at line 87 of file playlist.cc. References filemap, and PlayList::IsFileUsed(). 00088 {
00089 unused.erase( unused.begin(), unused.end() );
00090 map<string, FileHandler*>::iterator n;
00091 for ( n = filemap.begin(); n != filemap.end(); ++n )
00092 {
00093 if ( n->first.find( ".kinofx.dv" ) != string::npos && !list.IsFileUsed( n->first ) )
00094 {
00095 unused.push_back( n->first );
00096 }
00097 }
00098 }
|
|
|
Definition at line 68 of file playlist.cc. Referenced by Clear(), GetMap(), and GetUnusedFxFiles(). |
1.4.2