DuplicateModelVisitor duplicates the graph rooted at node where the traversal began.
The copyId is the id to be used in naming the nodes resulting from the duplication (if the kGenerateNodeIds option is specified).
#include <DuplicateModelVisitor.h>
Public Member Functions |
|
DuplicateModelVisitor (const awString::IString ©Id, int options) | |
const awString::IString & | getCopyId () const |
Protected Member Functions |
|
virtual | ~DuplicateModelVisitor () |
virtual awSupport::Id | generateNodeId (const Node &node) |
DuplicateModelVisitor | ( | const awString::IString & | copyId, |
int | options | ||
) |
virtual ~DuplicateModelVisitor | ( | ) | [protected, virtual] |
const awString::IString& getCopyId | ( | ) | const |
virtual awSupport::Id generateNodeId | ( | const Node & | node | ) | [protected, virtual] |
Reimplemented from DuplicateVisitor.
Reimplemented in DuplicateSubgraphVisitor.