From ac08caee2aae91c9af6b77466bfb8a017dede180 Mon Sep 17 00:00:00 2001 From: "dmy@lab" Date: Thu, 8 Jan 2015 11:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=85=88=E6=8A=8A=E5=87=A0?= =?UTF-8?q?=E4=B8=AA=E4=B8=8D=E7=94=A8=E7=9A=84sub=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=9A=90=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dmy@lab --- Solution.pro | 6 +++--- testHasttable/task.cpp | 2 +- testHasttable/topologyrecorder.cpp | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Solution.pro b/Solution.pro index 0b100ae..c85559f 100644 --- a/Solution.pro +++ b/Solution.pro @@ -1,5 +1,5 @@ TEMPLATE = subdirs -SUBDIRS=cimparser \ - core \ - testHasttable +SUBDIRS=testHasttable \ + #core \ + #cimparser diff --git a/testHasttable/task.cpp b/testHasttable/task.cpp index 4160cfd..53163a7 100644 --- a/testHasttable/task.cpp +++ b/testHasttable/task.cpp @@ -66,7 +66,7 @@ void Task::doAgainstTaskFile(ElementHashtable &eleHT) eleHT.SetFDSet(setSep.toVector()); eleHT.GoPath(); eleHT.ShowContainerInfo(lineName); - break; +// break; } file.close(); } diff --git a/testHasttable/topologyrecorder.cpp b/testHasttable/topologyrecorder.cpp index 0040fa4..cd99c27 100644 --- a/testHasttable/topologyrecorder.cpp +++ b/testHasttable/topologyrecorder.cpp @@ -35,7 +35,7 @@ void TopologyRecorder::showContainerInfo(QTextStream &stream) { const QHash &ht=this->eleHT; - stream<<"total tf"<tfs.length()<<"\n"; +// stream<<"total tf"<tfs.length()<<"\n"; //统计一下每个Container下有多少个变压器 QHash > s; for(QVector::iterator ite=this->tfs.begin(); @@ -57,6 +57,7 @@ void TopologyRecorder::showContainerInfo(QTextStream &stream) stream<(ht[k]); stream<<"("<getNamingDescription()<<")"; + stream<<"#####"; QVector v=s[k]; foreach (QString n, v) { stream<<", "<