pauldick 01/05/17 11:31:40
Modified: c/Tests/Harness XMLFileReporter.cpp
Log:
Added addMetricToAttrs method
Revision Changes Path
1.7 +8 -0 xml-xalan/c/Tests/Harness/XMLFileReporter.cpp
Index: XMLFileReporter.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Harness/XMLFileReporter.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XMLFileReporter.cpp 2001/04/27 19:18:13 1.6
+++ XMLFileReporter.cpp 2001/05/17 18:31:38 1.7
@@ -267,7 +267,15 @@
}
}
+void XMLFileReporter::addMetricToAttrs(char* desc, double theMetric,
Hashtable& attrs)
+{
+ XalanDOMString temp;
+ DoubleToDOMString(theMetric, temp);
+ attrs.insert(Hashtable::value_type(XalanDOMString(desc), temp));
+
+ return;
+}
void
XMLFileReporter::logElement(int level, const XalanDOMString& element,
Hashtable attrs,const XalanDOMString& msg)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]