| 94 | } |
| 95 | |
| 96 | std::string ColumnPath::ToDotString() const { |
| 97 | std::stringstream ss; |
| 98 | for (auto it = path_.cbegin(); it != path_.cend(); ++it) { |
| 99 | if (it != path_.cbegin()) { |
| 100 | ss << "."; |
| 101 | } |
| 102 | ss << *it; |
| 103 | } |
| 104 | return ss.str(); |
| 105 | } |
| 106 | |
| 107 | const std::vector<std::string>& ColumnPath::ToDotVector() const { return path_; } |
| 108 |