Constructors
Declared in <bslstl_boyermoorehorspoolsearcher.h>
Create a searcher with the same state as the specified original.
BoyerMooreHorspoolSearcher(BoyerMooreHorspoolSearcher const& original);
» more...
Create a searcher by moving from the specified original.
BoyerMooreHorspoolSearcher(BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher> original) noexcept;
» more...
Create a searcher by moving from original using basicAllocator.
BoyerMooreHorspoolSearcher(
BloombergLP::bslmf::MovableRef<BoyerMooreHorspoolSearcher> original,
BloombergLP::bslma::Allocator* basicAllocator);
» more...
Create a searcher with the same state as original.
BoyerMooreHorspoolSearcher(
BoyerMooreHorspoolSearcher const& original,
BloombergLP::bslma::Allocator* basicAllocator);
» more...
Create a searcher for the needle [needleFirst, needleLast)].
BoyerMooreHorspoolSearcher(
RNDACC_ITR_NEEDLE needleFirst,
RNDACC_ITR_NEEDLE needleLast,
HASH hash = HASH(),
EQUAL equal = EQUAL(),
BloombergLP::bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| original | searcher whose state to copy |
| basicAllocator | memory allocator; null uses the default |
| needleFirst | beginning of the needle sequence |
| needleLast | end of the needle sequence |
| hash | hash functor used to compute mismatch skip distances |
| equal | equality comparison functor for hash and search |