A simple vector containing nodes of an FTree. Such nodes are collected during calls of the function ScanFiles. One call (aka during the recursive scan of one path) can result in more than one entry in this list, because with resolving symbolic links new isolated siblings can occur.
The single new method of this type is Add, which checks if the given new start-path is superseding others or is superseded itself by an existing path. In that case the superseded path is deleted.
Despite the little effort that ALib takes with the provision of these mechanics, often the analysis of, or a loop through this path list is not necessary. This is because most using code would just scan one or more paths and then loop through just all resulting directory and file nodes that have been inserted into the tree. Consequently, the function ScanFiles accepts an instance of this class only optionally.
Definition at line 133 of file fscanner.inl.
Public Method Index: | |
| void | Add (FTree::Cursor node) |
| void CanonicalPathList::Add | ( | FTree::Cursor | node | ) |
Adds the given node to the list, in the case it is not superseded by an already collected node. Vice versa, existing nodes that are superseded by the given one are removed.
| node | The node to add. |
Definition at line 1650 of file fscanner.cpp.