| 226 | } |
| 227 | |
| 228 | int |
| 229 | XmlFileStream::close(void) |
| 230 | { |
| 231 | if (fileOpen == 1) { |
| 232 | for (int i=0; i<numTag; i++) { |
| 233 | this->endTag(); |
| 234 | } |
| 235 | |
| 236 | theFile << "</OpenSees>\n"; |
| 237 | theFile.close(); |
| 238 | } |
| 239 | |
| 240 | fileOpen = 0; |
| 241 | return 0; |
| 242 | } |
| 243 | |
| 244 | |
| 245 | int |
no test coverage detected