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

Method XmlFileStream

SRC/handler/XmlFileStream.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using std::getline;
42
43XmlFileStream::XmlFileStream(int indent)
44 :OPS_Stream(OPS_STREAM_TAGS_XmlFileStream),
45 fileOpen(0), fileName(0), filePrecision(6), indentSize(indent), numIndent(-1),
46 attributeMode(false), numTag(0), sizeTags(0), tags(0), sendSelfCount(0), theChannels(0), numDataRows(0),
47 mapping(0), maxCount(0), sizeColumns(0), theColumns(0), theData(0), theRemoteData(0),
48 xmlOrderProcessed(0), xmlString(0), xmlStringLength(0), numXMLTags(0), xmlColumns(0)
49{
50 if (indentSize < 1) indentSize = 1;
51 indentString = new char[indentSize+1];
52 for (int i=0; i<indentSize; i++)
53 strcpy(&indentString[i]," ");
54}
55
56XmlFileStream::XmlFileStream(const char *name, openMode mode, int indent)
57 :OPS_Stream(OPS_STREAM_TAGS_XmlFileStream),

Callers

nothing calls this directly

Calls 1

setFileMethod · 0.95

Tested by

no test coverage detected