@@ -174,11 +174,16 @@ void ElementHashtable::SetFDSet(const QVector<QString> &FDSet)//FeeDer集合
|
||||
void ElementHashtable::ShowContainerInfo(const QString& fileName)
|
||||
{
|
||||
QString relPath="./../output/";
|
||||
QFile file(relPath+fileName+".txt");
|
||||
if(file.open(QFile::ReadOnly))
|
||||
relPath+=fileName+".txt";
|
||||
QFile file(relPath.toLocal8Bit());
|
||||
if(file.open(QFile::WriteOnly|QFile::Text))
|
||||
{
|
||||
QTextStream stream(&file);
|
||||
this->tpRecorder->showContainerInfo(stream);
|
||||
file.close();
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr<<"not open"<<relPath.toStdString()<<std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user