void CCSVWriter::WritePathList (std::ostream& os, const CPathDictionary& dictionary) { // header os << "ID,ParentID,Element,FullPath\n"; // content for (index_t i = 0, count = dictionary.size(); i < count; ++i) { os << i << ',' << (int)dictionary.GetParent(i) << ",\"" << dictionary.GetPathElement(i) << "\",\"" << CDictionaryBasedPath (&dictionary, i).GetPath().c_str() << "\"\n"; } }
CDictionaryBasedPath CSkipRevisionInfo::GetPath (size_t ind) const { return CDictionaryBasedPath (&paths, data[ind]->pathID); }