comparison document/Document.cpp @ 30:56e1d4242bb4

* save and restore step/blocksize etc
author Chris Cannam
date Wed, 20 Sep 2006 16:02:42 +0000
parents 61259228d029
children 6b6bca31ad53
comparison
equal deleted inserted replaced
29:660a973c157a 30:56e1d4242bb4
696 if (rec.source && rec.transform != "") { 696 if (rec.source && rec.transform != "") {
697 697
698 //!!! stream the rest of the execution context in both directions (i.e. not just channel) 698 //!!! stream the rest of the execution context in both directions (i.e. not just channel)
699 699
700 out << indent; 700 out << indent;
701 out << QString(" <derivation source=\"%1\" model=\"%2\" channel=\"%3\" transform=\"%4\"") 701 out << QString(" <derivation source=\"%1\" model=\"%2\" channel=\"%3\" domain=\"%4\" stepSize=\"%5\" blockSize=\"%6\" windowType=\"%7\" transform=\"%8\"")
702 .arg(XmlExportable::getObjectExportId(rec.source)) 702 .arg(XmlExportable::getObjectExportId(rec.source))
703 .arg(XmlExportable::getObjectExportId(i->first)) 703 .arg(XmlExportable::getObjectExportId(i->first))
704 .arg(rec.context.channel) 704 .arg(rec.context.channel)
705 .arg(rec.context.domain)
706 .arg(rec.context.stepSize)
707 .arg(rec.context.blockSize)
708 .arg(int(rec.context.windowType))
705 .arg(XmlExportable::encodeEntities(rec.transform)); 709 .arg(XmlExportable::encodeEntities(rec.transform));
706 710
707 if (rec.configurationXml != "") { 711 if (rec.configurationXml != "") {
708 out << ">\n " + indent + rec.configurationXml 712 out << ">\n " + indent + rec.configurationXml
709 + "\n" + indent + " </derivation>\n"; 713 + "\n" + indent + " </derivation>\n";