| 183 | |
| 184 | |
| 185 | String Directives::buildString() const { |
| 186 | if (m_shared) { |
| 187 | String built; |
| 188 | for (auto& entry : m_shared->entries) { |
| 189 | if (entry.begin > 0) |
| 190 | built += "?"; |
| 191 | built += entry.string(*m_shared); |
| 192 | } |
| 193 | |
| 194 | return built; |
| 195 | } |
| 196 | |
| 197 | return String(); |
| 198 | } |
| 199 | |
| 200 | String& Directives::addToString(String& out) const { |
| 201 | if (!empty()) |