• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/

Lines Matching refs:array

9 doesn't take more space than a C array {\it wxString[]} type (wxArrayString
14 string is added or inserted in the array, a copy of the string is created, so
23 array elements may be modified in place like this
26 array.Last().MakeUpper();
34 the array rarely (because, of course, you have to pay for Index() efficiency
36 not be used with sorted array (basically, all which break the order of items)
65 \func{}{wxArrayString}{\param{const wxArrayString\&}{ array}}
67 Copy constructor. Note that when an array is assigned to a sorted array, its contents is
72 Constructor from a C string array. Pass a size {\it sz} and array {\it arr}.
76 Constructor from a wxString array. Pass a size {\it sz} and array {\it arr}.
82 Destructor frees memory occupied by the array strings. For the performance
87 \func{wxArrayString \&}{operator $=$}{\param{const wxArrayString\&}{ array}}
93 \constfunc{bool}{operator $==$}{\param{const wxArrayString\&}{ array}}
100 \constfunc{bool}{operator $!=$}{\param{const wxArrayString\&}{ array}}
109 Return the array element at position {\it nIndex}. An assert failure will
110 result from an attempt to access an element beyond the end of array in debug
120 array and returns the index of the first new item in the array.
124 the item is inserted at the correct position to keep the array sorted and not
134 used to improve array class performance before adding a known number of items
137 See also: \helpref{Dynamic array memory management}{wxarraymemorymanagement}
143 Clears the array contents and frees memory.
151 Returns the number of items in the array. This function is deprecated and is
159 Empties the array: after a call to this function
161 function does not free the memory used by the array and so should be used when
162 the array is going to be reused for storing other strings. Otherwise, you
163 should use \helpref{Clear}{wxarraystringclear} to empty the array and free
170 Returns the number of items in the array.
176 Search the element in the array, starting from the beginning if
190 Insert the given number of {\it copies} of the new element in the array before the position {\it nIndex}. Thus, for
191 example, to insert the string in the beginning of the array you would write
208 Returns true if the array is empty, false otherwise. This function returns the
215 Return the array element at position {\it nIndex}. An assert failure will
216 result from an attempt to access an element beyond the end of array in debug
226 Returns the last element of the array. Attempt to access the last element of
227 an empty array will result in assert failure in debug build, however no checks
243 Removes {\it count} items starting at position {\it nIndex} from the array.
249 Releases the extra memory allocated by the array. This function is useful to
250 minimize the array memory consumption.
252 See also: \helpref{Alloc}{wxarraystringalloc}, \helpref{Dynamic array memory management}{wxarraymemorymanagement}
258 Sorts the array in alphabetical order or in reverse alphabetical order if
261 {\bf Warning:} this function should not be used with sorted array because it
267 Sorts the array using the specified {\it compareFunction} for item comparison.
285 wxArrayString array;
287 array.Add("one");
288 array.Add("two");
289 array.Add("three");
290 array.Add("four");
292 array.Sort(CompareStringLen);
295 {\bf Warning:} this function should not be used with sorted array because it