diff options
Diffstat (limited to 'doc/html/tqasciidict.html')
-rw-r--r-- | doc/html/tqasciidict.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tqasciidict.html b/doc/html/tqasciidict.html index a7bcc7b5b..f017afb7b 100644 --- a/doc/html/tqasciidict.html +++ b/doc/html/tqasciidict.html @@ -37,7 +37,7 @@ body { background: #ffffff; color: black; } <p><a href="tqasciidict-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> -<li class=fn><a href="#TQAsciiDict"><b>TQAsciiDict</b></a> ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE )</li> +<li class=fn><a href="#TQAsciiDict"><b>TQAsciiDict</b></a> ( int size = 17, bool caseSensitive = true, bool copyKeys = true )</li> <li class=fn><a href="#TQAsciiDict-2"><b>TQAsciiDict</b></a> ( const TQAsciiDict<type> & dict )</li> <li class=fn><a href="#~TQAsciiDict"><b>~TQAsciiDict</b></a> ()</li> <li class=fn>TQAsciiDict<type> & <a href="#operator-eq"><b>operator=</b></a> ( const TQAsciiDict<type> & dict )</li> @@ -112,19 +112,19 @@ size, and how deletions are handled. <p> <p>See also <a href="tqasciidictiterator.html">TQAsciiDictIterator</a>, <a href="tqdict.html">TQDict</a>, <a href="tqintdict.html">TQIntDict</a>, <a href="tqptrdict.html">TQPtrDict</a>, <a href="collection.html">Collection Classes</a>, <a href="collection.html">Collection Classes</a>, and <a href="tools.html">Non-GUI Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQAsciiDict"></a>TQAsciiDict::TQAsciiDict ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE ) +<h3 class=fn><a name="TQAsciiDict"></a>TQAsciiDict::TQAsciiDict ( int size = 17, bool caseSensitive = true, bool copyKeys = true ) </h3> <p> Constructs a dictionary optimized for less than <em>size</em> entries. <p> We recommend setting <em>size</em> to a suitably large <a href="primes.html#prime">prime</a> number (a bit larger than the expected number of entries). This makes the hash distribution better and will improve lookup performance. -<p> When <em>caseSensitive</em> is TRUE (the default) TQAsciiDict treats -"abc" and "Abc" as different keys; when it is FALSE "abc" and +<p> When <em>caseSensitive</em> is true (the default) TQAsciiDict treats +"abc" and "Abc" as different keys; when it is false "abc" and "Abc" are the same. Case-insensitive comparison only considers the 26 letters in US-ASCII. -<p> If <em>copyKeys</em> is TRUE (the default), the dictionary copies keys -using strcpy(); if it is FALSE, the dictionary just copies the +<p> If <em>copyKeys</em> is true (the default), the dictionary copies keys +using strcpy(); if it is false, the dictionary just copies the pointers. <h3 class=fn><a name="TQAsciiDict-2"></a>TQAsciiDict::TQAsciiDict ( const <a href="tqasciidict.html">TQAsciiDict</a><type> & dict ) @@ -145,7 +145,7 @@ pointers are copied (shallow copy). <h3 class=fn>bool <a name="autoDelete"></a>TQPtrCollection::autoDelete () const </h3> -<p> Returns the setting of the auto-delete option. The default is FALSE. +<p> Returns the setting of the auto-delete option. The default is false. <p> <p>See also <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>(). <h3 class=fn>void <a name="clear"></a>TQAsciiDict::clear ()<tt> [virtual]</tt> @@ -188,8 +188,8 @@ item will be accessible using <a href="#operator[]">operator[]</a>(). <h3 class=fn>bool <a name="isEmpty"></a>TQAsciiDict::isEmpty () const </h3> -<p> Returns TRUE if the dictionary is empty, i.e. <a href="#count">count</a>() == 0; -otherwise it returns FALSE. +<p> Returns true if the dictionary is empty, i.e. <a href="#count">count</a>() == 0; +otherwise it returns false. <p> <p>See also <a href="#count">count</a>(). <h3 class=fn><a href="tqasciidict.html">TQAsciiDict</a><type> & <a name="operator-eq"></a>TQAsciiDict::operator= ( const <a href="tqasciidict.html">TQAsciiDict</a><type> & dict ) @@ -225,8 +225,8 @@ reference to the stream. </h3> <p> Removes the item associated with <em>key</em> from the dictionary. -Returns TRUE if successful, i.e. if the key existed in the -dictionary; otherwise returns FALSE. +Returns true if successful, i.e. if the key existed in the +dictionary; otherwise returns false. <p> If there are two or more items with equal keys, then the most recently inserted item will be removed. <p> The removed item is deleted if <a href="tqptrcollection.html#setAutoDelete">auto-deletion</a> is enabled. @@ -264,11 +264,11 @@ become invalid. </h3> <p> Sets the collection to auto-delete its contents if <em>enable</em> is -TRUE and to never delete them if <em>enable</em> is FALSE. +true and to never delete them if <em>enable</em> is false. <p> If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. -<p> The default setting is FALSE, for safety. If you turn it on, be +<p> The default setting is false, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items. <p> Note that the auto-delete setting may also affect other functions |