ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/XmlTools2/trunk/xmlfilter.h
Revision: 906
Committed: Sat Feb 1 14:27:58 2014 UTC (11 years, 10 months ago) by s10k
Content type: text/x-chdr
File size: 764 byte(s)
Log Message:

File Contents

# Content
1 #ifndef XMLFILTER_H
2 #define XMLFILTER_H
3
4 #include <QString>
5
6 //class to simplify XML filtering
7 class XmlFilter
8 {
9 public:
10
11 XmlFilter();
12 XmlFilter(QString elementName, QString parentElementName, QString attributeName, QString attributeValue);
13
14 QString getElementName();
15 QString getParentElementName();
16 QString getAttributeName();
17 QString getAttributeValue();
18
19 void setElementName(QString elementName);
20 void setParentElementName(QString parentElementName);
21 void setAttributeName(QString attributeName);
22 void setAttributeValue(QString attributeValue);
23 private:
24 QString elementName;
25 QString parentElementName;
26 QString attributeName;
27 QString attributeValue;
28 };
29
30 #endif // XMLFILTER_H