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

U_STABLE const UBreakIterator* U_EXPORT2 usearch_getBreakIterator ( const UStringSearch strsrch)

Returns the BreakIterator that is used to restrict the points at which matches are detected. This will be the same object that was passed to the constructor or to usearch_setBreakIterator. Note that NULL is a legal value; it means that break detection should not be attempted.

Parameters:
strsrchsearch iterator data struct
Returns:
break iterator used
See also:
usearch_setBreakIterator ICU 2.4

Definition at line 2951 of file usearch.cpp.

{
    if (strsrch) {
        return strsrch->search->breakIter;
    }
    return NULL;
}

Generated by  Doxygen 1.6.0   Back to index