使用 Boost 的 Property Tree 處理 XML | Heresy's Space

使用 Boost 的 Property Tree 處理 XML | Heresy's Space

瀏覽:508
日期:2024-08-18
而除了這樣把整個 ptree 當作 STL container、用 iterator 的形式來掃之外,實際上 ptree 也有提供 get() 的函式,可以直接透過索引值的組合的字串(Property Tree 是把它稱為 path、也就是「路徑」)(註 2)、直接讀取 ptree 下面特定節點的資料。...看更多