FactDev  0.1
Mustache::PartialMap Class Reference

#include <mustache.h>

Inheritance diagram for Mustache::PartialMap:
Mustache::PartialResolver

Public Member Functions

 PartialMap (const QHash< QString, QString > &partials)
 
virtual QString getPartial (const QString &name)
 

Detailed Description

A simple partial fetcher which returns templates from a map of (partial name -> template)

Member Function Documentation

QString PartialMap::getPartial ( const QString &  name)
virtual

Returns the partial template with a given name.

Implements Mustache::PartialResolver.


The documentation for this class was generated from the following files: