QByteRef Class Reference

QByteRef Class Reference

#include <qbytearray.h>

Class Description

Definition at line 455 of file qbytearray.h.

Public Member Functions

 operator char () const
 
QByteRefoperator= (char c)
 
QByteRefoperator= (const QByteRef &c)
 
bool operator== (char c) const
 
bool operator!= (char c) const
 
bool operator> (char c) const
 
bool operator>= (char c) const
 
bool operator< (char c) const
 
bool operator<= (char c) const
 

Friends

class QByteArray
 

Member Function Documentation

operator char ( ) const
inline

Definition at line 466 of file qbytearray.h.

467  { return i < a.d->size ? a.d->data[i] : char(0); }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
QByteRef& operator= ( char  c)
inline

Definition at line 469 of file qbytearray.h.

470  { if (i >= a.d->size) a.expand(i); else a.detach();
471  a.d->data[i] = c; return *this; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
QByteRef& operator= ( const QByteRef c)
inline

Definition at line 472 of file qbytearray.h.

473  { if (i >= a.d->size) a.expand(i); else a.detach();
474  a.d->data[i] = c.a.d->data[c.i]; return *this; }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator== ( char  c) const
inline

Definition at line 475 of file qbytearray.h.

476  { return a.d->data[i] == c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator!= ( char  c) const
inline

Definition at line 477 of file qbytearray.h.

478  { return a.d->data[i] != c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator> ( char  c) const
inline

Definition at line 479 of file qbytearray.h.

480  { return a.d->data[i] > c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator>= ( char  c) const
inline

Definition at line 481 of file qbytearray.h.

482  { return a.d->data[i] >= c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator< ( char  c) const
inline

Definition at line 483 of file qbytearray.h.

484  { return a.d->data[i] < c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator<= ( char  c) const
inline

Definition at line 485 of file qbytearray.h.

486  { return a.d->data[i] <= c; }
const GLubyte * c
Definition: GLee.h:5419
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404

Friends And Related Function Documentation

friend class QByteArray
friend

Definition at line 460 of file qbytearray.h.


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