class axl::sl::TextBoyerMooreFind

#include <axl_sl_BoyerMooreFind.h>

class TextBoyerMooreFind: public axl::sl::BoyerMooreFindBase
{
public:
    // enums

    enum Def;

    // methods

    bool
    setPattern(
        size_t badSkipTableSize,
        enc::CharCodec* codec,
        const void* p,
        size_t size,
        uint_t flags = 0
        );

    bool
    setPattern(
        size_t badSkipTableSize,
        enc::CharCodecKind codecKind,
        const void* p,
        size_t size,
        uint_t flags = 0
        );

    bool
    setPattern(
        enc::CharCodec* codec,
        const void* p,
        size_t size,
        uint_t flags = 0
        );

    bool
    setPattern(
        enc::CharCodecKind codecKind,
        const void* p,
        size_t size,
        uint_t flags = 0
        );

    bool
    setPattern(
        const sl::StringRef& pattern,
        uint_t flags = 0
        );

    size_t
    find(
        enc::CharCodec* codec,
        const void* p,
        size_t size
        );

    size_t
    find(
        enc::CharCodecKind codecKind,
        const void* p,
        size_t size
        );

    size_t
    find(const sl::StringRef& string);

    size_t
    find(
        IncrementalContext* incrementalContext,
        enc::CharCodec* codec,
        size_t offset,
        const void* p,
        size_t size
        );

    size_t
    find(
        IncrementalContext* incrementalContext,
        enc::CharCodecKind codecKind,
        size_t offset,
        const void* p,
        size_t size
        );

    size_t
    find(
        IncrementalContext* incrementalContext,
        size_t offset,
        const sl::StringRef& string
        );
};

Inherited Members

public:
    // typedefs

    typedef BoyerMooreIncrementalContext<T> IncrementalContext;

    // methods

    bool
    isEmpty();

    Array<T>
    getPattern();

    uint_t
    getFlags();

    void
    clear();