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