| 200 | } |
| 201 | |
| 202 | void cmCPackIFWRepository::WriteRepositoryConfig(cmXMLWriter& xout) const |
| 203 | { |
| 204 | xout.StartElement("Repository"); |
| 205 | |
| 206 | // Url |
| 207 | xout.Element("Url", this->Url); |
| 208 | // Enabled |
| 209 | if (!this->Enabled.empty()) { |
| 210 | xout.Element("Enabled", this->Enabled); |
| 211 | } |
| 212 | // Username |
| 213 | if (!this->Username.empty()) { |
| 214 | xout.Element("Username", this->Username); |
| 215 | } |
| 216 | // Password |
| 217 | if (!this->Password.empty()) { |
| 218 | xout.Element("Password", this->Password); |
| 219 | } |
| 220 | // DisplayName |
| 221 | if (!this->DisplayName.empty()) { |
| 222 | xout.Element("DisplayName", this->DisplayName); |
| 223 | } |
| 224 | |
| 225 | xout.EndElement(); |
| 226 | } |
| 227 | |
| 228 | void cmCPackIFWRepository::WriteRepositoryUpdate(cmXMLWriter& xout) const |
| 229 | { |
no test coverage detected