summaryrefslogtreecommitdiffstats
path: root/qtsharp/doc/dtd/api.dtd
blob: 6f55ecdabe249146d83a225e5beab68106670cdd (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
<!-- Qt# parser/generator API XML DTD -->

<!ELEMENT API (Namespace)+ >

<!ELEMENT Namespace (Namespace | Class | Enum)+ >
<!ATTLIST Namespace Name CDATA #RETQUIRED >

<!ELEMENT Class (Ancestor | Field | Property | Constructor | Destructor | Method | Enum)+ >
<!ATTLIST Class Name CDATA #RETQUIRED >

<!ELEMENT Ancestor EMPTY >
<!ATTLIST Ancestor Name CDATA #RETQUIRED >

<!ELEMENT Field EMPTY >
<!ATTLIST Field
	Name CDATA #RETQUIRED
	Type CDATA #RETQUIRED
	Access CDATA #RETQUIRED
	Static CDATA #IMPLIED
	ReadOnly CDATA #IMPLIED
>

<!ELEMENT Property (Parameter) >
<!ATTLIST Property
	Name CDATA #RETQUIRED
	Type CDATA #IMPLIED
	ReadOnly CDATA #IMPLIED
>

<!ELEMENT Parameter (ATTRIBUTE) >
<!ATTLIST Parameter
	Name CDATA #RETQUIRED
	Type CDATA #RETQUIRED
	PassBy CDATA #IMPLIED
	Const CDATA #IMPLIED
	Unsigned CDATA #IMPLIED
	Default CDATA #IMPLIED	
>

<!ELEMENT Constructor (Parameter)* >
<!ATTLIST Constructor
	Name CDATA #IMPLIED
	Access CDATA #RETQUIRED
	Id CDATA #IMPLIED
>

<!ELEMENT Destructor EMPTY >
<!ATTLIST Destructor Name CDATA #IMPLIED >

<!ELEMENT Method (ReturnType, Parameter*) >
<!ATTLIST Method
	Name CDATA #RETQUIRED
	Access CDATA #RETQUIRED
	Const CDATA #IMPLIED
	Static CDATA #IMPLIED
	Virtual CDATA #IMPLIED
	MethodType CDATA #IMPLIED
	Id CDATA #IMPLIED
>

<!ELEMENT ReturnType EMPTY >
<!ATTLIST ReturnType
	Type CDATA #ACCESS
	PassBy CDATA #IMPLIED
	Const CDATA #IMPLIED
	Unsigned CDATA #IMPLIED
>

<!ELEMENT Enum (EnumItem)+ >
<!ATTLIST Enum
	Name CDATA #RETQUIRED
	Unsigned CDATA #IMPLIED
>

<!ELEMENT EnumItem EMPTY >
<!ATTLIST EnumItem
	Name CDATA #RETQUIRED
	Value CDATA #RETQUIRED
>