Commit Graph

12 Commits (735ae9f71381a528a4457e90fa35c7c16b791272)

Author SHA1 Message Date
Simon Bruder 60a8abfe34 u01: Accept reference for node::set_name
This harmonizes the signatures of set_name and the constructor.
2023-05-09 23:25:04 +02:00
Simon Bruder db4d489ae8 u01: Consistently use size_t and unsigned int
size_t should only be used for indexing. For all other purposes,
unsigned int should be used.
2023-05-09 23:25:04 +02:00
Simon Bruder a4e9c4abda Licence under GPL v3 or later 2023-05-09 23:25:04 +02:00
Simon Bruder ffc4c3e6dd u01: Add iterative print with cycle detection 2023-04-22 13:47:57 +02:00
Simon Bruder 1f56b00800 u01: Add recursive print with cycle detection 2023-04-22 13:47:57 +02:00
Simon Bruder 08dc634ebb u01: Make destructor work with recursive trees 2023-04-22 13:47:57 +02:00
Simon Bruder 5ac5bd1f43 u01: Add stream output to node 2023-04-22 13:47:57 +02:00
Simon Bruder 89d1f5f6e0 u01: Switch from include guards to pragma once 2023-04-22 13:47:41 +02:00
Simon Bruder cbee4361a1 u01: Add include guard to header 2023-04-22 13:47:41 +02:00
Simon Bruder 3e63e632b7 u01: Add complete tree creation 2023-04-22 13:47:41 +02:00
Simon Bruder c2804e2d3b u01: Implement global node counting
The test is not very pretty, I may think of something nicer (once I
learn how to do it).
2023-04-22 13:47:41 +02:00
Simon Bruder 48cfafc9a3 u01: Init 2023-04-22 13:47:40 +02:00