File: qgarray.html

package info (click to toggle)
qt1g 1%3A1.45-1.1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 17,436 kB
  • ctags: 20,174
  • sloc: cpp: 89,153; yacc: 1,273; ansic: 692; makefile: 479; lex: 326; sh: 150; perl: 94
file content (139 lines) | stat: -rw-r--r-- 9,202 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta name="robots" content="noindex,noarchive">
<title>Qt Toolkit - QGArray Class</title><style type="text/css"><!--
h3.fn,span.fn { margin-left: 15%; text-indent: -15%; }
a:link { text-decoration: none; }
--></style>
</head><body bgcolor="#ffffff">

<a href=index.html><img width=122 height=65 src=qtlogo.jpg alt="Qt logo" align=left border=0></a>
<center><img src=dochead.gif width=472 height=27></center>
<br clear=all>

<h1 align=center>QGArray Class Reference</h1><br clear="all">
<p>
The QGArray class is an internal class for implementing the <a href="qarray.html">QArray</a> class.
<a href="#details">More...</a>
<p>
<code>#include &lt;<a href="qgarray-h.html">qgarray.h</a>&gt;</code>
<p>Inherited by <a href="qarray.html">QArray</a>.
<p><a href="qgarray-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li><span class="fn"><a href="qgarray.html#a0"><strong>QGArray</strong></a>()</span>
</ul>
<h2>Protected Members</h2>
<ul>
<li><span class="fn"><a href="qgarray.html#a1"><strong>QGArray</strong></a>(int, int)</span>
<li><span class="fn"><a href="qgarray.html#a2"><strong>QGArray</strong></a>(intsize)</span>
<li><span class="fn"><a href="qgarray.html#a3"><strong>QGArray</strong></a>(constQGArray&amp;a)</span>
<li><span class="fn">virtual<a href="qgarray.html#a4"><strong>~QGArray</strong></a>()</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#a5"><strong>operator=</strong></a>(constQGArray&amp;a)</span>
<li><span class="fn">virtualvoid<a href="qgarray.html#a6"><strong>detach</strong></a>()</span>
<li><span class="fn">char*<a href="qgarray.html#a7"><strong>data</strong></a>()const</span>
<li><span class="fn">uint<a href="qgarray.html#a8"><strong>nrefs</strong></a>()const</span>
<li><span class="fn">uint<a href="qgarray.html#a9"><strong>size</strong></a>()const</span>
<li><span class="fn">bool<a href="qgarray.html#b0"><strong>isEqual</strong></a>(constQGArray&amp;a)const</span>
<li><span class="fn">bool<a href="qgarray.html#b1"><strong>resize</strong></a>(uintnewsize)</span>
<li><span class="fn">bool<a href="qgarray.html#b2"><strong>fill</strong></a>(constchar*d, intlen, uintsz)</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#b3"><strong>assign</strong></a>(constQGArray&amp;a)</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#b4"><strong>assign</strong></a>(constchar*d, uintlen)</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#b5"><strong>duplicate</strong></a>(constQGArray&amp;a)</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#b6"><strong>duplicate</strong></a>(constchar*d, uintlen)</span>
<li><span class="fn">void<a href="qgarray.html#b7"><strong>store</strong></a>(constchar*d, uintlen)</span>
<li><span class="fn">array_data*<a href="qgarray.html#b8"><strong>sharedBlock</strong></a>()const</span>
<li><span class="fn">void<a href="qgarray.html#b9"><strong>setSharedBlock</strong></a>(array_data*p)</span>
<li><span class="fn">QGArray&amp;<a href="qgarray.html#c0"><strong>setRawData</strong></a>(constchar*d, uintlen)</span>
<li><span class="fn">void<a href="qgarray.html#c1"><strong>resetRawData</strong></a>(constchar*d, uintlen)</span>
<li><span class="fn">int<a href="qgarray.html#c2"><strong>find</strong></a>(constchar*d, uintindex, uintsz)const</span>
<li><span class="fn">int<a href="qgarray.html#c3"><strong>contains</strong></a>(constchar*d, uintsz)const</span>
<li><span class="fn">char*<a href="qgarray.html#c4"><strong>at</strong></a>(uintindex)const</span>
<li><span class="fn">bool<a href="qgarray.html#c5"><strong>setExpand</strong></a>(uintindex, constchar*d, uintsz)</span>
<li><span class="fn">virtualarray_data*<a href="qgarray.html#c6"><strong>newData</strong></a>()</span>
<li><span class="fn">virtualvoid<a href="qgarray.html#c7"><strong>deleteData</strong></a>(array_data*p)</span>
</ul>
<hr><h2><a name="details"></a>Detailed Description</h2>
The QGArray class is an internal class for implementing the <a href="qarray.html">QArray</a> class.
<p>
QGArray is a strictly internal class that acts as base class for the
QArray template array.
<p>It contains an array of bytes and has no notion of an array element.

<hr><h2>Member Function Documentation</h2>
<h3 class="fn"><a name="a0"></a>QGArray::QGArray()</h3>
<p>For internal use only.
<h3 class="fn"><a name="a3"></a>QGArray::QGArray(constQGArray&amp;a) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn"><a name="a2"></a>QGArray::QGArray(intsize) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn"><a name="a1"></a>QGArray::QGArray(int, int) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn"><a name="a4"></a>QGArray::~QGArray() <code>[virtualprotected]</code></h3>
<p>For internal use only.
<h3 class="fn">QGArray&amp;<a name="b3"></a>QGArray::assign(constQGArray&amp;a) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">QGArray&amp;<a name="b4"></a>QGArray::assign(constchar*d, uintlen) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">char*<a name="c4"></a>QGArray::at(uintindex)const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">int<a name="c3"></a>QGArray::contains(constchar*d, uintsz)const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">char*<a name="a7"></a>QGArray::data()const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">void<a name="c7"></a>QGArray::deleteData(array_data*p) <code>[virtualprotected]</code></h3>
<p>For internal use only.
<h3 class="fn">void<a name="a6"></a>QGArray::detach() <code>[virtualprotected]</code></h3>
<p>For internal use only.
<p>Reimplemented in <a href="qbitarray.html#a7">QBitArray</a>, <a href="qarray.html#b4">QArray</a> and <a href="qbytearray.html#b8">QByteArray</a>.
<h3 class="fn">QGArray&amp;<a name="b5"></a>QGArray::duplicate(constQGArray&amp;a) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">QGArray&amp;<a name="b6"></a>QGArray::duplicate(constchar*d, uintlen) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">bool<a name="b2"></a>QGArray::fill(constchar*d, intlen, uintsz) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">int<a name="c2"></a>QGArray::find(constchar*d, uintindex, uintsz)const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">bool<a name="b0"></a>QGArray::isEqual(constQGArray&amp;a)const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">array_data*<a name="c6"></a>QGArray::newData() <code>[virtualprotected]</code></h3>
<p>For internal use only.
<h3 class="fn">uint<a name="a8"></a>QGArray::nrefs()const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">QGArray&amp;<a name="a5"></a>QGArray::operator=(constQGArray&amp;a) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">void<a name="c1"></a>QGArray::resetRawData(constchar*d, uintlen) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">bool<a name="b1"></a>QGArray::resize(uintnewsize) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">bool<a name="c5"></a>QGArray::setExpand(uintindex, constchar*d, uintsz) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">QGArray&amp;<a name="c0"></a>QGArray::setRawData(constchar*d, uintlen) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">void<a name="b9"></a>QGArray::setSharedBlock(array_data*p) <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">array_data*<a name="b8"></a>QGArray::sharedBlock()const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">uint<a name="a9"></a>QGArray::size()const <code>[protected]</code></h3>
<p>For internal use only.
<h3 class="fn">void<a name="b7"></a>QGArray::store(constchar*d, uintlen) <code>[protected]</code></h3>
<p>For internal use only.
<hr><p>
Search the documentation, FAQ, qt-interest archive and more (uses 
<a href="http://www.troll.no">www.troll.no</a>):<br>
<form method=post action="http://www.troll.no/search.cgi">
<input type=hidden name="version" value="1.44"><nobr>
<input size="50" name="search"><input type=submit value="Search">
</nobr></form><hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>,
copyright &copy; 1995-99
<a href="troll.html">Troll Tech</a>, all rights reserved.
<p>
It was generated from the following files:
<ul>
<li>qgarray.h: 1998/08/19
<li>qgarray.cpp: 1998/07/03
</ul>
<p><address><hr><div align="center">
<table width="100%" cellspacing="0" border="0"><tr>
<td>Copyright  1999 Troll Tech<td><a href="trademarks.html">Trademarks</a>
<td align="right"><div align="right">Qt version 1.45</div>
</table></div></address></body></html>