C++ Web Framework  3.0
cstlcompilerfor.h
1 /*
2  Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler
3  Distributed under MIT license, or public domain if desired and
4  recognized in your jurisdiction.
5  See file LICENSE for detail.
6 */
7 
8 #ifndef CSTLCOMPILERFOR_H
9 #define CSTLCOMPILERFOR_H
10 
11 #include <QMap>
12 #include <QXmlStreamAttributes>
13 #include "cppwebframework_global.h"
14 
15 CWF_BEGIN_NAMESPACE
19 class CPPWEBFRAMEWORKSHARED_EXPORT CSTLCompilerFor
20 {
21 public:
22  QMap<QString, QString> attributes;
27  explicit CSTLCompilerFor(const QXmlStreamAttributes &attr);
28 };
29 
30 CWF_END_NAMESPACE
31 
32 #endif // CSTLCOMPILERFOR_H
Extracts and valites all attibutes from a "for" tag.
Definition: cstlcompilerfor.h:19