|
ISLEman
|
Engine to create templates and template contexts. More...
#include <template.h>
Classes | |
| class | Private |
| Private data of the template engine. More... | |
Public Member Functions | |
| TemplateEngine () | |
| Create a template engine. More... | |
| ~TemplateEngine () | |
| Destroys the template engine. More... | |
| TemplateContext * | createContext () const |
| Creates a new context that can be using to render a template. More... | |
| void | destroyContext (TemplateContext *ctx) |
| Destroys a context created via createContext(). More... | |
| Template * | loadByName (const QCString &fileName, int fromLine) |
| Creates a new template whose contents are in a file. More... | |
| void | unload (Template *t) |
| Indicates that template t is no longer needed. More... | |
| void | printIncludeContext (const char *fileName, int line) const |
| Prints the current template file include stack. | |
| void | setTemplateDir (const char *dirName) |
| Sets the search directory where to look for template files. | |
Friends | |
| class | TemplateNodeBlock |
| class | TemplateNodeCreate |
Engine to create templates and template contexts.
| TemplateEngine::TemplateEngine | ( | ) |
Create a template engine.
| TemplateEngine::~TemplateEngine | ( | ) |
Destroys the template engine.
| TemplateContext * TemplateEngine::createContext | ( | ) | const |
Creates a new context that can be using to render a template.
| void TemplateEngine::destroyContext | ( | TemplateContext * | ctx | ) |
Destroys a context created via createContext().
| [in] | ctx | The context. |
Creates a new template whose contents are in a file.
| [in] | fileName | The name of the file containing the template data |
| [in] | fromLine | The line number of the statement that triggered the load |
| void TemplateEngine::unload | ( | Template * | t | ) |
Indicates that template t is no longer needed.
The engine may decide to delete it.
1.8.12