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

Method DataFileStream

DEVELOPER/core/DataFileStream.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using std::getline;
42
43DataFileStream::DataFileStream(int indent)
44 :OPS_Stream(OPS_STREAM_TAGS_DataFileStream),
45 fileOpen(0), fileName(0), indentSize(indent), sendSelfCount(0), theChannels(0), numDataRows(0),
46 mapping(0), maxCount(0), sizeColumns(0), theColumns(0), theData(0), theRemoteData(0), doCSV(0)
47{
48 if (indentSize < 1) indentSize = 1;
49 indentString = new char[indentSize+5];
50 for (int i=0; i<indentSize; i++)
51 strcpy(indentString, " ");
52}
53
54
55DataFileStream::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