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

void SearchIterator::setMatchLength ( int32_t  length  )  [protected, virtual, inherited]

Sets the length of the currently matched string in the text string to be searched. Subclasses' handleNext and handlePrev methods should call this when they find a match in the target text.

Parameters:
length length of the matched text.
See also:
handleNext

handlePrev ICU 2.0

Definition at line 415 of file search.cpp.

References SearchIterator::m_search_.

Referenced by safeClone(), and SearchIterator::setMatchNotFound().

{
    m_search_->matchedLength = length;
}


Generated by  Doxygen 1.6.0   Back to index