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.

Parameters:
status A status code recording the success of the call.
Returns:
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