This class maintains a mapping of files in the working directory and the source files that they came from.
For files that don't have a source, such as ambient occlusion texture files, the source is the name of the file in the working directory.
#include
<class_working_directory_1_1_working_directory.h>
Public Member Functions |
|
__init__ () | |
workingDir () | |
files () | |
__setitem__ () | |
Remember a file in the working directory and
the source file it came from. |
|
__getitem__ () | |
Given the name of a source file, return the
name of its copy in the working directory, or None if there's no
copy there. |
|
__contains__ () | |
copyFile () | |
Copy a source file into the working
directory. |
|
clear () | |
Forget about all files in the working
directory. |
|
cleanup () |
WorkingDirectory.WorkingDirectory.__init__ | ( | ) |
WorkingDirectory.WorkingDirectory.workingDir | ( | ) |
WorkingDirectory.WorkingDirectory.files | ( | ) |
WorkingDirectory.WorkingDirectory.__setitem__ | ( | ) |
Remember a file in the working directory and the source file it came from.
WorkingDirectory.WorkingDirectory.__getitem__ | ( | ) |
Given the name of a source file, return the name of its copy in the working directory, or None if there's no copy there.
WorkingDirectory.WorkingDirectory.__contains__ | ( | ) |
WorkingDirectory.WorkingDirectory.copyFile | ( | ) |
Copy a source file into the working directory.
Return the name of the copied file in the working directory, or None if the file could not be copied.
WorkingDirectory.WorkingDirectory.clear | ( | ) |
Forget about all files in the working directory.
WorkingDirectory.WorkingDirectory.cleanup | ( | ) |