SyTen

◆ print()

template<typename T >
void syten::BinaryTree::Node< T >::print ( std::ostream out,
int  current_level,
Index last 
)
inline

Printing helper.

Parameters
outoutput stream
current_levelcurrent nesting level
lastlast node ID used

References syten::BinaryTree::Node< T >::a, syten::BinaryTree::Node< T >::b, std::left(), syten::BinaryTree::Node< T >::print(), std::right(), std::setw(), and syten::BinaryTree::Node< T >::v.

Referenced by syten::BinaryTree::operator<<(), and syten::BinaryTree::Node< T >::print().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: