21 #ifndef GRANTLEE_CACHINGLOADERDECORATOR_H 22 #define GRANTLEE_CACHINGLOADERDECORATOR_H 24 #include "templateloader.h" 26 #include "grantlee_templates_export.h" 31 class CachingLoaderDecoratorPrivate;
84 bool canLoadTemplate(
const QString &name)
const override;
86 QPair<QString, QString> getMediaUri(
const QString &fileName)
const override;
88 Template loadByName(
const QString &name,
104 bool isEmpty()
const;
108 CachingLoaderDecoratorPrivate *
const d_ptr;
The Template class is a tree of nodes which may be rendered.
An retrieval interface to a storage location for Template objects.
Implements a loader decorator which caches compiled Template objects.
The Grantlee namespace holds all public Grantlee API.
Grantlee::Engine is the main entry point for creating Grantlee Templates.