~ubuntu-branches/ubuntu/trusty/grantlee/trusty

« back to all changes in this revision

Viewing changes to examples/codegen/templates/cpp/base_header.h

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2010-06-11 23:41:45 UTC
  • Revision ID: james.westby@ubuntu.com-20100611234145-oas7rhdrbwy8j55c
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% include licence|append:".h" %}
 
2
 
 
3
{% random 5 as rand %}
 
4
#ifndef {{ className.upper }}_H_{{ rand }}
 
5
#define {{ className.upper }}_H_{{ rand }}
 
6
 
 
7
{% block includes %}{% endblock %}{% comment %}
 
8
 
 
9
{% endcomment %}{% block forward_decls %}{% endblock %}{% comment %}
 
10
 
 
11
{% endcomment %}{% block apidox %}/**
 
12
  @brief The {{ className }} class
 
13
 
 
14
  @author {{ author }}
 
15
  @date {% now "MMM yyyy" %}
 
16
*/{% endblock %}
 
17
class {{ className }}{% if baseClass %} : {{ baseClass.access }} {{ baseClass.type }} {% endif %}
 
18
{
 
19
{% block class_content %}{% endblock %}
 
20
};
 
21
 
 
22
#endif // {{ className.upper }}_H_{{ rand }}