Guitar
XmlTagState.h
Go to the documentation of this file.
1 #ifndef XMLTAGSTATE_H
2 #define XMLTAGSTATE_H
3 
4 #include <vector>
5 #include <Qt>
6 
7 class QString;
8 class QStringView;
9 
10 class XmlTagState {
11 private:
12  std::vector<ushort> arr;
13 public:
14  void push(QString const &tag);
15  void push(QStringView const &tag);
16  void pop();
17  bool is(char const *path) const;
18  bool operator == (char const *path) const;
19  QString str() const;
20 };
21 
22 #endif // XMLTAGSTATE_H
XmlTagState.h
XmlTagState::is
bool is(char const *path) const
Definition: XmlTagState.cpp:32
XmlTagState::operator==
bool operator==(char const *path) const
Definition: XmlTagState.cpp:41
XmlTagState::pop
void pop()
Definition: XmlTagState.cpp:22
XmlTagState::arr
std::vector< ushort > arr
Definition: XmlTagState.h:12
XmlTagState::str
QString str() const
Definition: XmlTagState.cpp:46
XmlTagState::push
void push(QString const &tag)
Definition: XmlTagState.cpp:5
XmlTagState
Definition: XmlTagState.h:10