把大文件拆成小文件

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-11-22 16:27:22 +08:00
parent f502f0dc62
commit ccc4c1d90c
6 changed files with 112 additions and 13 deletions

View File

@@ -1,11 +1,15 @@
#include <QCoreApplication>
#include <elementhashtable.h>
#include "regexextract.h"
#include <iostream>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
ElementHashtable eleReader;
eleReader.parse("D:/Project/佛山项目/佛山收资/exportmodel_zwyth/df8003/df8600/exportfiles/exportmodel_zwyth.xml");
// eleReader.parse("D:/Project/佛山项目/佛山收资/exportmodel_pw/df8003/df8600/exportfiles/exportmodel_pw.xml");
RegexExtract regexExt;
regexExt.extract("D:/Project/佛山项目/佛山收资/exportmodel_pw/df8003/df8600/exportfiles/exportmodel_pw.xml");
regexExt.exportBlocks("ConnectivityNode.xml");
std::cout<<"Finished."<<std::endl;
return a.exec();
}