Public Member Functions | List of all members
Template Class Referenceabstract

Abstract interface for a template. More...

#include <template.h>

Inheritance diagram for Template:
TemplateImpl

Public Member Functions

virtual ~Template ()
 
virtual void render (FTextStream &ts, TemplateContext *c)=0
 

Detailed Description

Abstract interface for a template.

Note
Must be created and is deleted by the TemplateEngine

Definition at line 542 of file template.h.

Constructor & Destructor Documentation

virtual Template::~Template ( )
inlinevirtual

Destructor

Definition at line 546 of file template.h.

546 {}

Member Function Documentation

virtual void Template::render ( FTextStream ts,
TemplateContext c 
)
pure virtual

Renders a template instance to a stream.

Parameters
[in]tsThe text stream to write the results to.
[in]cThe context containing data that can be used when instantiating the template.

Implemented in TemplateImpl.


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