| 38 | using std::setiosflags; |
| 39 | |
| 40 | FileStream::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 | |
| 51 | FileStream::FileStream(const char *name, openMode mode, int indent) |