|
The Sparta Modeling Framework
|
File that defines hand sparta::TreeNode functions. More...
Go to the source code of this file.
Namespaces | |
| namespace | sparta |
| Macros for handling exponential backoff. | |
Functions | |
| uint64_t | sparta::utils::recursiveTreeSearch (sparta::TreeNode *starting_node, const std::string &name, std::vector< sparta::TreeNode * > &found_nodes) |
| Search a TreeNode for a given named node. | |
File that defines hand sparta::TreeNode functions.
Definition in file TreeUtils.hpp.
| uint64_t sparta::utils::recursiveTreeSearch | ( | sparta::TreeNode * | starting_node, |
| const std::string & | name, | ||
| std::vector< sparta::TreeNode * > & | found_nodes ) |
Search a TreeNode for a given named node.
| starting_node | The TreeNode to start the search. It's included in the search |
| name | The TreeNode name to search for |
| RETURNED | found_nodes Populated vector of nodes |
An expensive, but thorough search starting at the given TreeNode for the nodes matching the given name. This method does not do pattern matching.
Note that the starting_node is not const as the intention of this call is to find those TreeNodes that might be modified
Definition at line 35 of file TreeUtils.hpp.
