Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QPatternist::ItemCacheCell Class Reference

Represents a cache entry for a single Item, as opposed to for a sequence of items. More...

#include <qcachecells_p.h>

Public Types

enum  CacheState { Full, Empty }
 
typedef QList< ItemCacheCellList
 
typedef QVector< ItemCacheCellVector
 

Public Functions

 ItemCacheCell ()
 

Public Variables

Item cachedItem
 
CacheState cacheState
 

Detailed Description

Represents a cache entry for a single Item, as opposed to for a sequence of items.

A characteristic of the ItemCacheCell is that it has two states: either its full or it's not, since it only deals with a single item.

Remember that cachedItem doesn't tell the state of the ItemCacheCell. For instance, it can have a null pointer, the empty sequence, and that can be the value of its cache.

Author
Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com

Definition at line 81 of file qcachecells_p.h.

Typedefs

◆ List

Definition at line 84 of file qcachecells_p.h.

◆ Vector

Definition at line 85 of file qcachecells_p.h.

Enumerations

◆ CacheState

Enumerator
Full 
Empty 

Definition at line 86 of file qcachecells_p.h.

Constructors and Destructors

◆ ItemCacheCell()

QPatternist::ItemCacheCell::ItemCacheCell ( )
inline

Definition at line 92 of file qcachecells_p.h.

Properties

◆ cachedItem

Item QPatternist::ItemCacheCell::cachedItem

◆ cacheState

CacheState QPatternist::ItemCacheCell::cacheState

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