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

Method DataFileStream

SRC/handler/DataFileStream.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42using std::getline;
43
44DataFileStream::DataFileStream(int indent)
45 :OPS_Stream(OPS_STREAM_TAGS_DataFileStream),
46 fileOpen(0), fileName(0), indentSize(indent), sendSelfCount(0), theChannels(0), numDataRows(0),
47 mapping(0), maxCount(0), sizeColumns(0), theColumns(0), theData(0), theRemoteData(0), doCSV(0), commonColumns(0)
48{
49 if (indentSize < 1) indentSize = 1;
50 indentString = new char[indentSize+5];
51 for (int i=0; i<indentSize; i++)
52 strcpy(indentString, " ");
53}
54
55
56DataFileStream::DataFileStream(const char *file, openMode mode, int indent, int csv, bool closeWrite, int prec, bool scientific)

Callers

nothing calls this directly

Calls 1

setFileMethod · 0.95

Tested by

no test coverage detected