the_Foundation 1.0
|
Data Structures | |
struct | iHash |
struct | iHashNode |
Base class for nodes inserted into the hash. More... | |
struct | iHashReverseIterator |
struct | iHashReverseConstIterator |
Typedefs | |
typedef struct Impl_HashBucket | iHashBucket |
typedef uint32_t | iHashKey |
typedef void | iAnyNode |
Functions | |
iHash * | new_Hash (void) |
void | delete_Hash (iHash *) |
void | init_Hash (iHash *) |
void | deinit_Hash (iHash *) |
iBool | contains_Hash (const iHash *, iHashKey key) |
iHashNode * | value_Hash (const iHash *, iHashKey key) |
void | clear_Hash (iHash *) |
iHashNode * | insert_Hash (iHash *, iHashNode *node) |
iHashNode * | remove_Hash (iHash *, iHashKey key) |
Iterators | |
void | init_HashIterator (iHashIterator *, iHash *) |
void | next_HashIterator (iHashIterator *) |
void | init_HashReverseIterator (iHashReverseIterator *, iHash *) |
void | next_HashReverseIterator (iHashReverseIterator *) |
iHashNode * | remove_HashIterator (iHashIterator *d) |
void | init_HashConstIterator (iHashConstIterator *, const iHash *) |
void | next_HashConstIterator (iHashConstIterator *) |
void | init_HashReverseConstIterator (iHashReverseConstIterator *, const iHash *) |
void | next_HashReverseConstIterator (iHashReverseConstIterator *) |
Hash of unsorted unique integer keys.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
iHashNode * insert_Hash | ( | iHash * | , |
iHashNode * | node ) |
Inserts a node into the hash.
node | Node to be inserted. Ownership not taken. The key member must be set to a valid hash key. |