QNodeVisitor Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QNodeVisitor

Qt 5.6.2 Reference Documentation

# QNodeVisitor Class

(Qt3DCore::QNodeVisitor)

- List of all members, including inherited members

## Public Functions

| QNodeVisitor()
virtual | ~QNodeVisitor()
void | append(QNode *n)
QNode * | currentNode() const
QNodeList | path() const
void | pop_back()
QNode * | rootNode() const
void | setPath(QNodeList path)
void | traverse(QNode *rootNode_, NodeVisitorFunc fN)
void | traverse(QNode *rootNode_, Obj *instance, NodeVisitorFunc fN)
void | traverse(QNode *rootNode_, NodeVisitorFunc fN, EntityVisitorFunc fE)
void | traverse(QNode *rootNode_, Obj *instance, NodeVisitorFunc fN, EntityVisitorFunc fE)

## Member Function Documentation

### QNodeVisitor::QNodeVisitor()

Default constructs an instance of QNodeVisitor.

### `[virtual]` QNodeVisitor::~QNodeVisitor()

Destroys the instance of QNodeVisitor. The destructor is virtual.

### void QNodeVisitor::append(QNode *n)

### QNode *QNodeVisitor::currentNode() const

### QNodeList QNodeVisitor::path() const

See also setPath().

### void QNodeVisitor::pop_back()

### QNode *QNodeVisitor::rootNode() const

### void QNodeVisitor::setPath(QNodeList path)

See also path().

### void QNodeVisitor::traverse(QNode *rootNode_, NodeVisitorFunc fN)

### void QNodeVisitor::traverse(QNode *rootNode_, Obj *instance, NodeVisitorFunc fN)

### void QNodeVisitor::traverse(QNode *rootNode_, NodeVisitorFunc fN, EntityVisitorFunc fE)

### void QNodeVisitor::traverse(QNode *rootNode_, Obj *instance, NodeVisitorFunc fN, EntityVisitorFunc fE)