File: synopsis_class.tmpl

package info (click to toggle)
libthrust 1.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,900 kB
  • sloc: ansic: 29,519; cpp: 23,989; python: 1,421; sh: 811; perl: 460; makefile: 112
file content (16 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{%- include "synopsis_leading_line_break.tmpl" -%}
{%- include "synopsis_inherited_from.tmpl" -%}
{%- set child.synopsis_indent_width = default(synopsis_indent_width, 0) -%}
{{- render("synopsis_brief.tmpl", child) -}}
{#- The Doxygen metadata that a parent has on its nested   -#}{{ noop() -}}
{#- classes doesn't include their template parameters.     -#}{{ noop() -}}
{#- Fortunately, we have the refid of the nested class, so -#}{{ noop() -}}
{#- so we can just load the data from their page.          -#}{{ noop() -}}
{%- set child_class = load(child.refid)) -%}
{%- set child_class.synopsis_indent_width = default(synopsis_indent_width, 0) -%}
{{- render("synopsis_template_parameters.tmpl", child_class) -}}
<span>{{ noop() -}}
  {%- include "synopsis_indent.tmpl" -%}
  {{- render("synopsis_kind_abbreviated.tmpl", child) -}}
  <b><a href="{{ child.url }}">{% include "name.tmpl" %}</a></b>;{{ noop() -}}
</span>