| 41 | using std::getline; |
| 42 | |
| 43 | XmlFileStream::XmlFileStream(int indent) |
| 44 | :OPS_Stream(OPS_STREAM_TAGS_XmlFileStream), |
| 45 | fileOpen(0), fileName(0), filePrecision(6), indentSize(indent), numIndent(-1), |
| 46 | attributeMode(false), numTag(0), sizeTags(0), tags(0), sendSelfCount(0), theChannels(0), numDataRows(0), |
| 47 | mapping(0), maxCount(0), sizeColumns(0), theColumns(0), theData(0), theRemoteData(0), |
| 48 | xmlOrderProcessed(0), xmlString(0), xmlStringLength(0), numXMLTags(0), xmlColumns(0) |
| 49 | { |
| 50 | if (indentSize < 1) indentSize = 1; |
| 51 | indentString = new char[indentSize+1]; |
| 52 | for (int i=0; i<indentSize; i++) |
| 53 | strcpy(&indentString[i]," "); |
| 54 | } |
| 55 | |
| 56 | XmlFileStream::XmlFileStream(const char *name, openMode mode, int indent) |
| 57 | :OPS_Stream(OPS_STREAM_TAGS_XmlFileStream), |