AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::Template Klassenreferenz

#include <Template.h>

Öffentliche Methoden

 Template (const QString &pTemplate)
 Construct the template pTemplate. Mehr ...
 
const QSet< QString > getContextKeys () const
 Get template context keys, i.e. Mehr ...
 
bool setContextParameter (const QString &pKey, const QString &pValue)
 Set known context key as parameter. Mehr ...
 
QString render () const
 Renders the template by replacing all contained context keys by context values. Mehr ...
 

Öffentliche, statische Methoden

static Template fromFile (const QString &pTemplateFileName)
 Construct a template from file. Mehr ...
 

Beschreibung der Konstruktoren und Destruktoren

Template::Template ( const QString &  pTemplate)

Construct the template pTemplate.

Dokumentation der Elementfunktionen

Template Template::fromFile ( const QString &  pTemplateFileName)
static

Construct a template from file.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

const QSet< QString > Template::getContextKeys ( ) const

Get template context keys, i.e.

the possible keys to add as context parameter.

QString Template::render ( ) const

Renders the template by replacing all contained context keys by context values.

If for a contained key no value is specified, the key is replaced by the empty string.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

bool Template::setContextParameter ( const QString &  pKey,
const QString &  pValue 
)

Set known context key as parameter.

Unknown context keys are ignored, already set context values are overwritten.

Rückgabe
true, if the context key is known, false otherwise

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: