Function formatHierarchyPath¶
Defined in File tools.h
Function Documentation¶
-
string formatHierarchyPath(const vector<int> &path)¶
将层次路径格式化为可读字符串(如 “R0.C1.B2.F3”)。
- Parameters:
path – [in] 层次路径索引列表,如 {0, 1, 2, 3}。
- Returns:
格式化后的字符串,根节点返回 “root”。
Defined in File tools.h
将层次路径格式化为可读字符串(如 “R0.C1.B2.F3”)。
path – [in] 层次路径索引列表,如 {0, 1, 2, 3}。
格式化后的字符串,根节点返回 “root”。