iflDictionary(3)

iflDictionary - implements a dictionary of named elements

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     iflDictionary - implements a dictionary of named elements

INHERITS FROM
     iflHashTable

HEADER FILE
     #include <ifl/iflDictionary.h>

CLASS DESCRIPTION
     iflDictionary is used to create a dictionary of named elements. It is
     derived from iflHashTable, and supplies appropriate hash function and key
     matching methods for name strings.  The elements of the dictionary must
     be, or be derived from, iflName.

CLASS MEMBER FUNCTION SUMMARY
     Constructor

          iflDictionary(int size=0, int caseSensitive=TRUE)

     Insert/find dictionary entries

          int insert(iflName* elem)
          iflName* find(const char* s, int insertIfNeeded=FALSE)


FUNCTION DESCRIPTIONS
     iflDictionary()

          iflDictionary(int size=0, int caseSensitive=TRUE)


          Creates an iflDictionary with initial capacity, size.  The default
          value of zero creates a table with 131 slots.  The name lookup can
          either be case-sensitive or case-insensitive, depending on whether
          caseSensitive it TRUE or FALSE, respectively.

     find()

          iflName* find(const char* s, int insertIfNeeded=FALSE)


          Tries to locate the element with name string s in the dictionary. If
          unsuccessful and if insertIfNeeded is TRUE then an element of type
          iflName, with name string s, is inserted into the dictionary, a
          value of NULL is returned otherwise.

     insert()

          int insert(iflName* elem)
          Returns TRUE if elem is successfully inserted into the dictionary;
          FALSE otherwise.

INHERITED MEMBER FUNCTIONS
   Inherited from iflHashTable
     clear(), find(), getFullFraction(), insert(), match(), next(), remove(),
     setFullFraction()

SEE ALSO
     iflHashTable, iflName