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<<", "<