template<typename NodeT, typename IterT>
struct openvdb::v12_0::tree::IterTraits< NodeT, IterT >
IterTraits provides the following for iterators of the standard types, i.e., for {Child,Value}{On,Off,All}{Iter,CIter}:
- a NodeConverter template to convert an iterator for one type of node to an iterator of the same type for another type of node; for example, IterTraits<RootNode, RootNode::ValueOnIter>::NodeConverter<LeafNode>::Type is synonymous with LeafNode::ValueOnIter.
- a begin(node) function that returns a begin iterator for a node of arbitrary type; for example, IterTraits<LeafNode, LeafNode::ValueOnIter>::begin(leaf) returns leaf.beginValueOn()
- a getChild() function that returns a pointer to the child node to which the iterator is currently pointing (always null if the iterator is a Value iterator)