把之前用于调试代码的多余语句删掉。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com 2014-11-24 22:03:07 +08:00
parent 8bb30a0940
commit a27b938085
1 changed files with 0 additions and 16 deletions

View File

@ -60,18 +60,7 @@ bool ElementHashtable::child(QXmlStreamReader &reader)
if(pointer && id!="")
{
if(this->eleHT.contains(id))
{
std::cout<<"contain"<<std::endl;
}
this->eleHT[id]=pointer;
// std::cout<<id.toStdString()<<std::endl;
// std::cout<<this->eleHT[id]->getName().toStdString()<<std::endl;
}
else
{
// std::cout<<elementName.toString().toStdString()<<std::endl;
}
return true;
}
@ -86,9 +75,7 @@ bool ElementHashtable::goPath()
ite!=keys.end();
ite++)
{
// std::cout<<ite->toStdString()<<std::endl;
BasicElementInfo *p=ht[*ite];
// std::cout<<p->getName().toStdString()<<std::endl;
if(p->getName()=="BusbarSection")
{
std::cout<<"BusbarSection"<<"\n";
@ -122,9 +109,6 @@ bool ElementHashtable::parse(const QString& xmlPath)
}
}
// const QHash<QString,BasicElementInfo*> &ht=this->eleHT;
// std::cout<<ht["AC-1300969"]->getName().toString().toStdString()<<std::endl;
if(reader.hasError())
{
qDebug()<<reader.errorString()<<"\n";