Qt 4.8
Public Functions | Properties | Static Private Attributes | List of all members
QThreadData::FlaggedDebugSignatures Class Reference

#include <qthread_p.h>

Public Functions

bool contains (const char *method) const
 
 FlaggedDebugSignatures ()
 
void store (const char *method)
 

Properties

uint idx
 
const char * locations [Count]
 

Static Private Attributes

static const uint Count = 2
 

Detailed Description

Definition at line 234 of file qthread_p.h.

Constructors and Destructors

◆ FlaggedDebugSignatures()

QThreadData::FlaggedDebugSignatures::FlaggedDebugSignatures ( )
inline

Definition at line 242 of file qthread_p.h.

242  : idx(0)
243  {
244  for (uint i = 0; i < Count; ++i)
245  locations[i] = 0;
246  }
unsigned int uint
Definition: qglobal.h:996
const char * locations[Count]
Definition: qthread_p.h:239

Functions

◆ contains()

bool QThreadData::FlaggedDebugSignatures::contains ( const char *  method) const
inline

Definition at line 251 of file qthread_p.h.

252  {
253  for (uint i = 0; i < Count; ++i)
254  if (locations[i] == method)
255  return true;
256  return false;
257  }
unsigned int uint
Definition: qglobal.h:996
const char * locations[Count]
Definition: qthread_p.h:239

◆ store()

void QThreadData::FlaggedDebugSignatures::store ( const char *  method)
inline

Definition at line 248 of file qthread_p.h.

Referenced by qFlagLocation().

249  { locations[idx++ % Count] = method; }
const char * locations[Count]
Definition: qthread_p.h:239

Properties

◆ Count

const uint QThreadData::FlaggedDebugSignatures::Count = 2
staticprivate

Definition at line 236 of file qthread_p.h.

◆ idx

uint QThreadData::FlaggedDebugSignatures::idx
private

Definition at line 238 of file qthread_p.h.

◆ locations

const char* QThreadData::FlaggedDebugSignatures::locations[Count]
private

Definition at line 239 of file qthread_p.h.


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