Classes | Public Member Functions

QByteArrayMatcher Class Reference

Search for all occurrences

Detailed Description

Definition at line 55 of file qbytearraymatcher.h.

#include <qbytearraymatcher.h>

List of all members.

Classes

struct   Data

Public Member Functions

  QByteArrayMatcher ()
  QByteArrayMatcher (const QByteArray &pattern)
  QByteArrayMatcher (const char *pattern, int length)
  QByteArrayMatcher (const QByteArrayMatcher &other)
  ~QByteArrayMatcher ()
QByteArrayMatcher operator= (const QByteArrayMatcher &other)
void  setPattern (const QByteArray &pattern)
int  indexIn (const QByteArray &ba, int from=0) const
int  indexIn (const char *str, int len, int from=0) const
QByteArray  pattern () const

Constructor & Destructor Documentation

QByteArrayMatcher ( const QByteArray pattern ) [explicit]
QByteArrayMatcher ( const char *  pattern,
int  length 
) [explicit]
QByteArrayMatcher ( const QByteArrayMatcher other )

Member Function Documentation

QByteArrayMatcher& operator= ( const QByteArrayMatcher other )
void setPattern ( const QByteArray pattern )
int indexIn ( const QByteArray ba,
int  from = 0 
) const
int indexIn ( const char *  str,
int  len,
int  from = 0 
) const
QByteArray pattern ( ) const [inline]

Definition at line 70 of file qbytearraymatcher.h.

    {
        if (q_pattern.isNull())
            return QByteArray(reinterpret_cast<const char*>(p.p), p.l);
        return q_pattern;
    }

Member Data Documentation

uint dummy[256]

Definition at line 91 of file qbytearraymatcher.h.

Data p

Definition at line 92 of file qbytearraymatcher.h.


The documentation for this class was generated from the following file:

QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher
QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher QByteArrayMatcher