| 42 | using std::getline; |
| 43 | |
| 44 | DataFileStreamAdd::DataFileStreamAdd(int indent) |
| 45 | :OPS_Stream(OPS_STREAM_TAGS_DataFileStreamAdd), |
| 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) |
| 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 | |
| 56 | DataFileStreamAdd::DataFileStreamAdd(const char *file, openMode mode, int indent, int csv, bool closeWrite, int prec, bool scientific) |