summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/scopedenum/expected/webxml/testqdoc-test.webxml
blob: 0e2cf6c33cc684ddcbb7d17d44af7773fb830710 (plain)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?xml version="1.0" encoding="UTF-8"?>
<WebXML>
    <document>
        <class threadsafety="reentrant" name="Test" fullname="TestQDoc::Test" href="testqdoc-test.html" status="active" access="public" location="testcpp.h" since="2.0" documented="true" groups="cpptypes,testgroup" module="TestCPP" brief="A class in a namespace">
            <description>
                <brief>A class in a namespace.</brief>
            </description>
            <function name="QDOCTEST_MACRO2" href="testqdoc-test.html#QDOCTEST_MACRO2" status="active" access="public" documented="true" related="1" since="Test 1.1" meta="macrowithparams" brief="A macro with argument x" signature="QDOCTEST_MACRO2(int &amp;x)" groups="testgroup">
                <parameter type="int &amp;" name="x" default=""/>
                <description>
                    <brief>A macro with argument <argument>x</argument>.</brief>
                </description>
            </function>
            <function name="Test" fullname="TestQDoc::Test::Test" href="testqdoc-test.html#Test" status="active" access="public" documented="true" meta="constructor" noexcept="true" signature="Test()">
                <description>
                    <para>Default constructor.</para>
                </description>
            </function>
            <function name="anotherObsoleteMember" fullname="TestQDoc::Test::anotherObsoleteMember" href="testqdoc-test-obsolete.html#anotherObsoleteMember" status="deprecated" access="public" location="testcpp.h" documented="true" meta="plain" type="void" signature="void anotherObsoleteMember()">
                <description>
                    <para>Use <link raw="obsoleteMember()" href="testqdoc-test.html#obsoleteMember" type="function">obsoleteMember()</link> instead.</para>
                </description>
            </function>
            <function name="deprecatedMember" fullname="TestQDoc::Test::deprecatedMember" href="testqdoc-test-obsolete.html#deprecatedMember" status="deprecated" access="public" location="testcpp.h" documented="true" meta="plain" type="void" signature="void deprecatedMember()">
                <description>
                    <para>Use <link raw="someFunction()" href="testqdoc-test.html#someFunction" type="function">someFunction()</link> instead.</para>
                </description>
            </function>
            <function name="funcPtr" fullname="TestQDoc::Test::funcPtr" href="testqdoc-test.html#funcPtr" status="active" access="public" location="testcpp.h" documented="true" meta="plain" type="void (*)(bool)" signature="void (*)(bool) funcPtr(bool b, const char *s)">
                <parameter type="bool" name="b" default=""/>
                <parameter type="const char *" name="s" default=""/>
                <description>
                    <para>Returns a pointer to a function that takes a boolean. Uses <argument>b</argument> and <argument>s</argument>.</para>
                </description>
            </function>
            <function name="inlineFunction" fullname="TestQDoc::Test::inlineFunction" href="testqdoc-test.html#inlineFunction" status="active" access="public" location="testcpp.h" documented="true" meta="plain" type="void" brief="An inline function, documented using the \fn QDoc command" signature="void inlineFunction()">
                <description>
                    <brief>An inline function, documented using the \fn QDoc command.</brief>
                </description>
            </function>
            <function name="methodWithEmDashInItsDocs" fullname="TestQDoc::Test::methodWithEmDashInItsDocs" href="testqdoc-test.html#methodWithEmDashInItsDocs" status="active" access="public" location="testcpp.h" documented="true" meta="plain" type="void" signature="void methodWithEmDashInItsDocs()">
                <description>
                    <para>This method has em dashes in its documentation—as you'll find represented by <teletype type="highlighted">---</teletype> in the sources—here and there. The important bit to note is that when passed e.g. to the \c command, the three hyphens are processed as input to the command and not replaced by an em dash.</para>
                    <para>-----------------------------------------------------------------------</para>
                    <para>People can still add a bunch of dashes, though, without QDoc replacing them all with a series of em dashes.</para>
                    <para>—You can also start a new paragraph with an em dash, if you want to.</para>
                    <see-also>
                        <link raw="methodWithEnDashInItsDocs" href="testqdoc-test.html#methodWithEnDashInItsDocs" type="function">methodWithEnDashInItsDocs</link>
                    </see-also>
                </description>
            </function>
            <function name="methodWithEnDashInItsDocs" fullname="TestQDoc::Test::methodWithEnDashInItsDocs" href="testqdoc-test.html#methodWithEnDashInItsDocs" status="active" access="public" location="testcpp.h" documented="true" meta="plain" type="void" signature="void methodWithEnDashInItsDocs()">
                <description>
                    <para>This method has en dashes in its documentation – as you'll find represented by <teletype type="highlighted">--</teletype> in the sources – here and there. The important bit to note is that when passed e.g. to the \c command, the two hyphens are processed as input to the command and not replaced by an en dash. This also applies to code blocks, where otherwise, the decrement operator would get completely borked:</para>
                    <code>for (int i = 42; i &gt; 0; --i)
    // Do something cool during countdown.</code>
                    <para>...as it would be silly if this would output –i instead of <teletype type="highlighted">--i</teletype>.</para>
                    <para>-----------------------------------------------------------------------</para>
                    <para>It still allows people to add a bunch of dashes, though, without replacing them all with a series of en dashes. Of course, they might want to use the \hr command instead, like this:</para>
                    <para>– You can also start a new paragraph with an en dash, if you want to.</para>
                    <see-also>methodWithEnDashInItsDocs</see-also>
                </description>
            </function>
            <function name="obsoleteMember" fullname="TestQDoc::Test::obsoleteMember" href="testqdoc-test-obsolete.html#obsoleteMember" status="deprecated" access="public" location="testcpp.h" documented="true" meta="plain" type="void" signature="void obsoleteMember()">
                <description>
                    <para>Use <link raw="someFunction()" href="testqdoc-test.html#someFunction" type="function">someFunction()</link> instead.</para>
                </description>
            </function>
            <function name="operator++" fullname="TestQDoc::Test::operator++" href="testqdoc-test-obsolete.html#operator-2b-2b" status="deprecated" access="public" location="testcpp.h" documented="true" meta="plain" type="TestQDoc::Test &amp;" signature="TestQDoc::Test &amp; operator++()">
                <description/>
            </function>
            <function name="operator--" fullname="TestQDoc::Test::operator--" href="testqdoc-test-obsolete.html#operator--" status="deprecated" access="public" location="testcpp.h" documented="true" meta="plain" type="TestQDoc::Test &amp;" signature="TestQDoc::Test &amp; operator--()">
                <description/>
            </function>
            <function name="operator=" fullname="TestQDoc::Test::operator=" href="testqdoc-test.html#operator-eq" status="active" access="public" documented="true" meta="move-assign" noexcept="true" type="TestQDoc::Test &amp;" signature="TestQDoc::Test &amp; operator=(TestQDoc::Test &amp;&amp;other)" groups="testgroup">
                <parameter type="TestQDoc::Test &amp;&amp;" name="other" default=""/>
                <description>
                    <para>Move-assigns <argument>other</argument>.</para>
                </description>
            </function>
            <function name="operator==" href="testqdoc-test.html#operator-eq-eq" status="active" access="public" location="testcpp.h" documented="true" related="2" meta="plain" type="bool" signature="bool operator==(const TestQDoc::Test &amp;lhs, const TestQDoc::Test &amp;rhs)">
                <parameter type="const TestQDoc::Test &amp;" name="lhs" default=""/>
                <parameter type="const TestQDoc::Test &amp;" name="rhs" default=""/>
                <description>
                    <para>Returns true if <argument>lhs</argument> and <argument>rhs</argument> are equal.</para>
                </description>
            </function>
            <function name="overload" fullname="TestQDoc::Test::overload" href="testqdoc-test.html#overload" status="active" access="protected" location="testcpp.h" documented="true" meta="plain" type="void" signature="void overload()">
                <description/>
            </function>
            <function name="overload" fullname="TestQDoc::Test::overload" href="testqdoc-test.html#overload-1" status="active" access="protected" location="testcpp.h" documented="true" since="Test 1.2" meta="plain" overload="true" overload-number="1" type="void" signature="void overload(bool b)">
                <parameter type="bool" name="b" default=""/>
                <description/>
            </function>
            <function name="someFunction" fullname="TestQDoc::Test::someFunction" href="testqdoc-test.html#someFunction" status="active" access="public" location="testcpp.h" documented="true" meta="plain" type="int" signature="int someFunction(int, int v)">
                <parameter type="int" name="" default=""/>
                <parameter type="int" name="v" default="0"/>
                <description>
                    <para>Function that takes a parameter <argument>v</argument>. Also returns the value of <argument>v</argument>.</para>
                </description>
            </function>
            <function name="someFunctionDefaultArg" fullname="TestQDoc::Test::someFunctionDefaultArg" href="testqdoc-test.html#someFunctionDefaultArg" threadsafety="non-reentrant" status="active" access="public" location="testcpp.h" documented="true" meta="plain" const="true" type="void" signature="void someFunctionDefaultArg(int i, bool b) const" groups="testgroup">
                <parameter type="int" name="i" default=""/>
                <parameter type="bool" name="b" default="false"/>
                <description>
                    <para>Function that takes a parameter <argument>i</argument> and <argument>b</argument>.</para>
                </description>
            </function>
            <function name="virtualFun" fullname="TestQDoc::Test::virtualFun" href="testqdoc-test.html#virtualFun" status="active" access="public" location="testcpp.h" documented="true" meta="plain" virtual="virtual" type="void" signature="void virtualFun()">
                <description>
                    <para>Function that must be reimplemented.</para>
                </description>
            </function>
            <enum name="ClassicEnum" fullname="TestQDoc::Test::ClassicEnum" href="testqdoc-test.html#ClassicEnum-enum" status="active" access="public" location="testcpp.h" documented="true">
                <value name="Yee" value="0"/>
                <value name="Haw" value="1"/>
                <value name="Howdy" value="2"/>
                <value name="Partner" value="3"/>
                <description>
                    <list type="enum">
                        <definition>
                            <term>TestQDoc::Test::Yee</term>Yee</definition>
                        <item/>
                        <definition>
                            <term>TestQDoc::Test::Haw</term>Haw</definition>
                        <item/>
                        <definition>
                            <term>TestQDoc::Test::Howdy</term>Howdy</definition>
                        <item/>
                        <definition>
                            <term>TestQDoc::Test::Partner</term>Partner</definition>
                        <item/>
                    </list>
                </description>
            </enum>
            <enum name="ScopedEnum" fullname="TestQDoc::Test::ScopedEnum" href="testqdoc-test.html#ScopedEnum-enum" status="active" access="public" location="testcpp.h" documented="true" scoped="true">
                <value name="This" value="0x01"/>
                <value name="That" value="0x02"/>
                <value name="All" value="This | That" since="2.0"/>
                <value name="OmittedValue" value="99"/>
                <value name="UselessValue" value="100"/>
                <value name="VeryLastValue" value="101"/>
                <description>
                    <brief>This enum has a brief to trigger a bug in CMD_BRIEF.</brief>
                    <list type="enum">
                        <definition>
                            <term>TestQDoc::Test::ScopedEnum::This</term>This</definition>
                        <item>
                            <para>Something</para>
                        </item>
                        <definition>
                            <term>TestQDoc::Test::ScopedEnum::That</term>That</definition>
                        <item>
                            <para>Something else</para>
                        </item>
                        <definition>
                            <term>TestQDoc::Test::ScopedEnum::All</term>All</definition>2.0<item>
                            <para>Everything</para>
                        </item>
                    </list>
                    <para>A scoped enum.</para>
                </description>
            </enum>
            <typedef name="SomeType" fullname="TestQDoc::Test::SomeType" href="testqdoc-test.html#SomeType-typedef" status="active" access="public" location="testcpp.h" documented="true">
                <description>
                    <brief>A typedef.</brief>
                </description>
            </typedef>
        </class>
    </document>
</WebXML>