#include <ooffiles.h>
Inheritance diagram for oofDelDirTreeVisitor:


Public Member Functions | |
| oofDelDirTreeVisitor (bool delSubdirs) | |
| virtual void | visit (const oofFileRef &, oofDirectory *caller) |
| virtual void | leaveDir (const oofFileRef &, oofDirectory *caller) |
| virtual bool | enterRoot (oofDirectory *caller=0) |
| enterDir for starting directory | |
| virtual bool | enterDir (const oofFileRef &, oofDirectory *caller=0) |
| Called before iterating an oofDirectory's contents. | |
| virtual bool | handleLinkUnresolved (const oofFileRef &) |
| default implementation returns false | |
Protected Attributes | |
| bool | mDelSubdirs |
| flag to indicate if leave empty dir structure behind | |
| short | mDirDepth |
| bool | mIgnoreBadAliases |
|
|
|
|
||||||||||||
|
Called before iterating an oofDirectory's contents. The convention for subclasses is increment mDirDepth BEFORE any other processing in enterDir the reason being that we enter a directory as a result of iterating items in the preceding directory thus the very first directory being iterated is level 0 and we must increment BEFORE enterDir does anything to ensure that this dir is processed as level 1 or deeper. Reimplemented in oofDirectoryList. |
|
|
enterDir for starting directory for consistency in depth, best if overriden versions also call this or update depth if wanted to treat just like any other dir, override with:
|
|
|
default implementation returns false
Reimplemented in oofDirectoryList. |
|
||||||||||||
|
Reimplemented from oofDirectoryVisitor. |
|
||||||||||||
|
Implements oofDirectoryVisitor. |
|
|
flag to indicate if leave empty dir structure behind
|
|
|
|
|
|
|
1.3.5