20
testHasttable/regexextract.h
Normal file
20
testHasttable/regexextract.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef REGEXEXTRACT_H
|
||||
#define REGEXEXTRACT_H
|
||||
#include <QString>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <QStringList>
|
||||
|
||||
class RegexExtract
|
||||
{
|
||||
public:
|
||||
RegexExtract();
|
||||
bool extract(const QString& xmlPath);
|
||||
void exportBlocks(const QString& path);
|
||||
protected:
|
||||
bool startsWith(const QString& line,const QString& eleName);
|
||||
bool endsWith(const QString& line,const QString& eleName);
|
||||
QStringList blocks;
|
||||
};
|
||||
|
||||
#endif // REGEXEXTRACT_H
|
||||
Reference in New Issue
Block a user