ALox  V. 2402 R. 0
Home ALox for C++ ALox for C# ALox for Java Download
Public Fields | Public Methods | List of all members
StringTree< T >.Walker.RecursionData Class Reference
Collaboration diagram for StringTree< T >.Walker.RecursionData:
[legend]

Class Description

Protected, internal class used to store the data of recursive iterations.

Public Fields

int actChild
 
Node node
 
String nodeName
 
List< NameAndNodesortedChildren
 

Public Methods

void reset (Node _node, String _nodeName, Sorter _sorter)
 

Member Function Documentation

◆ reset()

void reset ( Node  _node,
String  _nodeName,
Sorter  _sorter 
)
inline

Reset to point to the given node. Used in each recursion step. Copies all children from the map to a vector and sorts them there.

Parameters
_nodeThe node to store.
_nodeNameThe name of the node to store.
_sorterThe sorter used to sort the children in the node.

Member Data Documentation

◆ actChild

int actChild

The current child of the current node in case of sorted access If this is pointing to the end of the child map, then the actual node itself is selected by this walker.

◆ node

Node node

The current node

◆ nodeName

String nodeName

The name of the current node.

◆ sortedChildren

List<NameAndNode> sortedChildren

A vector of children copied from the map to this vector for the purpose of sorting them.


The documentation for this class was generated from the following file: