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