Logo Search packages:      
Sourcecode: icu version File versions  Download package

StringEnumeration * CompactTrieDictionary::openWords ( UErrorCode status  )  const [virtual]

Return a StringEnumeration for iterating all the words in the dictionary.

status A status code recording the success of the call.
A StringEnumeration that will iterate through the whole dictionary. The caller is responsible for closing it. The order is unspecified.

Implements TrieWordDictionary.

Definition at line 663 of file triedict.cpp.

References fData, NULL, and U_FAILURE.

    if (U_FAILURE(status)) {
        return NULL;
    return new CompactTrieEnumeration(fData, status);

Generated by  Doxygen 1.6.0   Back to index