summaryrefslogtreecommitdiff
path: root/doc/classes/Reference.xml
blob: a8ca4cde0c66e394d7c8e534f6894d27699d61f5 (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Reference" inherits="Object" category="Core" version="3.0.alpha.custom_build">
	<brief_description>
		Base class for anything that keeps a reference count.
	</brief_description>
	<description>
		Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use.
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="init_ref">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="reference">
			<return type="void">
			</return>
			<description>
				Increase the internal reference counter. Use this only if you really know what you are doing.
			</description>
		</method>
		<method name="unreference">
			<return type="bool">
			</return>
			<description>
				Decrease the internal reference counter. Use this only if you really know what you are doing.
			</description>
		</method>
	</methods>
	<constants>
	</constants>
</class>