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

SearchIterator::SearchIterator (  )  [protected]

Default constructor. Initializes data to the default values. ICU 2.0

Definition at line 343 of file search.cpp.

References FALSE, m_breakiterator_, m_search_, NULL, TRUE, and USEARCH_DONE.

{
    m_search_                     = (USearch *)uprv_malloc(sizeof(USearch));
    m_search_->breakIter          = NULL;
    m_search_->isOverlap          = FALSE;
    m_search_->isCanonicalMatch   = FALSE;
    m_search_->elementComparisonType = 0;
    m_search_->isForwardSearching = TRUE;
    m_search_->reset              = TRUE;
    m_search_->matchedIndex       = USEARCH_DONE;
    m_search_->matchedLength      = 0;
    m_search_->text               = NULL;
    m_search_->textLength         = 0;
    m_breakiterator_              = NULL;
}


Generated by  Doxygen 1.6.0   Back to index