1 // vim: set expandtab tabstop=4 shiftwidth=4:
15 * GHIT with cache capabilities added. The templates are stored in memory once
16 * they are readed and reused in succesive parse() calls, avoiding disc reads
19 * @todo See if it's really usefull, since the OS is supposed to be in charge
22 class CHIT: public GHIT {
31 * Gets cached file content.
33 * @param filename Name of the file to get the content.
34 * @return File content.
36 virtual string getFileContent(string);
42 * @param root Root directory from where to get the templates.
43 * @param postfix Postfix of the template files.
44 * @param group Starting group.
46 CHIT(string = string("."), string = string(".tpl"), string = string(""));