File: index-functions.README

package info (click to toggle)
cppreference-doc 20151129%2Bdfsg0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 220,072 kB
  • ctags: 451
  • sloc: xml: 474,959; python: 1,770; php: 263; makefile: 162; sh: 30; cpp: 9; ansic: 9
file content (102 lines) | stat: -rw-r--r-- 4,734 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
This file defines the schema of the index-functions-*.xml files.

    /index/const        defines a macro/constant/enum value
    /index/function     defines a global function
    /index/class        defines a class
    /index/enum         defines an enum
    /index/variable     defines a variable

        "name" attribute: name of the identifier (with the namespace prefix)
        "link" attribute: link relative to the wiki root
        "since" attribute: (optional) <see below>

    //class/const       defines a macro/member constant/member enum value
    //enum/const        defines an enum class value (only in c++11)
    //class/function    defines a member function
    //class/class       defines a member class
    //class/enum        defines a member enum
    //class/variable    defines a member variable

        "name" attribute: name of the function/class (without the parent
                          class/namespace prefix)
        "link" attribute: (optional) link relative to the parent class. By
                          default equals to 'name'. If set to "." the resulting
                          link targets to the page of the parent class

        "since" attribute: (optional) <see below>

    //class/overload

        defines a function overload or function specialization of some function
        accepts the class as one of the arguments and can be found using ADL.

        "name" attribute: name of the identifier (with the namespace prefix)
        "link" attribute: link relative to the parent class. If set to "." the
                          resulting link targets to the page of the parent class
        "since" attribute: (optional) <see below>

    //class/specialization
        defines a specialization of an unrelated class for specific type (for
        function specializations use 'overload')

        "name" attribute: name of the identifier (with the namespace prefix)
        "link" attribute: (optional) link relative to the parent class. By
                          default equals to 'name'. If set to "." the resulting
                          link targets to the page of the parent class
        "since" attribute: (optional) <see below>

    //class/constructor

        defines a constructor. Equivalent to <function name="@1" link="@2"/>
        where @1 and @2 are the following:
            @1 - the name of the parent class without the namespace prefix
            @2 - the link parameter if provided, the value of @1 otherwise.

        "link" attribute: (optional) link relative to the parent class. By
                          default equals to the name of the parent class without
                          the namespace prefix. If set to ".", the resulting
                          link targets to the page of the parent class.

    //class/destructor

        defines a constructor. Equivalent to <function name="~@1" link="@2"/>
        where @1 and @2 are the following:
            @1 - the name of the parent class without the namespace prefix
            @2 - the link parameter if provided, the value of ~@1 otherwise.

        "link" attribute: (optional) link relative to the parent class. By
                          default equals to the name of the parent class without
                          the namespace prefix. If set to ".", the resulting
                          link targets to the page of the parent class.

    /index/typedef      defines a typedef

        "name" attribute: name of the identifier (with the namespace prefix)
        "link" attribute: link relative to the wiki root
        "alias" attribute: name of the identifier whose contents to import.
                           Allowed identifiers: '/index/class' and '/index/enum'
        "since" attribute: (optional) <see below>
        "alias" and "link" attributes are incompatible

    //class/typedef     defines a member typedef

        "name" attribute: name of the identifier (with the namespace prefix)
        "link" attribute: link relative to the wiki root
        "alias" attribute: (optional) name of the identifier whose contents to
                           import. Allowed identifiers: '/index/class' and
                           '/index/enum'
        "since" attribute: (optional) <see below>
        "alias" and "link" attributes are incompatible

    //class/inherits

        imports all class and function members of another class.

        "name" attribute: name of the identifier whose contents to import.
                          Allowed identifiers: '/index/class' and '/index/enum'

    "since" attribute: one of "c99", "c11", "c++03", "c++11", "c++14", "c++17",
        "exp" (experimental)

    Note: replace spaces in all links with '_'