Mercurial > hg > svcore
comparison transform/Transform.cpp @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | 1424aa29ae95 |
children | 06579b8ffb7b |
comparison
equal
deleted
inserted
replaced
842:23d3a6eca5c3 | 843:e802e550a1f2 |
---|---|
51 QString error; | 51 QString error; |
52 int errorLine; | 52 int errorLine; |
53 int errorColumn; | 53 int errorColumn; |
54 | 54 |
55 if (!doc.setContent(xml, false, &error, &errorLine, &errorColumn)) { | 55 if (!doc.setContent(xml, false, &error, &errorLine, &errorColumn)) { |
56 std::cerr << "Transform::Transform: Error in parsing XML: " | 56 cerr << "Transform::Transform: Error in parsing XML: " |
57 << error << " at line " << errorLine | 57 << error << " at line " << errorLine |
58 << ", column " << errorColumn << std::endl; | 58 << ", column " << errorColumn << endl; |
59 std::cerr << "Input follows:" << std::endl; | 59 cerr << "Input follows:" << endl; |
60 std::cerr << xml << std::endl; | 60 cerr << xml << endl; |
61 std::cerr << "Input ends." << std::endl; | 61 cerr << "Input ends." << endl; |
62 return; | 62 return; |
63 } | 63 } |
64 | 64 |
65 QDomElement transformElt = doc.firstChildElement("transform"); | 65 QDomElement transformElt = doc.firstChildElement("transform"); |
66 QDomNamedNodeMap attrNodes = transformElt.attributes(); | 66 QDomNamedNodeMap attrNodes = transformElt.attributes(); |
123 m_startTime == t.m_startTime && | 123 m_startTime == t.m_startTime && |
124 m_duration == t.m_duration && | 124 m_duration == t.m_duration && |
125 m_sampleRate == t.m_sampleRate; | 125 m_sampleRate == t.m_sampleRate; |
126 /* | 126 /* |
127 SVDEBUG << "Transform::operator==: identical = " << identical << endl; | 127 SVDEBUG << "Transform::operator==: identical = " << identical << endl; |
128 std::cerr << "A = " << std::endl; | 128 cerr << "A = " << endl; |
129 std::cerr << toXmlString() << std::endl; | 129 cerr << toXmlString() << endl; |
130 std::cerr << "B = " << std::endl; | 130 cerr << "B = " << endl; |
131 std::cerr << t.toXmlString() << std::endl; | 131 cerr << t.toXmlString() << endl; |
132 */ | 132 */ |
133 return identical; | 133 return identical; |
134 } | 134 } |
135 | 135 |
136 bool | 136 bool |