Implements visitor pattern for content of the document object manager.
More...
#include <DocumentObjectVisitor.h>
Implements visitor pattern for content of the document object manager.
◆ plDocumentObjectVisitor()
Constructor.
- Parameters
-
pManager | Manager that will be iterated through. |
szChildrenProperty | Name of the property that is used for finding children on an object. |
szRootProperty | Same as szChildrenProperty, but for the root object of the document. |
◆ Visit()
Executes depth first traversal starting at the given node.
- Parameters
-
pObject | Object to start traversal at. |
bVisitStart | If true, function will be executed for the start object as well. |
function | Functions executed for each visited object. Should true if the object's children should be traversed. |
The documentation for this class was generated from the following files:
- Code/Tools/Libs/ToolsFoundation/Object/DocumentObjectVisitor.h
- Code/Tools/Libs/ToolsFoundation/Object/Implementation/DocumentObjectVisitor.cpp