NCBI C++ ToolKit
|typedef list< string >||TNames|
|Destructor removes all dir entries on list. |
|void||Add (const string &entryname)|
|Add a dir entry for later deletion. |
|const TNames &||GetNames () const|
|Get the underlying list. |
|void||SetNames (TNames &names)|
|Set the underlying list. |
|List of dir entries for deletion. |
Define a list of dir entries for deletion.
Each Object of this class maintains a list of names of dir entries that will be deleted from the file system when the object goes out of scope.
Note: Directories will be removed recursively, symbolic links -- without dir entries which they points to.