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