23 #ifndef GRANTLEE_FILTER_H 24 #define GRANTLEE_FILTER_H 26 #include "grantlee_templates_export.h" 27 #include "outputstream.h" 28 #include "safestring.h" 30 #include <QtCore/QSharedPointer> 31 #include <QtCore/QStringList> 32 #include <QtCore/QVariant> 57 class GRANTLEE_TEMPLATES_EXPORT
Filter 98 virtual QVariant doFilter(
const QVariant &input,
99 const QVariant &argument = QVariant(),
100 bool autoescape =
false)
const = 0;
105 virtual bool isSafe()
const;
Base class for all filters.
The OutputStream class is used to render templates to a QTextStream.
A QString wrapper class for containing whether a string is safe or needs to be escaped.
The Grantlee namespace holds all public Grantlee API.