QByteArrayMatcher Class Reference

QByteArrayMatcher Class Reference

#include <qbytearraymatcher.h>

Class Description

Definition at line 55 of file qbytearraymatcher.h.

Public Member Functions

 QByteArrayMatcher ()
 
 QByteArrayMatcher (const QByteArray &pattern)
 
 QByteArrayMatcher (const char *pattern, int length)
 
 QByteArrayMatcher (const QByteArrayMatcher &other)
 
 ~QByteArrayMatcher ()
 
QByteArrayMatcheroperator= (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

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.

71  {
72  if (q_pattern.isNull())
73  return QByteArray(reinterpret_cast<const char*>(p.p), p.l);
74  return q_pattern;
75  }
GLfloat GLfloat p
Definition: GLee.h:5416
bool isNull() const

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: