23#ifndef CUTELEE_FILTER_H
24#define CUTELEE_FILTER_H
26#include "cutelee_templates_export.h"
27#include "outputstream.h"
28#include "safestring.h"
30#include <QtCore/QStringList>
31#include <QtCore/QVariant>
102 bool autoescape = {})
const = 0;
107 virtual bool isSafe()
const;
111 OutputStream *m_stream;
Base class for all filters.
virtual QVariant doFilter(const QVariant &input, const QVariant &argument={}, bool autoescape={}) const =0
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 Cutelee namespace holds all public Cutelee API.