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

Method FileStream

SRC/handler/FileStream.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using std::setiosflags;
39
40FileStream::FileStream(int indent)
41 :OPS_Stream(OPS_STREAM_TAGS_FileStream),
42 fileOpen(0), fileName(0), filePrecision(6), indentSize(indent), sendSelfCount(0)
43{
44 if (indentSize < 1) indentSize = 1;
45 indentString = new char[indentSize+1];
46 for (int i=0; i<indentSize; i++)
47 strcpy(indentString, " ");
48}
49
50
51FileStream::FileStream(const char *name, openMode mode, int indent)

Callers

nothing calls this directly

Calls 1

setFileMethod · 0.95

Tested by

no test coverage detected