QtCore/qbytearraymatcher.h Source File
Go to the documentation of this file.
42 #ifndef QBYTEARRAYMATCHER_H
43 #define QBYTEARRAYMATCHER_H
53 class QByteArrayMatcherPrivate;
59 explicit QByteArrayMatcher(
const QByteArray &pattern);
60 explicit QByteArrayMatcher(
const char *pattern,
int length);
61 QByteArrayMatcher(
const QByteArrayMatcher &other);
64 QByteArrayMatcher &
operator=(
const QByteArrayMatcher &other);
68 int indexIn(
const QByteArray &ba,
int from = 0)
const;
69 int indexIn(
const char *str,
int len,
int from = 0)
const;
72 if (q_pattern.isNull())
73 return QByteArray(reinterpret_cast<const char*>(
p.p),
p.l);
78 QByteArrayMatcherPrivate *d;
86 uchar q_skiptable[256];
103 #endif // QBYTEARRAYMATCHER_H
QByteArray pattern() const
#define QT_BEGIN_NAMESPACE
GLuint GLsizei GLsizei * length
QByteArray & operator=(const QByteArray &)