MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / close

Method close

SRC/handler/XmlFileStream.cpp:228–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228int
229XmlFileStream::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
245int

Callers 3

~XmlFileStreamMethod · 0.95
setFileMethod · 0.45
mergeXMLMethod · 0.45

Calls 1

endTagMethod · 0.95

Tested by

no test coverage detected