| Willy Tu | aba14d3 | 2023-01-31 14:19:59 -0800 | [diff] [blame^] | 1 | #pragma once | 
 | 2 |  | 
 | 3 | #include "types.hpp" | 
 | 4 |  | 
 | 5 | #include <string> | 
 | 6 | #include <vector> | 
 | 7 |  | 
 | 8 | void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap, | 
 | 9 |                         const std::string& objectPath, | 
 | 10 |                         const ConnectionNames::value_type& interfaceMap); | 
 | 11 |  | 
 | 12 | std::vector<InterfaceMapType::value_type> | 
 | 13 |     getAncestors(const InterfaceMapType& interfaceMap, std::string reqPath, | 
 | 14 |                  std::vector<std::string>& interfaces); | 
 | 15 |  | 
 | 16 | ConnectionNames getObject(const InterfaceMapType& interfaceMap, | 
 | 17 |                           const std::string& path, | 
 | 18 |                           std::vector<std::string>& interfaces); | 
 | 19 |  | 
 | 20 | std::vector<InterfaceMapType::value_type> | 
 | 21 |     getSubTree(const InterfaceMapType& interfaceMap, std::string reqPath, | 
 | 22 |                int32_t depth, std::vector<std::string>& interfaces); | 
 | 23 |  | 
 | 24 | std::vector<std::string> getSubTreePaths(const InterfaceMapType& interfaceMap, | 
 | 25 |                                          std::string reqPath, int32_t depth, | 
 | 26 |                                          std::vector<std::string>& interfaces); |