| 41 | using std::getline; |
| 42 | |
| 43 | DataFileStream::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 | |
| 55 | DataFileStream::DataFileStream(const char *file, openMode mode, int indent, int csv, bool closeWrite, int prec, bool scientific) |