Public Member Functions | Public Attributes | List of all members
PreOrderVisitor Struct Reference

Public Member Functions

int operator() (const TestNode::shared_ptr &node, int parentData)
 
 PreOrderVisitor ()
 

Public Attributes

bool parentsMatched
 
std::list< intvisited
 

Detailed Description

Definition at line 59 of file testTreeTraversal.cpp.

Constructor & Destructor Documentation

◆ PreOrderVisitor()

PreOrderVisitor::PreOrderVisitor ( )
inline

Definition at line 65 of file testTreeTraversal.cpp.

Member Function Documentation

◆ operator()()

int PreOrderVisitor::operator() ( const TestNode::shared_ptr node,
int  parentData 
)
inline

Definition at line 66 of file testTreeTraversal.cpp.

Member Data Documentation

◆ parentsMatched

bool PreOrderVisitor::parentsMatched

Definition at line 64 of file testTreeTraversal.cpp.

◆ visited

std::list<int> PreOrderVisitor::visited

Definition at line 63 of file testTreeTraversal.cpp.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:02