summaryrefslogtreecommitdiffstats
path: root/src/template.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-02 19:59:09 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-02 12:36:45 (GMT)
commite0c3517ff9369387e00dd596b094a4729cfe789c (patch)
tree945bc83946b5cbe6d6ee01a66154d3b95e148543 /src/template.h
parenta7c14ac74c43e6b372d866deeed77fe69e2a68e0 (diff)
downloadDoxygen-e0c3517ff9369387e00dd596b094a4729cfe789c.zip
Doxygen-e0c3517ff9369387e00dd596b094a4729cfe789c.tar.gz
Doxygen-e0c3517ff9369387e00dd596b094a4729cfe789c.tar.bz2
Addition of module data to context and alphaIndex filter
Diffstat (limited to 'src/template.h')
-rw-r--r--src/template.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/template.h b/src/template.h
index cb4a96f..7994216 100644
--- a/src/template.h
+++ b/src/template.h
@@ -1,3 +1,18 @@
+/******************************************************************************
+ *
+ * Copyright (C) 1997-2014 by Dimitri van Heesch.
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
+ * for any purpose. It is provided "as is" without express or implied warranty.
+ * See the GNU General Public License for more details.
+ *
+ * Documents produced by Doxygen are derivative works derived from the
+ * input used in their production; they are not affected by this license.
+ *
+ */
+
#ifndef TEMPLATE_H
#define TEMPLATE_H
@@ -126,6 +141,9 @@ class TemplateVariant
/** Returns the type of the value stored in the variant */
Type type() const;
+ /** Return a string representation of the type of the value stored in the variant */
+ QCString typeAsString() const;
+
/** Returns TRUE if the variant holds a valid value, or FALSE otherwise */
bool isValid() const;
@@ -485,6 +503,11 @@ class TemplateEngine
*/
TemplateContext *createContext() const;
+ /** Destroys a context created via createContext().
+ * @param[in] ctx The context.
+ */
+ void destroyContext(TemplateContext *ctx);
+
/** Creates a new template whole contents are in a file.
* @param[in] fileName The name of the file containing the
* template data